Commit Graph

131 Commits

Author SHA256 Message Date
46d5a03e25 - update to 1.21.6:
* Do not forward `__(deep)copy__` calls of `_GenericAlias`...
  * Fix float16 einsum fastpaths using wrong tempvar
  * Print os error message when the executable not exist
  * Force ``npymath` ` to respect ``npy_longdouble``
  * Fix failure to create aligned, empty structured dtype
  * provide a convenience function to replace npy_load_module
  * update wheel to version that supports python3.10
  * Clear errors correctly in F2PY conversions
  * add a warningfilter to fix pytest workflow.
  * Help boost::python libraries at least not crash
- drop bpo-45167-fixes.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=105
2022-05-29 18:35:40 +00:00
a7ec7495ab Accepting request 938267 from home:bnavigator:python-rpm-macros
- Ignore Python 3.10 deprecation warnings

OBS-URL: https://build.opensuse.org/request/show/938267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=104
2021-12-09 22:23:44 +00:00
ad46d677c9 Accepting request 935924 from home:Guillaume_G:branches:devel:languages:python:numeric
Add missing version update in changelog

OBS-URL: https://build.opensuse.org/request/show/935924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=103
2021-12-06 08:39:03 +00:00
ba52966c67 Redownload the zipball again.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=102
2021-12-05 20:29:26 +00:00
af7f736e1f - Fix abbreviated references
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=101
2021-12-05 07:26:26 +00:00
9796138577 Accepting request 935455 from home:Guillaume_G:branches:devel:languages:python:numeric
- Add patch to fix aarch64 support:
  * numpy-fix-cpu_asimdfhm.patch

OBS-URL: https://build.opensuse.org/request/show/935455
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=100
2021-12-05 07:19:11 +00:00
Steve Kowalik
9949f4b209 - Add patch bpo-45167-fixes.patch:
* Support Python >= 3.9.8 changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=99
2021-11-19 00:34:55 +00:00
08facfee47 Accepting request 930486 from home:Andreas_Schwab:Factory
- Expect failure of test_fpclass and test_float on riscv64
- Bump disk space constraint

OBS-URL: https://build.opensuse.org/request/show/930486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=98
2021-11-11 08:31:55 +00:00
4b609746f3 Accepting request 923599 from home:bnavigator:branches:devel:languages:python:numeric
- The update- and libalternatives logic is required in the standard
  build, not the hpc flavor

OBS-URL: https://build.opensuse.org/request/show/923599
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=97
2021-10-12 07:12:08 +00:00
c96fc808a3 Accepting request 923254 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/923254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=96
2021-10-06 00:24:58 +00:00
0b4f6d23fe Accepting request 920368 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.21.2
  * #19497: MAINT: set Python version for 1.21.x to <3.11
  * #19533: BUG: Fix an issue wherein importing numpy.typing could raise
  * #19646: MAINT: Update Cython version for Python 3.10.
  * #19648: TST: Bump the python 3.10 test version from beta4 to rc1
  * #19651: TST: avoid distutils.sysconfig in runtests.py
  * #19652: MAINT: add missing dunder method to nditer type hints
  * #19656: BLD, SIMD: Fix testing extra checks when -Werror isn't applicable...
  * #19657: BUG: Remove logical object ufuncs with bool output
  * #19658: MAINT: Include .coveragerc in source distributions to support...
  * #19659: BUG: Fix bad write in masked iterator output copy paths
  * #19660: ENH: Add support for windows on arm targets
  * #19661: BUG: add base to templated arguments for platlib
  * #19662: BUG,DEP: Non-default UFunc signature/dtype usage should be deprecated
  * #19666: MAINT: Add Python 3.10 to supported versions.
  * #19668: TST,BUG: Sanitize path-separators when running runtest.py
  * #19671: BLD: load extra flags when checking for libflame
  * #19676: BLD: update circleCI docker image
  * #19677: REL: Prepare for 1.21.2 release.
- Release 1.21.1
  * #19311: REV,BUG: Replace NotImplemented with typing.Any
  * #19324: MAINT: Fixed the return-dtype of ndarray.real and imag
  * #19330: MAINT: Replace "dtype[Any]" with dtype in the definiton of...
  * #19342: DOC: Fix some docstrings that crash pdf generation.
  * #19343: MAINT: bump scipy-mathjax
  * #19347: BUG: Fix arr.flat.index for large arrays and big-endian machines
  * #19348: ENH: add numpy.f2py.get_include function
  * #19349: BUG: Fix reference count leak in ufunc dtype handling
  * #19350: MAINT: Annotate missing attributes of np.number subclasses
  * #19351: BUG: Fix cast safety and comparisons for zero sized voids

OBS-URL: https://build.opensuse.org/request/show/920368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=95
2021-09-21 09:17:03 +00:00
b54abb607a Accepting request 920176 from devel:languages:python:numeric
revert - Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/920176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=94
2021-09-19 17:42:02 +00:00
72ffe75e2f Accepting request 919789 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/919789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=93
2021-09-17 21:26:07 +00:00
696375d29d Accepting request 906711 from home:bnavigator:branches:devel:languages:python:numeric
- Fix segfault with subarray access
  * Add numpy-pr19326-fix-subarray-segfault.patch
  * Fixes python-zarr segfault
  * gh#numpy/numpy#19326

OBS-URL: https://build.opensuse.org/request/show/906711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=92
2021-07-17 06:27:46 +00:00
c7e05108e5 Accepting request 904569 from home:alarrosa:branches:devel:languages:python:numeric
Note that this requires the new python-hypothesis which was submitted
in SR #904558 . I tested that they build together correctly in
https://build.opensuse.org/package/show/home:alarrosa:branches:openSUSE:Factory:Rings:1-MinimalX/python-numpy
If both 904558 and this SR are approved and submitted together to
Factory, that would be great.

- update to 1.21.0:
  * DEP: Deprecate data_type.dtype if attribute is not already...
  * ENH: Implement faster keyword argument parsing capable of METH_FASTCALL
  * ENH: Optimize and cleanup ufunc calls and ufunc CheckOverrides
  * BUG: Remove temporary change of descr/flags in VOID functions
  * DOC: Add more information about poly1d -> polynomial to reference...
  * ENH: Warn when reloading numpy or using numpy in sub-interpreter
  * DOC: Fix for building with sphinx 3
  * DOC: unify the docs for np.transpose and ndarray.transpose
  * DOC: added examples section for rfft2 and irfft2 docstring
  * DOC: Fix Typo (Wrong argument name)
  * ENH: Phase unwrapping generalized to arbitrary interval size
  * SIMD: Optimize the performance of np.packbits in AVX2/AVX512F/VSX.
  * MAINT: Use numpy version for f2py version.
  * DEP: Shift correlate mode parsing to C and deprecate inexact...
  * DEP: Formally deprecate np.typeDict
  * SIMD: Replace raw SIMD of sin/cos with NPYV(universal intrinsics)
  * MAINT: Bump pydata-sphinx-theme and set logo link to index
  * DOC: Add module template
  * ENH: Make ndarray generic w.r.t. its shape and dtype
  * ENH: Added libdivide for floor divide
  * BUG, Benchmark: fix passing optimization build options to asv
  * MAINT, Benchmark: print the supported CPU features during the...
  * ENH: Add annotations for comparison operations
  * SIMD: Optimize the performance of einsum's submodule multiply...
  * ENH, SIMD: Add new NPYV intrinsics pack(0)
  * ENH, SIMD: Add new NPYV intrinsics pack(1)
  * BLD: Enable Werror=undef in travis
  * ENH: add support for fujitsu compiler to numpy.
  * ENH: Add two new _<X>Like unions

OBS-URL: https://build.opensuse.org/request/show/904569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=91
2021-07-07 12:43:11 +00:00
6b0fd26340 Accepting request 904174 from home:alarrosa:branches:openSUSE:Factory:Rings:1-MinimalX
- Add patch to fix an invalid usage of the dtype argument. This
  has already been fixed upstream but since Staging:F is so
  crowded now with python packages, I think it's better to patch
  it and update numpy once Staging:F is cleared:
  * fix-asarray.patch

OBS-URL: https://build.opensuse.org/request/show/904174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=90
2021-07-05 17:14:03 +00:00
16887d977a - update to 1.20.3:
* BUG: Correct datetime64 missing type overload for datetime.date...
  * MAINT: Remove __all__ in favor of explicit re-exports
  * BLD: Strip extra newline when dumping gfortran version on MacOS
  * BUG: fix segfault in object/longdouble operations
  * MAINT: Use towncrier build explicitly
  * MAINT: Relax certain integer-type constraints
  * MAINT: Remove unsafe unions and ABCs from return-annotations
  * MAINT: Allow more recursion depth for scalar tests.
  * BUG: Initialize the full nditer buffer in case of error
  * BLD: remove unnecessary flag -faltivec on macOS
  * MAINT, CI: treats _SIMD module build warnings as errors through...
  * BUG: for MINGW, threads.h existence test requires GLIBC > 2.12
  * BUG: Make changelog recognize gh- as a PR number prefix.
  * REL, DOC: Prepare for the NumPy 1.20.3 release.
  * BUG: Fix failing mypy test in 1.20.x.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=88
2021-06-02 19:14:24 +00:00
b27177045e - update to 1.20.2:
* MAINT: Update f2py from master.
  * BUG: diagflat could overflow on windows or 32-bit platforms
  * BUG: Fix refcount leak in f2py complex_double_from_pyobj.
  * BUG: Fix tiny memory leaks when like= overrides are used
  * BUG: Remove temporary change of descr/flags in VOID functions
  * BUG: Segfault in nditer buffer dealloc for Object arrays
  * BUG: Remove suspicious type casting
  * BUG: remove nonsensical comparison of pointer < 0
  * BUG: verify pointer against NULL before using it
  * BUG: check if PyArray_malloc succeeded
  * BUG: incorrect error fallthrough in nditer
  * MAINT: Add annotations for dtype.__getitem__, __mul__ and…
  * BUG: NameError in numpy.distutils.fcompiler.compaq
  * BUG: Fixed where keyword for np.mean & np.var methods
  * MAINT: Ensure that re-exported sub-modules are properly annotated
  * BUG: Fix ma coercion list-of-ma-arrays if they do not cast to…
  * BUG: Fix small valgrind-found issues
  * BUG: Fix small issues found with pytest-leaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=86
2021-05-07 21:21:51 +00:00
b893c66c3a Accepting request 870967 from home:bnavigator:branches:dlpn_numpy
- Update to version 1.20.1
  * The distutils bug that caused problems with downstream projects
    is fixed.
  * The random.shuffle regression is fixed.
- Higlights for 1.20.0:
  * Annotations for NumPy functions. This work is ongoing and 
    improvements can be expected pending feedback from users.
  * Wider use of SIMD to increase execution speed of ufuncs. Much 
    work has been done in introducing universal functions that 
    will ease use of modern features across different hardware 
    platforms. This work is ongoing.
  * Preliminary work in changing the dtype and casting 
    implementations in order to provide an easier path to 
    extending dtypes. This work is ongoing but enough has been 
    done to allow experimentation and feedback.
  * Extensive documentation improvements comprising some 185 PR 
    merges. This work is ongoing and part of the larger project to 
    improve NumPy’s online presence and usefulness to new users.
  * Further cleanups related to removing Python 2.7. This improves 
    code readability and removes technical debt.
  * Preliminary support for the upcoming Cython 3.0.
- Full release notes at
  https://numpy.org/doc/stable/release/1.20.0-notes.html
- Now requires Python >= 3.7 (NEP 29)
  * Drop fix-py34-tests.patch
  * Skip python36 build
- Drop s390x.patch -- The patch was applied for all big endian
  architectures. Mark those tests appropriately in the check
  section instead.  gh#numpy/numpy#11831
- Skip two tests on ix86: gh#numpy/numpy#18387 gh#numpy/numpy#18388

OBS-URL: https://build.opensuse.org/request/show/870967
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=84
2021-02-10 21:14:05 +00:00
e4c6fd1c43 Accepting request 863766 from home:bnavigator:branches:devel:languages:python:numeric
- Move flaky tests to test_failok
- Fix hpc for multiflavors (needs gh#openSUSE/hpc#3)

OBS-URL: https://build.opensuse.org/request/show/863766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=82
2021-01-17 07:22:09 +00:00
d36528b0ab Accepting request 861568 from home:mcalabkova:branches:devel:languages:python:Factory
- Update to 1.19.5
  * Fix memory leak of buffer-info cache due to relaxed strides
  * Set deprecated fields to null in PyArray_InitArrFuncs
  * fix np.timedelta64('nat').__format__ throwing an exception
  * more bugfixes
- Rebase numpy-buildfix.patch

OBS-URL: https://build.opensuse.org/request/show/861568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=80
2021-01-08 12:31:29 +00:00
2647c1b9cc Accepting request 851543 from home:bnavigator:branches:devel:languages:python:numeric
- Support multiple python3 flavors gh#openSUSE/python-rpm-macros#66
  * Fix pytest call expansion
  * Fix f2py entry point

OBS-URL: https://build.opensuse.org/request/show/851543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=78
2020-11-30 15:01:32 +00:00
68b917de82 Accepting request 839831 from home:StefanBruens:branches:devel:languages:python:numeric
- Add cblas build dependency, otherwise numpy uses naive internal
  implementations for some blas operations, mitigates boo#1177260.
- Add libopenblas recommends. To actually use openblas instead of
  netlib BLAS/LAPACK, update-alternatives has to be used.
- Remove .pytest_cache from the build_root

OBS-URL: https://build.opensuse.org/request/show/839831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=76
2020-10-08 18:09:39 +00:00
Tomáš Chvátal
eddae912bf Accepting request 838692 from home:Guillaume_G:branches:devel:languages:python:numeric
- Increase required memory to avoid test failures

OBS-URL: https://build.opensuse.org/request/show/838692
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=75
2020-09-30 07:24:26 +00:00
Tomáš Chvátal
589024d3d0 Accepting request 836166 from home:StefanBruens:branches:devel:languages:python:numeric
- Fix upgrade from older distro versions which did not package
  f2py using update-alternatives (catched by openQA, boo#1176832).

OBS-URL: https://build.opensuse.org/request/show/836166
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=74
2020-09-23 08:44:21 +00:00
Tomáš Chvátal
ca2a40df89 Accepting request 835366 from home:eeich:branches:devel:languages:python:numeric
- Build only HPC version with OpenBLAS, use standard BLAS/LAPACK
  for non-HPC instead.
- Create a macro %ver for the package version number next to %_ver
  to help keep both in sync.

OBS-URL: https://build.opensuse.org/request/show/835366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=73
2020-09-18 11:23:54 +00:00
Tomáš Chvátal
4920d2aaf4 Accepting request 834030 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/834030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=72
2020-09-13 17:41:57 +00:00
Tomáš Chvátal
ab79378cf9 Accepting request 822780 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/822780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=70
2020-07-25 17:27:28 +00:00
Tomáš Chvátal
ff0c08796d Accepting request 821546 from home:alarrosa:branches:devel:languages:python:numeric
- Add patch to fix the test_large_zip test in i586, which fails
  when run in a separate process (gh#numpy/numpy#16890):
  * 0001-Re-raise-MemoryError-exception-in-test_large_zips-process.patch

OBS-URL: https://build.opensuse.org/request/show/821546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=69
2020-07-17 19:11:56 +00:00
Tomáš Chvátal
9e0ee404c8 Accepting request 818513 from home:alarrosa:branches:devel:languages:python:numeric
- Update to version 1.19.0:
  * #8255: ENH: add identity kwarg to frompyfunc
  * #12646: TST: check exception details in refguide_check.py
  * #13421: ENH: improve runtime detection of CPU features
  * #14326: TST: Add assert_array_equal test for big integer arrays.
  * #14376: MAINT: Remove unnecessary 'from __future__ import ...'
    statements
  * #14530: MAINT: Fix typos and copy edit NEP-0030.
  * #14546: DOC: NumPy for absolute beginners tutorial
  * #14715: NEP: Proposal for array creation dispatching with
    __array_function__
  * #14867: ENH: Use AVX-512F for np.maximum and np.minimum
  * #14924: BUG: Fix numpy.random.dirichlet returns NaN for small
    'alpha'...
  * #14933: API: Use ResultType in PyArray_ConvertToCommonType
  * #14942: MAINT,API: ignore and NULL fasttake/fastputmask ArrFuncs
    slots
  * #14981: BUG: Make ediff1d kwarg casting consistent
  * #14988: DOC: linalg: Include information about scipy.linalg.
  * #14995: BUG: Use __array__ during dimension discovery
  * #15011: MAINT: cleanup compat.py3k.py
  * #15022: ENH: f2py: improve error messages
  * #15028: [DOC] LaTeX: fix preamble (closes #15026)
  * #15035: BUG: add endfunction, endsubroutine to valid fortran
    end words
  * #15040: TST: Add test for object method (and general unary)
    loops
  * #15042: REL: Update master after 1.18.x branch.
  * #15043: DOC: Update HOWTO_RELEASE.rst.txt
  * #15046: API, DOC: change names to multivariate_hypergeometric,

OBS-URL: https://build.opensuse.org/request/show/818513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=68
2020-07-08 06:57:07 +00:00
Tomáš Chvátal
df803b1822 Accepting request 817874 from home:bnavigator:branches:devel:languages:python:numeric
- still open: boo#1148173 gh#numpy/numpy#14438 skip two tests
- clean %check section for updated %pytest_arch
  gh#openSUSE/python-rpm-macros#50

OBS-URL: https://build.opensuse.org/request/show/817874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=66
2020-06-30 13:24:12 +00:00
c435d72a44 Clean SPEC
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=64
2020-05-13 17:39:28 +00:00
ea52e4acc4 - Reorganize check section to pass
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=63
2020-05-13 17:38:52 +00:00
fee81c867f Better organization of skipped tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=62
2020-05-13 09:18:22 +00:00
42f5627d37 - Skip three tests which are failing with new GCC10
(gh#numpy/numpy#16212)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=61
2020-05-13 09:14:41 +00:00
Tomáš Chvátal
4555cf9980 Accepting request 802266 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/802266
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=59
2020-05-09 17:30:39 +00:00
Tomáš Chvátal
b771d963e1 Accepting request 797889 from home:Andreas_Schwab:Factory
- Disable TestF{77,90}ReturnCharacter on big-endian architectures (#11831)

OBS-URL: https://build.opensuse.org/request/show/797889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=57
2020-04-26 19:29:31 +00:00
Tomáš Chvátal
f76f7bca93 Accepting request 797231 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/797231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=56
2020-04-24 17:33:06 +00:00
Tomáš Chvátal
bc4475f984 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=54 2020-04-08 08:23:46 +00:00
Tomáš Chvátal
9a860be495 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=53 2020-04-07 13:59:46 +00:00
Tomáš Chvátal
806fb71119 - Do not use alternatives on HPC as it is pain to get it working
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=52
2020-04-07 13:08:50 +00:00
Tomáš Chvátal
4a25d3a4dc - Also still install f2py<PYTHON_MAJOR> that is used by many other
depending software

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=51
2020-04-07 11:56:09 +00:00
3756b8af42 - Use update-alternatives for /usr/bin/f2py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=50
2020-04-06 21:42:47 +00:00
Tomáš Chvátal
84607317fe Accepting request 789340 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/789340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=49
2020-03-28 18:05:09 +00:00
Tomáš Chvátal
136be57a2c Accepting request 761646 from home:TheBlackCat:branches:devel:languages:python:numeric
- 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.

OBS-URL: https://build.opensuse.org/request/show/761646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=48
2020-01-07 15:36:27 +00:00
Tomáš Chvátal
a95f1ac5e7 Accepting request 761226 from home:TheBlackCat:branches:devel:languages:python:numeric
- 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
2020-01-07 06:39:50 +00:00
Tomáš Chvátal
90c21abf98 Accepting request 749079 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/749079
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=45
2019-11-17 07:46:10 +00:00
Tomáš Chvátal
c3b090eec6 Accepting request 743807 from home:Andreas_Schwab:Factory
- riscv.patch: Remove obsolete patch

OBS-URL: https://build.opensuse.org/request/show/743807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=43
2019-10-29 10:44:34 +00:00
Tomáš Chvátal
4fd678ba61 Accepting request 741245 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/741245
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=41
2019-10-21 07:22:42 +00:00
Tomáš Chvátal
53d663ab65 * s390x.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=39
2019-10-03 13:58:12 +00:00