diff options
author | jgart <jgart@dismail.de> | 2024-07-13 09:45:38 -0500 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-07-13 09:45:38 -0500 |
commit | d7fbdd2b162f13f8d039944406b53986d1815b69 (patch) | |
tree | fb8606df40cfc648c17d0480a15e53c951fc4865 | |
parent | c0ecad208e305b6cd73a4ab0879e3407b879e1f9 (diff) | |
download | guix-d7fbdd2b162f13f8d039944406b53986d1815b69.tar.gz guix-d7fbdd2b162f13f8d039944406b53986d1815b69.zip |
Revert "gnu: python-requests-toolbelt: Use new style."
This breaks poetry so reverting.
This reverts commit c0ecad208e305b6cd73a4ab0879e3407b879e1f9.
-rw-r--r-- | gnu/packages/python-web.scm | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1067f800e0..62e92fc9a7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3768,20 +3768,19 @@ portions of your testing code.") "1ijvip427ki177ycrblcn1mfgsq7ixzpvqqfvidjn0a7s2is10bn")))) (build-system python-build-system) (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'delete-problematic-tests - (lambda _ - ;; Fails because of expired certificate. - (delete-file "tests/test_x509_adapter.py") - ;; Fails due to networking (socket.gaierror: [Errno -2] - ;; Name or service not known). - (delete-file "tests/test_multipart_encoder.py") - ;; Those tests are not compatible with urllib3 2.0, - ;; according to - ;; https://github.com/requests/toolbelt/pull/356 - (delete-file "tests/test_sessions.py")))))) + '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'delete-problematic-tests + (lambda _ + ;; Fails because of expired certificate. + (delete-file "tests/test_x509_adapter.py") + ;; Fails due to networking (socket.gaierror: [Errno -2] + ;; Name or service not known). + (delete-file "tests/test_multipart_encoder.py") + ;; Those tests are not compatible with urllib3 2.0, + ;; according to + ;; https://github.com/requests/toolbelt/pull/356 + (delete-file "tests/test_sessions.py") + ))))) (native-inputs (list python-betamax python-pyopenssl python-pytest python-trustme)) (propagated-inputs |