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

MacPorts noreply at macports.org
Fri Jun 17 09:38:44 PDT 2016


#51659: 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.5.4_0.
 The current py27-pyflakes version is 1.2.3_0.
 But flake8 requires a version < 1.2.

 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 2927, in <module>
     @_call_aside
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py", line 2913, 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 2940, 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.8.1'
 distribution was not found and is required by flake8
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51659>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list