Archived
1
0
Fork 0

Revert "gnu: python-requests-toolbelt: Use new style."

This breaks poetry so reverting.

This reverts commit c0ecad208e.
This commit is contained in:
jgart 2024-07-13 09:45:38 -05:00
parent c0ecad208e
commit d7fbdd2b16
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -3768,9 +3768,7 @@ portions of your testing code.")
"1ijvip427ki177ycrblcn1mfgsq7ixzpvqqfvidjn0a7s2is10bn")))) "1ijvip427ki177ycrblcn1mfgsq7ixzpvqqfvidjn0a7s2is10bn"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
(list '(#:phases (modify-phases %standard-phases
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'delete-problematic-tests (add-after 'unpack 'delete-problematic-tests
(lambda _ (lambda _
;; Fails because of expired certificate. ;; Fails because of expired certificate.
@ -3781,7 +3779,8 @@ portions of your testing code.")
;; Those tests are not compatible with urllib3 2.0, ;; Those tests are not compatible with urllib3 2.0,
;; according to ;; according to
;; https://github.com/requests/toolbelt/pull/356 ;; https://github.com/requests/toolbelt/pull/356
(delete-file "tests/test_sessions.py")))))) (delete-file "tests/test_sessions.py")
)))))
(native-inputs (native-inputs
(list python-betamax python-pyopenssl python-pytest python-trustme)) (list python-betamax python-pyopenssl python-pytest python-trustme))
(propagated-inputs (propagated-inputs