mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-s3transfer: Update to 0.5.0.
* gnu/packages/python-web.scm (python-s3transfer): Update to 0.5.0. [arguments]: Remove 'patch phase; remove trailing #t from 'check phase.
This commit is contained in:
parent
84f39130a5
commit
931fee88a9
1 changed files with 3 additions and 13 deletions
|
@ -3356,32 +3356,22 @@ Betamax that may possibly end up in the main package.")
|
||||||
(define-public python-s3transfer
|
(define-public python-s3transfer
|
||||||
(package
|
(package
|
||||||
(name "python-s3transfer")
|
(name "python-s3transfer")
|
||||||
(version "0.3.3")
|
(version "0.5.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "s3transfer" version))
|
(uri (pypi-uri "s3transfer" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nzp5kwmy9669334shcz9ipg89jgpdqhrmbkgdg18r7wmvi3f6lj"))))
|
"0k6sc956yrrv9b4laa0r79jhxajpyxr21jcd1ka8m1n53lz85vah"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch
|
|
||||||
(lambda _
|
|
||||||
;; There's a small issue with one test with Python 3.8, this
|
|
||||||
;; change has been suggested upstream:
|
|
||||||
;; https://github.com/boto/s3transfer/pull/164
|
|
||||||
(substitute* "tests/unit/test_s3transfer.py"
|
|
||||||
(("super\\(FailedDownloadParts, self\\)\\.submit\\(function\\)")
|
|
||||||
"futures.Future()"))
|
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Some of the 'integration' tests require network access or
|
;; Some of the 'integration' tests require network access or
|
||||||
;; login credentials.
|
;; login credentials.
|
||||||
(invoke "nosetests" "--exclude=integration")
|
(invoke "nosetests" "--exclude=integration"))))))
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-docutils" ,python-docutils)
|
`(("python-docutils" ,python-docutils)
|
||||||
("python-mock" ,python-mock)
|
("python-mock" ,python-mock)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue