gnu: Update awscli, python-boto3 and python-botocore.

awscli, botocore and boto3 work together and typically require matching
versions.

* gnu/packages/python-xyz.scm (python-botocore): Update to 1.22.11.
(python-boto3): Update to 1.19.11.
[native-inputs]: Add python-pytest.
* gnu/packages/python-web.scm (awscli): Update to 1.21.11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Vinicius Monego 2021-11-05 01:58:34 +00:00 committed by Ludovic Courtès
parent 9660c2f158
commit 365260f4cd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 10 additions and 10 deletions

View file

@ -2876,14 +2876,14 @@ supports url redirection and retries, and also gzip and deflate decoding.")
(package (package
;; Note: updating awscli typically requires updating botocore as well. ;; Note: updating awscli typically requires updating botocore as well.
(name "awscli") (name "awscli")
(version "1.18.203") (version "1.21.11")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri name version)) (uri (pypi-uri name version))
(sha256 (sha256
(base32 (base32
"128zg24961j8nmnq2dxqg6a7zwh3qgv87cmvclsdqwwih9nigxv9")))) "0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
;; FIXME: The 'pypi' release does not contain tests. ;; FIXME: The 'pypi' release does not contain tests.

View file

@ -13731,14 +13731,14 @@ This software is unmaintained, and new projects should use @code{boto3} instead.
;; are compatible. ;; are compatible.
(package (package
(name "python-botocore") (name "python-botocore")
(version "1.19.22") (version "1.22.11")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "botocore" version)) (uri (pypi-uri "botocore" version))
(sha256 (sha256
(base32 (base32
"0iim86x7c6hqmvd61ygz6x6x9glnsfbnyzv2y67qjdcdx8jpkmw7")))) "1z7g2scyzvfq4yj9b4w911k7802ry1v6lqfnwq12l0ak7ywmsvrh"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
;; FIXME: Many tests are failing. ;; FIXME: Many tests are failing.
@ -13759,7 +13759,7 @@ interface to the Amazon Web Services (AWS) API.")
(define-public python-boto3 (define-public python-boto3
(package (package
(name "python-boto3") (name "python-boto3")
(version "1.16.22") (version "1.19.11")
(home-page "https://github.com/boto/boto3") (home-page "https://github.com/boto/boto3")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
@ -13767,19 +13767,19 @@ interface to the Amazon Web Services (AWS) API.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0h20hgl4yfl58g75qhb6ibrdmzn47md3srgar7hask14cjmfhfy3")))) "1wv0ci2z5ywvm63dh4mp64vqyyvkm4qxc8dxv8ncrqiiphpgr9aq"))))
(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"))))))
#t)))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("python-nose" ,python-nose) `(("python-nose" ,python-nose)
("python-mock" ,python-mock))) ("python-mock" ,python-mock)
("python-pytest" ,python-pytest)))
(propagated-inputs (propagated-inputs
`(("python-botocore" ,python-botocore) `(("python-botocore" ,python-botocore)
("python-jmespath" ,python-jmespath) ("python-jmespath" ,python-jmespath)