[MacPorts] #49747: Update py-pymc to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants
#49747: Update py-pymc to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants -----------------------------+-------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py-pymc -----------------------------+-------------------------------- Portfile and diff attached. All tests pass in python 3.4 and 3.5 (well, it "fails" with a set of `DeprecationWarning`s, but I think that's not a problem-- or at least one to be fixed upstream), but one fails in 2.7 as below. I'll check if the 2.7 failure is an upstream bug. I'm also rebuilding py27-numpy and scipy gcc5 to see if that's the cause. Perhaps this should be enforced or warned about by the port if it is the problem? {{{ FAIL: test_consistency (pymc.tests.test_distributions.test_skew_normal) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pymc/tests/test_distributions.py", line 1075, in test_consistency assert_array_almost_equal(hist, like, 1) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/testing/utils.py", line 886, in assert_array_almost_equal precision=decimal) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/testing/utils.py", line 708, in assert_array_compare raise AssertionError(msg) AssertionError: Arrays are not almost equal to 1 decimals (mismatch 10.0%) x: array([ 0. , 0. , 0.1, 0.3, 0.6, 1. , 1.7, 2.1, 1.9, 0.3]) y: array([ 0. , 0. , 0.1, 0.3, 0.6, 1.1, 1.7, 2.2, 1.7, 0.3]) }}} (The 3.5 deprecation warnings are all as below) {{{ DeprecationWarning (inspect.getargspec() is deprecated, use inspect.signature() instead) }}} -- Ticket URL: <https://trac.macports.org/ticket/49747> MacPorts <https://www.macports.org/> Ports system for OS X
#49747: Update py-pymc to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants ------------------------------+-------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-pymc | ------------------------------+-------------------------------- Comment (by russell.jones@…): Yes, using +gcc5 for numpy, scipy and py-pymc prevents the test failure. -- Ticket URL: <https://trac.macports.org/ticket/49747#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49747: py-pymc: update to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants ------------------------------+-------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: py-pymc | ------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: A sha256 checksum should be used as well. Each distfile should be verified by more than one checksum algorithm. -- Ticket URL: <https://trac.macports.org/ticket/49747#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49747: py-pymc: update to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants ------------------------------+-------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: py-pymc | ------------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: done r144126 -- Ticket URL: <https://trac.macports.org/ticket/49747#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49747: py-pymc: update to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants ------------------------------+-------------------------------- Reporter: russell.jones@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: haspatch Port: py-pymc | ------------------------------+-------------------------------- Comment (by dstrubbe@…): How did you run these tests? This port should have a test phase enabled. -- Ticket URL: <https://trac.macports.org/ticket/49747#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts