Opened 6 years ago

Last modified 4 years ago

#45245 new defect

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 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 (6)

comment:1 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: sean@… dh@… michaelld@… added
Description: modified (diff)
Keywords: python Scientific removed
Port: py-scientific py-numpy added

comment:2 Changed 6 years ago by seanfarley (Sean Farley)

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

comment:3 Changed 6 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 6 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:5 Changed 6 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:6 Changed 4 years ago by mf2k (Frank Schima)

Port: py-scientific, py-numpypy-scientific py-numpy
Note: See TracTickets for help on using tickets.