python-numpy/numpy-distutils-ignore.patch
Dirk Mueller 02883a96ec Accepting request 1043806 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.24.0
  * The NumPy 1.24.0 release continues the ongoing work to improve
    the handling and promotion of dtypes, increase the execution
    speed, and clarify the documentation. There are also a large
    number of new and expired deprecations due to changes in
    promotion and cleanups. This might be called a deprecation
    release. Highlights are:
    - Many new deprecations, check them out.
    - Many expired deprecations,
    - New F2PY features and fixes.
    - New “dtype” and “casting” keywords for stacking functions.
  * For a detailed description see
    https://numpy.org/doc/stable/release/1.24.0-notes.html
- Add numpy-distutils-ignore.patch gh#numpy/numpy#22828
- Fix running the tests: Actually fail on errors
- Support builds without any primary python3 package (:backports)

OBS-URL: https://build.opensuse.org/request/show/1043806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=111
2022-12-20 06:18:27 +00:00

14 lines
510 B
Diff

Index: numpy-1.24.0/numpy/tests/test_public_api.py
===================================================================
--- numpy-1.24.0.orig/numpy/tests/test_public_api.py
+++ numpy-1.24.0/numpy/tests/test_public_api.py
@@ -351,6 +351,8 @@ def test_all_modules_are_expected():
SKIP_LIST_2 = [
'numpy.math',
'numpy.distutils.log.sys',
+ 'numpy.distutils.log.logging',
+ 'numpy.distutils.log.warnings',
'numpy.doc.constants.re',
'numpy.doc.constants.textwrap',
'numpy.lib.emath',