guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ec9fd2980f93f3193419c8b88ae1574c3c632604
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 27 19:32:35 2025 +0000

    gnu: python-dockerpty: Fix build.
    
    * gnu/packages/docker.scm (python-dockerpty):
    [build-system]: Switch to pyproject-build-system.
    [arguments] <tests?>: Disable for now.
    [native-inputs]: Add python-setuptools.
    
    Fixes: guix/guix#5164
    Change-Id: Ib8e1cb4658f28706b210c940f5fa6a08642a4874
---
 gnu/packages/docker.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index 207b9deb57..7d44ec1010 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -264,6 +264,9 @@ management tool.")
      (modify-inputs (package-propagated-inputs python-docker)
        (prepend python-docker-pycreds python-urllib3-1.26)))))
 
+;; Needed for old v1 of docker-compose; remove once Docker is updated to a
+;; more recent version which has the command "docker compose" built-in, see:
+;; <https://codeberg.org/guix/guix/milestone/30347>.
 (define-public python-dockerpty
   (package
     (name "python-dockerpty")
@@ -275,9 +278,11 @@ management tool.")
        (sha256
         (base32
          "1kjn64wx23jmr8dcc6g7bwlmrhfmxr77gh6iphqsl39sayfxdab9"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f)) ; XXX: Requires outdated python-expects
     (native-inputs
-     (list python-six))
+     (list python-setuptools python-six))
     (home-page "https://github.com/d11wtq/dockerpty";)
     (synopsis "Python library to use the pseudo-TTY of a Docker container")
     (description "Docker PTY provides the functionality needed to operate the

Reply via email to