Revert "gnu: python-requests-toolbelt: Use new style."
This breaks poetry so reverting.
This reverts commit c0ecad208e
.
parent
c0ecad208e
commit
d7fbdd2b16
|
@ -3768,20 +3768,19 @@ 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
|
(add-after 'unpack 'delete-problematic-tests
|
||||||
#~(modify-phases %standard-phases
|
(lambda _
|
||||||
(add-after 'unpack 'delete-problematic-tests
|
;; Fails because of expired certificate.
|
||||||
(lambda _
|
(delete-file "tests/test_x509_adapter.py")
|
||||||
;; Fails because of expired certificate.
|
;; Fails due to networking (socket.gaierror: [Errno -2]
|
||||||
(delete-file "tests/test_x509_adapter.py")
|
;; Name or service not known).
|
||||||
;; Fails due to networking (socket.gaierror: [Errno -2]
|
(delete-file "tests/test_multipart_encoder.py")
|
||||||
;; Name or service not known).
|
;; Those tests are not compatible with urllib3 2.0,
|
||||||
(delete-file "tests/test_multipart_encoder.py")
|
;; according to
|
||||||
;; Those tests are not compatible with urllib3 2.0,
|
;; https://github.com/requests/toolbelt/pull/356
|
||||||
;; according to
|
(delete-file "tests/test_sessions.py")
|
||||||
;; https://github.com/requests/toolbelt/pull/356
|
)))))
|
||||||
(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
|
||||||
|
|
Reference in New Issue