mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 10:39:39 -05:00
gnu: python-boto3: Update to 1.21.35.
* gnu/packages/python-xyz.scm (python-boto3): Update to 1.21.35. [arguments]: Override 'check phase.
This commit is contained in:
parent
9320410d76
commit
8a6c012deb
1 changed files with 7 additions and 3 deletions
|
@ -14671,7 +14671,7 @@ (define-public python-botocore-for-awscli
|
||||||
(define-public python-boto3
|
(define-public python-boto3
|
||||||
(package
|
(package
|
||||||
(name "python-boto3")
|
(name "python-boto3")
|
||||||
(version "1.19.11")
|
(version "1.21.35")
|
||||||
(home-page "https://github.com/boto/boto3")
|
(home-page "https://github.com/boto/boto3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -14679,14 +14679,18 @@ (define-public python-boto3
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1wv0ci2z5ywvm63dh4mp64vqyyvkm4qxc8dxv8ncrqiiphpgr9aq"))))
|
"1kdyf238rpfldnpzs0rdh3nhjn6hwfym4faskyhzlgzkf1smmbg1"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'delete-network-tests
|
(add-after 'unpack 'delete-network-tests
|
||||||
;; Deleting integration tests because they are trying to connect to AWS.
|
;; Deleting integration tests because they are trying to connect to AWS.
|
||||||
(lambda _
|
(lambda _
|
||||||
(delete-file-recursively "tests/integration"))))))
|
(delete-file-recursively "tests/integration")))
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-v")))))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-nose python-mock python-pytest))
|
(list python-nose python-mock python-pytest))
|
||||||
|
|
Loading…
Reference in a new issue