[MacPorts] #52599: Current versions of py27-flake8 and py27-pyflakes are not compatible

MacPorts noreply at macports.org
Thu Oct 13 05:59:19 CEST 2016


#52599: Current versions of py27-flake8 and py27-pyflakes are not compatible
--------------------+--------------------------------
 Reporter:  mh@…    |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:
--------------------+--------------------------------
 The current py27-flake8 version is 2.6.0_0. The current py27-pyflakes
 version is 1.3.0_0. But flake8 requires a version < 1.3.

 Updating pyflakes to 3.0.4 (current release as of when I am writing this
 ticket) does not help as it still requires < 1.3. I requested a new
 release of flake8 because it is already fixed in the repository.

 An alternative solution could be to pin pyflakes to 1.2.3 if this is still
 possible after 1.3 slipped into the port file.

 This issue is similar to #51659.

 Traceback:
 {{{
 Traceback (most recent call last):
   File "/opt/local/bin/flake8", line 5, in <module>
     from pkg_resources import load_entry_point
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2928, in <module>
     @_call_aside
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2914, in _call_aside
     f(*args, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2941, in
 _initialize_master_working_set
     working_set = WorkingSet._build_master()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 637, in _build_master
     return cls._build_from_requirements(__requires__)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 650, in
 _build_from_requirements
     dists = ws.resolve(reqs, Environment())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 829, in resolve
     raise DistributionNotFound(req, requirers)
 pkg_resources.DistributionNotFound: The
 'pyflakes!=1.2.0,!=1.2.1,!=1.2.2,<1.3,>=0.8.1' distribution was not found
 and is required by flake8
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/52599>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list