docker-compose 1.17.1-1 requires python-backports.ssl-match-hostname>=3.5

Bug #1743606 reported by Steven "Kreuvf" Koenig
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
docker-compose (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to run docker-compose from the 1.17.1-1 package from Bionic (https://launchpad.net/ubuntu/+archive/primary/+files/docker-compose_1.17.1-1_all.deb) under Xenial (I know, stupid idea; was just trying...) the following traceback is generated suggesting that python-backports.ssl-match-hostname>=3.5 (and not just python-backports.ssl-match-hostname) is required:
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'backports.ssl_match_hostname>=3.5' distribution was not found and is required by docker-compose

The .deb installed just fine, so IMHO the dependencies need to be fixed.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This bug was fixed in the package docker-compose - 1.21.0-3

---------------
docker-compose (1.21.0-3) unstable; urgency=medium

  * Add dependency on python3-distutils.
    While part of stdlib, it is split in the Debian packaging.

 -- Felipe Sateler <email address hidden> Wed, 03 Oct 2018 14:55:03 -0300

docker-compose (1.21.0-2) unstable; urgency=medium

  [ Jason Pleau ]
  * Update Vcs-* fields to point to docker-compose-team group

  [ Felipe Sateler ]
  * Set team email as maintainer
  * Switch to using python3 instead of python2.
    Also removes the need for the ssl-match-hostname backport.
    (Closes: #909974)
  * Upload to unstable

 -- Felipe Sateler <email address hidden> Tue, 02 Oct 2018 16:49:34 -0300

docker-compose (1.21.0-1) experimental; urgency=medium

  [ Jason Pleau ]
  * New upstream release
  * Refresh patches
  * Bump Build-Dependencies
  * Add myself to Uploaders
  * Bump Standards-Version to 4.1.4
  * refresh Relax-dependencies.patch
  * Bump python-docker B-D to 3.2.1
  * add docker_compose.egg-info/* to debian/clean

 -- Felipe Sateler <email address hidden> Tue, 17 Apr 2018 20:02:23 -0300

Changed in docker-compose (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.