[MacPorts] #40723: py27-pytest does not install py27-py

MacPorts noreply at macports.org
Thu Oct 10 00:18:58 PDT 2013


#40723: py27-pytest does not install py27-py
----------------------------+--------------------------------
 Reporter:  calvin.giles@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.2.0
 Keywords:  py27-py         |       Port:  py27-pytest
----------------------------+--------------------------------
 pytest has a hard dependency on py. After running

 sudo port install py27-pytest

 and running py.test, the following error is seen:

 Traceback (most recent call last):
   File "/opt/local/bin/py.test-2.7", 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.py", line 2793, in <module>
     working_set.require(__requires__)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 673, in require
     needed = self.resolve(parse_requirements(requirements))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 576, in resolve
     raise DistributionNotFound(req)
 pkg_resources.DistributionNotFound: py>=1.4.12

 This can be solved by running sudo port install py27-py.



 py27-py should be a dependency of py27-pytest.

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


More information about the macports-tickets mailing list