[MacPorts] #36930: Update matplotlib to 1.2 and add Python 3.x ports
#36930: Update matplotlib to 1.2 and add Python 3.x ports --------------------------+--------------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: py-matplotlib --------------------------+--------------------------- Matplotlib 1.2 is now out (http://matplotlib.org/) and supports Python 3.x, so would it be possible to update the port, and add Python 3.1 and 3.2 ports? -- Ticket URL: <https://trac.macports.org/ticket/36930> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Changes (by ram@…): * status: new => assigned Comment: I'll and try to get round to this over the weekend. -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by ram@…): I updated to version 1.2.0 in r99786, at the moment some of the dependencies are missing for python3. I'll work on adding these then get python3 variants added. -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by Deil.Christoph@…): I get pop-up windows during the matplotlib build phase. Is that normal? -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by Deil.Christoph@…): I see two test errors with Python 2.7 on Mac OS X 10.8: {{{ $ nosetests -exe matplotlib ..........E.................................E........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................./opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/axes.py:1383: DeprecationWarning: use ax.patch instead warnings.warn('use ax.patch instead', DeprecationWarning) ......................................................................./opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/gridspec.py:298: UserWarning: This figure includes Axes that are not compatible with tight_layout, so its results might be incorrect. warnings.warn("This figure includes Axes that are not " ................................. ====================================================================== ERROR: matplotlib.tests.test_basic.test_simple_knownfail ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/testing/decorators.py", line 47, in failer raise KnownFailureTest(msg) # An error here when running nose means that you don't have the matplotlib.testing.noseclasses:KnownFailure plugin in use. KnownFailureTest: Test known to fail ====================================================================== ERROR: matplotlib.tests.test_dates.test_empty_date_with_year_formatter.test ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/testing/decorators.py", line 72, in test self._func() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/matplotlib/testing/decorators.py", line 47, in failer raise KnownFailureTest(msg) # An error here when running nose means that you don't have the matplotlib.testing.noseclasses:KnownFailure plugin in use. KnownFailureTest: Test known to fail ---------------------------------------------------------------------- Ran 1054 tests in 292.678s FAILED (errors=2) }}} -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by ram@…): Replying to [comment:5 Deil.Christoph@…]:
I get pop-up windows during the matplotlib build phase. Is that normal?
I don't get any pop-up windows but several python and X threads are spawned which may cause X to launch? -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by ram@…): Replying to [comment:6 Deil.Christoph@…]:
I see two test errors with Python 2.7 on Mac OS X 10.8:
I see a lot of these `KnownFailureTest` failures as well, I would expect these to fail silently. I'm in the process of clarifying with upstream. -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by ram@…): I've heard from upstream and it turns out the using the command: {{{ nosetests -exe matplotlib }}} isn't the correct way of running the tests, as `matplotlib` has `nose` extensions that running them using the above doesn't load the extensions hence the errors. If you run: {{{ python -c "import matplotlib; matplotlib.test()" }}} then I expect the testsuite will pass. -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+---------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-matplotlib | ----------------------------+---------------------- Comment (by Deil.Christoph@…): Yes, with `python -c "import matplotlib; matplotlib.test()"` all tests pass for me also. Wouldn't it be nice if all Python packages had one standard way to test them after installing ... Sorry for the noise. -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36930: Update matplotlib to 1.2 and add Python 3.x ports ----------------------------+-------------------- Reporter: robitaille@… | Owner: ram@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py-matplotlib | ----------------------------+-------------------- Changes (by ram@…): * status: assigned => closed * resolution: => fixed Comment: r100802 -- Ticket URL: <https://trac.macports.org/ticket/36930#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts