[MacPorts] #49747: Update py-pymc to 2.3.6, correct GitHub PortGroup add gcc5 (as default) and py35 variants
MacPorts
noreply at macports.org
Thu Nov 19 03:00:22 PST 2015
#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
More information about the macports-tickets
mailing list