Package: docker-compose
Version: 1.29.2-6.1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: edom...@gmail.com

Hi, I just update docker-compose package and now when you try to run it it
throws:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts',
'docker-compose')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/docker-compose", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 16, in
<module>
    from . import errors
  File "/usr/lib/python3/dist-packages/compose/cli/errors.py", line 13, in
<module>
    from ..const import API_VERSION_TO_ENGINE_VERSION
  File "/usr/lib/python3/dist-packages/compose/const.py", line 32, in <module>
    API_VERSIONS = {
                   ^
  File "/usr/lib/python3/dist-packages/compose/version.py", line 7, in __hash__
    return hash(self.vstring)
                ^^^^^^^^^^^^
AttributeError: 'ComposeVersion' object has no attribute 'vstring'



Downgrading to previous version fixes the problem.

Thanks
Ernesto


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.8-amd64 (SMP w/8 CPU threads; PREEMPT)
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 docker-compose depends on:
ii  python3            3.12.3-1
ii  python3-compose    1.29.2-6.1
ii  python3-packaging  24.1-1

Versions of packages docker-compose recommends:
ii  docker.io  20.10.25+dfsg1-3

docker-compose suggests no packages.

-- no debconf information

Reply via email to