mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: python-requests-toolbelt: Use new style.
* gnu/packages/python-xyz.scm (python-requests-toolbelt) [arguments]: Use new style. Change-Id: Ifbb305babeff37a34ca8789c3a08e0363e8583bf
This commit is contained in:
parent
ddb22a10e0
commit
c0ecad208e
1 changed files with 14 additions and 13 deletions
|
@ -3768,19 +3768,20 @@ (define-public python-requests-toolbelt
|
|||
"1ijvip427ki177ycrblcn1mfgsq7ixzpvqqfvidjn0a7s2is10bn"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#: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")
|
||||
)))))
|
||||
(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"))))))
|
||||
(native-inputs
|
||||
(list python-betamax python-pyopenssl python-pytest python-trustme))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue