Package: podman-compose
Version: 1.3.0-1
Severity: important
Tags: patch upstream
Dear Maintainer,
upgrading from Debian 12 to Debian 13 broke a number of
docker-compose.yml files. Debugging the problem lead me to the following
upstream issue:
Environment Variable Default Not Working Correctly v1.3.0
https://github.com/containers/podman-compose/issues/1105
The bug was corrected in this PR:
https://github.com/containers/podman-compose/pull/1110
The actual patch consists in deleting a single line:
##################################################
--- /usr/lib/python3/dist-packages/podman_compose.py
+++ /usr/lib/python3/dist-packages/podman_compose.py
@@ -270,7 +270,6 @@
svc_envs = {k: v for k, v in value['environment'].items()
if k not in subs_dict}
# we need to add `svc_envs` to the `subs_dict` so that it
can evaluate the
# service environment that reference to another service
environment.
- subs_dict.update(svc_envs)
svc_envs = rec_subs(svc_envs, subs_dict)
subs_dict.update(svc_envs)
##################################################
After this change, everything works again.
Regards,
Antonio
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.85+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages podman-compose depends on:
ii python3 3.13.5-1
ii python3-dotenv 1.0.1-1
ii python3-yaml 6.0.2-1+b2
Versions of packages podman-compose recommends:
ii podman 5.4.2+ds1-2+b2
podman-compose suggests no packages.
-- no debconf information