- Do not use alternatives on HPC as it is pain to get it working
- Also still install f2py<PYTHON_MAJOR> that is used by many other
depending software
- Use update-alternatives for /usr/bin/f2py
- update to version 1.18.2:
* #15675: TST: move _no_tracing to testing._private
* #15676: MAINT: Large overhead in some random functions
* #15677: TST: Do not create gfortran link in azure Mac testing.
* #15679: BUG: Added missing error check in ndarray.__contains__
* #15722: MAINT: use list-based APIs to call subprocesses
* #15734: BUG: fix logic error when nm fails on 32-bit
- update to version 1.18.1
* The cython random extension test was not using a temporary
directory for building, resulting in a permission violation.
* Numpy distutils was appending -std=c99 to all C compiler runs,
leading to changed behavior and compile problems downstream.
That flag is now only applied when building numpy C code.
- update to version 1.18.0:
+ Highlights
* The C-API for ``numpy.random`` has been defined and documented.
* Basic infrastructure for linking with 64 bit BLAS and LAPACK libraries.
* Many documentation improvements.
+ New functions
* Multivariate hypergeometric distribution added to ``numpy.random``
+ Deprecations
OBS-URL: https://build.opensuse.org/request/show/792356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=88
- update to version 1.18.0:
+ Highlights
* The C-API for ``numpy.random`` has been defined and documented.
* Basic infrastructure for linking with 64 bit BLAS and LAPACK libraries.
* Many documentation improvements.
+ New functions
* Multivariate hypergeometric distribution added to ``numpy.random``
+ Deprecations
* ``np.fromfile`` and ``np.fromstring`` will error on bad data
* Deprecate non-scalar arrays as fill values in ``ma.fill_value``
* Deprecate ``PyArray_As1D``, ``PyArray_As2D``
* Deprecate ``np.alen``
* Deprecate the financial functions
* The ``axis`` argument to ``numpy.ma.mask_cols`` and ``numpy.ma.mask_row`` is deprecated
+ Expired deprecations
* ``PyArray_As1D`` and ``PyArray_As2D`` have been removed in favor of
``PyArray_AsCArray``
* ``np.rank`` has been removed. This was deprecated in NumPy 1.10
and has been replaced by ``np.ndim``.
* The deprecation of ``expand_dims`` out-of-range axes in 1.13.0 has
expired.
* ``PyArray_FromDimsAndDataAndDescr`` and ``PyArray_FromDims`` have been
removed (they will always raise an error). Use ``PyArray_NewFromDescr``
and ``PyArray_SimpleNew`` instead.
* ``numeric.loads``, ``numeric.load``, ``np.ma.dump``,
``np.ma.dumps``, ``np.ma.load``, ``np.ma.loads`` are removed,
use ``pickle`` methods instead
* ``arrayprint.FloatFormat``, ``arrayprint.LongFloatFormat`` has been removed,
use ``FloatingFormat`` instead
* ``arrayprint.ComplexFormat``, ``arrayprint.LongComplexFormat`` has been
removed, use ``ComplexFloatingFormat`` instead
* ``arrayprint.StructureFormat`` has been removed, use ``StructureVoidFormat``
instead
* ``np.testing.rand`` has been removed. This was deprecated in NumPy 1.11
and has been replaced by ``np.random.rand``.
* Class ``SafeEval`` in ``numpy/lib/utils.py`` has been removed.
This was deprecated in NumPy 1.10. Use ``np.safe_eval`` instead.
* Remove deprecated support for boolean and empty condition lists in
``np.select``
* Array order only accepts 'C', 'F', 'A', and 'K'. More permissive options
were deprecated in NumPy 1.11.
* np.linspace parameter ``num`` must be an integer. Deprecated in NumPy 1.12.
* UFuncs with multiple outputs must use a tuple for the ``out`` kwarg. This
finishes a deprecation started in NumPy 1.10.
* The files ``numpy/testing/decorators.py``, ``numpy/testing/noseclasses.py``
and ``numpy/testing/nosetester.py`` have been removed. They were never
meant to be public (all relevant objects are present in the
``numpy.testing`` namespace), and importing them has given a deprecation
warning since NumPy 1.15.0
+ Compatibility notes
* `numpy.lib.recfunctions.drop_fields` can no longer return None
* ``numpy.argmin/argmax/min/max`` returns ``NaT`` if it exists in array
* ``np.can_cast(np.uint64, np.timedelta64, casting='safe')`` is now ``False``
* Changed random variate stream from ``numpy.random.Generator.integers``
* Add more ufunc loops for ``datetime64``, ``timedelta64``
* Moved modules in ``numpy.random``
+ C API changes
* ``PyDataType_ISUNSIZED(descr)`` now returns False for structured datatypes
+ New Features
* Add our own ``*.pxd`` cython import file
* A tuple of axes can now be input to ``expand_dims``
* Support for 64-bit OpenBLAS
* Add ``--f2cmap`` option to F2PY
+ Improvements
* Different C numeric types of the same size have unique names
* ``argwhere`` now produces a consistent result on 0d arrays
* Add ``axis`` argument for ``random.permutation`` and ``random.shuffle``
* ``method`` keyword argument for ``np.random.multivariate_normal``
* Add complex number support for ``numpy.fromstring``
* ``numpy.unique`` has consistent axes order when ``axis`` is not None
* ``numpy.matmul`` with boolean output now converts to boolean values
* ``numpy.random.randint`` produced incorrect value when the range was ``2**32``
* Add complex number support for ``numpy.fromfile``
* ``std=c99`` added if compiler is named ``gcc``
+ Changes
* ``NaT`` now sorts to the end of arrays
* Incorrect ``threshold`` in ``np.set_printoptions`` raises ``TypeError`` or ``ValueError``
* Warn when saving a dtype with metadata
* ``numpy.distutils`` append behavior changed for LDFLAGS and similar
* Remove ``numpy.random.entropy`` without a deprecation
* Add options to quiet build configuration and build with ``-Werror``
OBS-URL: https://build.opensuse.org/request/show/761226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=47
- Force cythonization to ensure build under different versions of
python
- disable tests TestF77ReturnCharacter and TestF90ReturnCharacter for s390x
https://github.com/numpy/numpy/issues/11831
to make the package build.
* s390x.patch
- Update to 1.17.2:
* #14418: BUG: Fix aradixsort indirect indexing.
* #14420: DOC: Fix a minor typo in dispatch documentation.
* #14421: BUG: test, fix regression in converting to ctypes
* #14430: BUG: Do not show Override module in private error classes.
* #14432: BUG: Fixed maximum relative error reporting in assert_allclose.
* #14433: BUG: Fix uint-overflow if padding with linear_ramp and negative...
* #14436: BUG: Update 1.17.x with 1.18.0-dev pocketfft.py.
- Add dep on pytest-xdist and use threaded tests execution
shaving around 400s on local build
OBS-URL: https://build.opensuse.org/request/show/734807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=84
* #14418: BUG: Fix aradixsort indirect indexing.
* #14420: DOC: Fix a minor typo in dispatch documentation.
* #14421: BUG: test, fix regression in converting to ctypes
* #14430: BUG: Do not show Override module in private error classes.
* #14432: BUG: Fixed maximum relative error reporting in assert_allclose.
* #14433: BUG: Fix uint-overflow if padding with linear_ramp and negative...
* #14436: BUG: Update 1.17.x with 1.18.0-dev pocketfft.py.
- Add dep on pytest-xdist and use threaded tests execution
shaving around 400s on local build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=36