[MacPorts] #39452: py27 conflict: nosetests, setuptools or distribute

MacPorts noreply at macports.org
Mon Jun 17 11:08:28 PDT 2013


#39452: py27 conflict: nosetests, setuptools or distribute
------------------------+--------------------------------
 Reporter:  eijkhout@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.1.3
 Keywords:              |       Port:  py27-nosetests
------------------------+--------------------------------
 I have a python file that processes fine, but nosetests-2.7 has started
 misbehaving since I last updated my ports.

 This seems to come from pretty deep:


 {{{
 Traceback (most recent call last):
   File "/opt/local/bin/nosetests-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/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2825,
 in <module>
     add_activation_listener(lambda dist: dist.activate())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 710, in
 subscribe
     callback(dist)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2825,
 in <lambda>
     add_activation_listener(lambda dist: dist.activate())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2257,
 in activate
     self.insert_on(path)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2358,
 in insert_on
     "with distribute. Found one at %s" % str(self.location))
 ValueError: A 0.7-series setuptools cannot be installed with distribute.
 Found one at
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages
 }}}

 I found the following link, which is thoroughly uninformative to me:

 https://bitbucket.org/sybren/python-rsa/issue/15/source-dist-fails-to-
 install-on-setuptools

 Victor.

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


More information about the macports-tickets mailing list