docker-compose should depend on python3 not python2

Bug #1721429 reported by Scott Palmer
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
docker-compose (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Also see:
https://github.com/docker/compose/issues/219
https://github.com/docker/compose/pull/440

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: docker-compose (not installed)
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 4 19:33:55 2017
InstallationDate: Installed on 2017-10-03 (1 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
SourcePackage: docker-compose
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Palmer (skewty) wrote :
tags: removed: wayland-session
tags: added: packaging
Revision history for this message
Scott Palmer (skewty) wrote :

It would be great if the changes could also be upstreamed to:

https://github.com/docker/docker-ce

So that the people using the Docker website instructions and repository also don't need to pull down python2 as a dependency.

The no python2 by default effort for 16.04 seems to have lost most of its momentum. Is this no longer a priority for Canonical for Ubuntu? While the 16.04 goal has long since passed, there is another opportunity to clean up the repos for 18.04.

Mathew Hodson (mhodson)
Changed in docker-compose (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in docker-compose (Ubuntu):
status: New → Confirmed
Revision history for this message
Trev Peterson (trev-advanced-reality) wrote :

seems crazy to install the full python2 stack to just get docker-compose. As a workaround I installed python3-pip and installed docker-compose through pip.

Jeremy Bícha (jbicha)
tags: added: py2-removal
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: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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