gnu: python-docker: Update to 7.0.0.

* gnu/packages/docker.scm (python-docker): Update to 7.0.0.
[native-inputs]: Add python-setuptools-scm.
[propagated-inputs]: Add python-packaging.

Change-Id: I1c23575836689e9bcdbcea22ea9d84520b0353a0
This commit is contained in:
Arun Isaac 2024-02-26 19:27:10 +00:00
parent 5cf8904acf
commit d084fb4b04
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -8,6 +8,7 @@
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com> ;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
;;; Copyright © 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2024 Arun Isaac <arunisaac@systemreboot.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -47,6 +48,7 @@ (define-module (gnu packages docker)
#:use-module (gnu packages networking) #:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto) #:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web) #:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
@ -60,22 +62,24 @@ (define %docker-version "20.10.27")
(define-public python-docker (define-public python-docker
(package (package
(name "python-docker") (name "python-docker")
(version "5.0.3") (version "7.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "docker" version)) (uri (pypi-uri "docker" version))
(sha256 (sha256
(base32 (base32
"1yr7w8vmdis01myx26pqx7wcyz2cy1mfs421alppq3lpc9ms45nr")))) "18z5wzqm7dbxaa5q4gs8yh2dma8i7savqcvibvy1i56djbxkcdrj"))))
(build-system python-build-system) (build-system python-build-system)
;; TODO: Tests require a running Docker daemon. ;; TODO: Tests require a running Docker daemon.
(arguments '(#:tests? #f)) (arguments '(#:tests? #f))
(inputs (inputs
(list python-requests python-six python-urllib3)) (list python-requests python-six python-urllib3))
(native-inputs
(list python-setuptools-scm))
(propagated-inputs (propagated-inputs
(list python-docker-pycreds python-paramiko ;adds SSH support (list python-docker-pycreds python-paramiko ;adds SSH support
python-websocket-client)) python-packaging python-websocket-client))
(home-page "https://github.com/docker/docker-py/") (home-page "https://github.com/docker/docker-py/")
(synopsis "Python client for Docker") (synopsis "Python client for Docker")
(description "Docker-Py is a Python client for the Docker container (description "Docker-Py is a Python client for the Docker container