Opened 10 years ago
Closed 2 days ago
#45245 closed defect (wontfix)
Inconsistency between python-scientific and most recent version of Numpy
Reported by: | jolivetr | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | seanfarley (Sean Farley), dh@…, michaelld (Michael Dickens), petrrr, mamoll (Mark Moll) | |
Port: | py-scientific py-numpy |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hello,
I think the newest version of Numpy raises some issues with the port python-scientific. Importing Scientific into python works, but Scientific.Functions.FirstDerivatives raises the error:
from numpy.oldnumeric import * ImportError: No module named oldnumeric
As oldnumeric has recently been removed from the numpy distribution, this should be tested. oldnumeric was in numpy 1.8.0 but not anymore in numpy 1.9.0
Cheers,
Romain
PS: I am running python27, with numpy 1.9.0 and Scientific 2.9.1, all from MacPorts
Change History (7)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sean@… dh@… michaelld@… added |
---|---|
Description: | modified (diff) |
Keywords: | python Scientific removed |
Port: | py-scientific py-numpy added |
comment:2 Changed 10 years ago by seanfarley (Sean Farley)
comment:4 Changed 10 years ago by petrrr
port echo depends:py27-scientific
gives the following result:
py-scientific py27-fiat py27-ipython py27-MMTK py27-tables
I do not know much about py-fiat
and py-MMTK
, but ipython
and py-tables
might be quite relevant. In installed against Py3, they do not depend on scientific. So probably this should become the default for Py2 as well.
For ipython this is trivial as it is a variant. I do not know where the difference comes from for tables
.
comment:6 Changed 9 years ago by mf2k (Frank Schima)
Port: | py-scientific, py-numpy → py-scientific py-numpy |
---|
comment:7 Changed 2 days ago by reneeotten (Renee Otten)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Yep, py-scientific
has not seen a release since 2018 and upstream states:
Note: The scientific Python ecosystem is changing at a rapid pace, without maintaining compatibility with older versions. Since the beginning of ScientificPython development in 1995, there have been important changes to the Python language itself between Python 2.7 and Python 3, and also a large number of smaller incompatible changes to the NumPy library that ScientificPython depends on. ScientificPython has not been adapted to these changes, because we do not have any resources for software development. Therefore ScientificPython can be used only with Python 2.7 and NumPy 1.8, but not with later releases of either software.
the port has no dependents:
> port echo depends:py27-scientific py-scientific
and we will not add a NumPy 1.8 port for it; so IMHO py-scientific
should just be removed.
Unfortuantely, the developer of ScientificPython doesn't have the time to fix this: https://bitbucket.org/khinsen/scientificpython/issue/13/numpy-19-has-dropped-support-for