gnu: docker-compose: Fix build.

python-pyyaml-5 does not build and is needed for docker-compose.  This is
a stopgap until docker can be updated to the modern Go version, which
includes "docker compose".

* gnu/packages/docker.scm (docker-compose)[arguments]: Add phase fix-pyyaml
to relax python-pyyaml requirement.
[inputs]: Replace python-pyyaml-5 with python-pyyaml.

Change-Id: I7410f8b5a8f308aeaae5793399dbfc5eef0e1822
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
John Kehayias 2025-08-08 23:09:14 -04:00 committed by Andreas Enge
parent 42d7a9ddf9
commit 3eb1ceac58
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -139,7 +139,16 @@ client.")
"1dq9kfak61xx7chjrzmkvbw9mvj9008k7g8q7mwi4x133p9dk32c"))))
(build-system python-build-system)
;; TODO: Tests require running Docker daemon.
(arguments '(#:tests? #f))
(arguments
(list
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-pyyaml
(lambda _
(substitute* "setup.py"
((", < 6")
"")))))))
(inputs
(list python-cached-property
python-distro
@ -148,7 +157,7 @@ client.")
python-docopt
python-dotenv
python-jsonschema-3
python-pyyaml-5
python-pyyaml
python-requests
python-six
python-texttable