Bug 221744 - sysutils/docker-compose: Broken due to invalid version check for textproc/py-texttable
Summary: sysutils/docker-compose: Broken due to invalid version check for textproc/py-...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nikolai Lifanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 15:45 UTC by Bernhard Froehlich
Modified: 2017-08-23 16:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Froehlich freebsd_committer freebsd_triage 2017-08-23 15:45:54 UTC
Due to the recent update of textproc/py-texttable a dependency version check
in docker-compose fails. Fedora faced the same issue (as well as quite a few
others) and decided to relax the version check (remove upper limit) successfully.

Upstream intention seems to be to avoid API incompatibilities which do not seem
to be the case with texttable 0.9. Time will tell when it comes to 0.10.


Please read:
https://github.com/docker/compose/issues/4848
https://bugzilla.redhat.com/show_bug.cgi?id=1452999


# docker-compose pull
Traceback (most recent call last):
  File "/usr/local/bin/docker-compose", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3038, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 659, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 672, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'texttable<0.9,>=0.8.1' distribution was not found and is required by docker-compose
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-08-23 16:45:21 UTC
A commit references this bug:

Author: lifanov
Date: Wed Aug 23 16:44:23 UTC 2017
New revision: 448629
URL: https://svnweb.freebsd.org/changeset/ports/448629

Log:
  fix sysutils/docker-compose by relaxing requirements

  Make setup.py satisfiable by API-compatible versions
  we have in ports.

  References:
  https://github.com/docker/compose/issues/4848
  https://bugzilla.redhat.com/show_bug.cgi?id=1452999

  PR:		221744
  Reported by:	decke

Changes:
  head/sysutils/docker-compose/Makefile
  head/sysutils/docker-compose/files/
  head/sysutils/docker-compose/files/patch-setup.py
Comment 2 Nikolai Lifanov freebsd_committer freebsd_triage 2017-08-23 16:45:51 UTC
Fixed, thank you for the report!