[MacPorts] #40134: matplotlib, tornado and setuptools (broken setup)
#40134: matplotlib, tornado and setuptools (broken setup) -------------------------------+-------------------------------- Reporter: andre.dos.anjos@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: py-matplotlib -------------------------------+-------------------------------- After upgrade to py27-matplotlib @1.3.0, I can't any longer "require" this package using `pkg_resources`/`setuptools`: {{{ $ python ...
import pkg_resources pkg_resources.require('matplotlib') pkg_resources.require('matplotlib') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 728, 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 626, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: tornado }}}
There seems to exist a unresolved dependence to py-tornado that was not brought in with the update. Strangely, just importing `matplotlib` works, but as soon as you try to "require" it through setuptools, it will break. Installing py*-tornado fixes the problem. To fix this problem one would need to add py*-tornado as a MacPort dependence to py*-matplotlib. -- Ticket URL: <https://trac.macports.org/ticket/40134> MacPorts <http://www.macports.org/> Ports system for OS X
#40134: matplotlib, tornado and setuptools (broken setup) --------------------------------+-------------------- Reporter: andre.dos.anjos@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-matplotlib | --------------------------------+-------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => sean@… -- Ticket URL: <https://trac.macports.org/ticket/40134#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40134: matplotlib, tornado and setuptools (broken setup) --------------------------------+-------------------- Reporter: andre.dos.anjos@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-matplotlib | --------------------------------+-------------------- Comment (by elieskhoury@…): Hello, We still have this problem. Any news? Thanks, Elie -- Ticket URL: <https://trac.macports.org/ticket/40134#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40134: matplotlib, tornado and setuptools (broken setup) --------------------------------+-------------------- Reporter: andre.dos.anjos@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: py-matplotlib | --------------------------------+-------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: I poked around and the webagg does require tornado. r113419. -- Ticket URL: <https://trac.macports.org/ticket/40134#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts