GNU bug report logs - #74580
[PATCH 00/14] [python-team]

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 28 Nov 2024 07:48:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 74580 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 74580 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 01/14] gnu: python-prawcore: Update to 2.4.0.
Date: Thu, 28 Nov 2024 08:52:13 +0100
* gnu/packages/python-web.scm (python-prawcore): Update to 2.4.0.
[source]<origin>: Fetch from git to download tests.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
[native-inputs]: Add python-flit-core.
---
 gnu/packages/python-web.scm | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 677f304e0c..422dc7e39d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -347,18 +347,31 @@ (define-public python-portend
 (define-public python-prawcore
   (package
     (name "python-prawcore")
-    (version "2.3.0")
+    (version "2.4.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "prawcore" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/praw-dev/prawcore")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0vgmhjddqxnz5vy70dyqvakak51fg1nk6j3xavkc83d8nzacrwfs"))))
-    (build-system python-build-system)
+        (base32 "1y7gh7kk002b2h1ppkr1llb2gjfnby28zvx11j4ji0wm3r3rjh5l"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; XXX: These tests fail with an incomplete request response.
+     (list #:test-flags
+           #~'("-k" #$(string-append
+                       "not test_revoke__access_token_with_refresh_set"
+                       " and not test_revoke__access_token_without_refresh_set"
+                       " and not test_revoke__refresh_token_with_access_set"
+                       " and not test_refresh__with_scopes"
+                       " and not test_request__patch"))))
     (native-inputs
      (list python-betamax
            python-betamax-matchers
            python-betamax-serializers
+           python-flit-core
            python-mock
            python-pytest
            python-testfixtures))
-- 
2.46.0





This bug report was last modified 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.