[MacPorts] #39452: py27 conflict: nosetests, setuptools or distribute
#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
#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 Resolution: | Keywords: Port: py27-nosetests | -----------------------------+-------------------------------- Comment (by katzlbt@…): This helped me to get the py27 system online again ... sudo port deactivate setuptools -- Ticket URL: <https://trac.macports.org/ticket/39452#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39452: py27 conflict: nosetests, setuptools or distribute -------------------------+----------------------- Reporter: eijkhout@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-nose | -------------------------+----------------------- Changes (by macsforever2000@…): * cc: mcalhoun@… (added) * owner: macports-tickets@… => akitada@… * port: py27-nosetests => py-nose Comment: There is no port called "py27-nosetests". I'm assuming py27-nose. In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/39452#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39452: py27 conflict: nosetests, setuptools or distribute -------------------------+----------------------- Reporter: eijkhout@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-nose | -------------------------+----------------------- Comment (by jmr@…): Where did `/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py` come from? Check with: {{{ port provides /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py }}} The pkg_resources module should be provided by setuptools, and having an old version of distribute around as well is probably bad. (Distribute recently re-merged with setuptools upstream.) -- Ticket URL: <https://trac.macports.org/ticket/39452#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39452: py27 conflict: nosetests, setuptools or distribute -------------------------+----------------------- Reporter: eijkhout@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-nose | -------------------------+----------------------- Comment (by Peter.Danecek@…): I would assume this was related to the change for `distribute` to `setuptools` at the time of the merge of the two projects and is probably not relevant anymore. Summary: close! -- Ticket URL: <https://trac.macports.org/ticket/39452#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39452: py27 conflict: nosetests, setuptools or distribute -------------------------+----------------------- Reporter: eijkhout@… | Owner: akitada@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: py-nose | -------------------------+----------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme Comment: Also no response from reporter. -- Ticket URL: <https://trac.macports.org/ticket/39452#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts