summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-08-04 10:57:27 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:30 +0100
commitae00ced550b08172a480747f5b5dc1146584f2a8 (patch)
treeac9383e1cf866876b1089ec525ebe36ae0e22cb3 /gnu/packages/python-web.scm
parent6ccb309f39db873392cf53f7aaf2e6062676083e (diff)
gnu: python-prawcore: Update to 4.0.0.
* gnu/packages/python-web.scm (python-prawcore): Update to 4.0.0. [arguments]{test-flags}: Refresh them. [native-inputs]: Add nss-certs-for-test, python-vcrpy. Replace python-flit-core by python-hatchling. Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm23
1 files changed, 10 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 225f3016b99..6851fe9dd8c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2536,7 +2536,7 @@ the command line.")
2536(define-public python-prawcore 2536(define-public python-prawcore
2537 (package 2537 (package
2538 (name "python-prawcore") 2538 (name "python-prawcore")
2539 (version "2.4.0") 2539 (version "4.0.0")
2540 (source 2540 (source
2541 (origin 2541 (origin
2542 (method git-fetch) 2542 (method git-fetch)
@@ -2545,25 +2545,22 @@ the command line.")
2545 (commit (string-append "v" version)))) 2545 (commit (string-append "v" version))))
2546 (file-name (git-file-name name version)) 2546 (file-name (git-file-name name version))
2547 (sha256 2547 (sha256
2548 (base32 "1y7gh7kk002b2h1ppkr1llb2gjfnby28zvx11j4ji0wm3r3rjh5l")))) 2548 (base32 "1kqqv1n9bibxfgagbyd8vl0yzrd4lr58xl59swz5v70w0kfap5fm"))))
2549 (build-system pyproject-build-system) 2549 (build-system pyproject-build-system)
2550 (arguments 2550 (arguments
2551 ;; XXX: These tests fail with an incomplete request response. 2551 (list
2552 (list #:test-flags 2552 ;; This test fails with a str rather than a bytes-like object.
2553 #~'("-k" #$(string-append 2553 #:test-flags #~(list "-k" "not test_request__service_unavailable")))
2554 "not test_revoke__access_token_with_refresh_set"
2555 " and not test_revoke__access_token_without_refresh_set"
2556 " and not test_revoke__refresh_token_with_access_set"
2557 " and not test_refresh__with_scopes"
2558 " and not test_request__patch"))))
2559 (native-inputs 2554 (native-inputs
2560 (list python-betamax 2555 (list nss-certs-for-test
2556 python-betamax
2561 python-betamax-matchers 2557 python-betamax-matchers
2562 python-betamax-serializers 2558 python-betamax-serializers
2563 python-flit-core 2559 python-hatchling
2564 python-mock 2560 python-mock
2565 python-pytest 2561 python-pytest
2566 python-testfixtures)) 2562 python-testfixtures
2563 python-vcrpy))
2567 (propagated-inputs 2564 (propagated-inputs
2568 (list python-requests)) 2565 (list python-requests))
2569 (synopsis "Core component of PRAW") 2566 (synopsis "Core component of PRAW")