48 Commits

Author SHA256 Message Date
Ana Guerrero
553b7cd5ec Accepting request 1228310 from devel:languages:python:numeric
- Update to 2.10.2
  * Better support for CPUs that do not have a power of 2 number of
    cores.  See #479 and #490.  Thanks to @avalentino.
  * Allow numexpr to run with the multithreading package in Python.
    See PR #496.  Thanks to @emmaai
  * Wheels for Python 3.13 are now provided.
- Drop fix-test-max-threads-unset.patch (forwarded request 1228309 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1228310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=27
2024-12-05 16:08:50 +00:00
5009c94269 - Update to 2.10.2
* Better support for CPUs that do not have a power of 2 number of
    cores.  See #479 and #490.  Thanks to @avalentino.
  * Allow numexpr to run with the multithreading package in Python.
    See PR #496.  Thanks to @emmaai
  * Wheels for Python 3.13 are now provided.
- Drop fix-test-max-threads-unset.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=43
2024-12-04 13:13:33 +00:00
Ana Guerrero
70936695f9 Accepting request 1223649 from devel:languages:python:numeric
- Add upstream patch fix-test-max-threads-unset.patch
- Remove upstreamed patch numexpr-pr485-allow-numpy1.patch
- Update to 2.10.1:
  - The default number of 'safe' threads has been upgraded to 16
    (instead of previous 8). That means that if your CPU has > 16
    cores, the default is to use 16. You can always override this with
    the "NUMEXPR_MAX_THREADS" environment variable.
  - NumPy 1.23 is now the minimum supported.
  - Preliminary support for Python 3.13. Thanks to Karolina Surma.
  - Fix tests on nthreads detection (closes: #479). Thanks to
    @avalentino.
  - The build process has been modernized and now uses the
    pyproject.toml file for more of the configuration options.

OBS-URL: https://build.opensuse.org/request/show/1223649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=26
2024-11-12 18:23:59 +00:00
f0bcbbbf19 - Add upstream patch fix-test-max-threads-unset.patch
- Remove upstreamed patch numexpr-pr485-allow-numpy1.patch
- Update to 2.10.1:
  - The default number of 'safe' threads has been upgraded to 16
    (instead of previous 8). That means that if your CPU has > 16
    cores, the default is to use 16. You can always override this with
    the "NUMEXPR_MAX_THREADS" environment variable.
  - NumPy 1.23 is now the minimum supported.
  - Preliminary support for Python 3.13. Thanks to Karolina Surma.
  - Fix tests on nthreads detection (closes: #479). Thanks to
    @avalentino.
  - The build process has been modernized and now uses the
    pyproject.toml file for more of the configuration options.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=41
2024-11-12 11:40:48 +00:00
Ana Guerrero
88262658a7 Accepting request 1173536 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1173536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=25
2024-05-13 15:57:55 +00:00
48131fa090 Accepting request 1173493 from home:bnavigator:branches:devel:languages:python:numeric
- Replace revert-to-numpy1.patch by numexpr-pr485-allow-numpy1.patch
  in order to be able to compile with either numpy major version

OBS-URL: https://build.opensuse.org/request/show/1173493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=39
2024-05-12 22:14:42 +00:00
Ana Guerrero
1b971d956c Accepting request 1169895 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1169895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=24
2024-04-23 16:57:43 +00:00
9c5d272880 Accepting request 1169641 from home:mcalabkova:branches:devel:languages:python:numeric
- Add patch revert-to-numpy1.patch to restore compatibility with numpy v1
  * revert of upstream commit, drop when numpy v2 comes to Factory

OBS-URL: https://build.opensuse.org/request/show/1169641
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=37
2024-04-23 14:04:37 +00:00
127c0a5a08 Accepting request 1169176 from home:bnavigator:numpy
- Update to 2.10.0
  * Support for NumPy 2.0.0. This is still experimental, so please
    report any issues you find. Thanks to Clément Robert and Thomas
    Caswell for the work.
  * Avoid erroring when OMP_NUM_THREADS is empty string. Thanks to
    Patrick Hoefler.
  * Do not warn if OMP_NUM_THREAD set.

OBS-URL: https://build.opensuse.org/request/show/1169176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=36
2024-04-19 22:24:54 +00:00
Ana Guerrero
4bfce12c9f Accepting request 1144513 from devel:languages:python:numeric
- update to 2.9.0:
  * Support for PyPy (see PRs #467 and #740).  The full test suite
    should pass now, at least for the 3.10 version.
    providing help and additional fixes.
  * Fixed more sanitizer issues (see PR #469).
  * Modernized the test suite to avoid some warnings.

OBS-URL: https://build.opensuse.org/request/show/1144513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=23
2024-02-06 15:35:34 +00:00
02391a20cd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=34 2024-02-06 09:35:09 +00:00
437a0fad72 - update to 2.9.0:
* Support for PyPy (see PRs #467 and #740).  The full test suite
    should pass now, at least for the 3.10 version.
    providing help and additional fixes.
  * Fixed more sanitizer issues (see PR #469).
  * Modernized the test suite to avoid some warnings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=33
2024-02-06 09:33:30 +00:00
Ana Guerrero
256a862a3c Accepting request 1133817 from devel:languages:python:numeric
- update to 2.8.8:
  * Fix re_evaluate not taking global_dict as argument.
  * Fix parsing of simple complex numbers.  Now,
    `ne.evaluate('1.5j')` works.
  * Fixes for upcoming NumPy 2.0

OBS-URL: https://build.opensuse.org/request/show/1133817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=22
2023-12-18 21:56:31 +00:00
aefd57f1e1 - update to 2.8.8:
* Fix re_evaluate not taking global_dict as argument.
  * Fix parsing of simple complex numbers.  Now,
    `ne.evaluate('1.5j')` works.
  * Fixes for upcoming NumPy 2.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=31
2023-12-18 09:24:49 +00:00
Ana Guerrero
19478113f3 Accepting request 1129235 from devel:languages:python:numeric
- update to 2.8.7:
  * More permissive rules in sanitizing regular expression: allow to
    access digits after the . with scientific notation.
  * Don't reject double underscores that are not at the start or end of
    a variable name (pandas uses those), or scientific-notation numbers
    with digits after the decimal point.
  * Do not use numpy.alltrue in the test suite, as it has been
    deprecated (replaced by numpy.all).
  * Python 3.12 support

  * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was
  * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version
- skip python3.6 build (no numpy)
- python3 package added
 * Fixed several issues with different platforms not supporting
 * Now, when trying to use pure Python boolean operators, 'and',
 'or' and 'not, an error is issued and suggesting that '&', '|'
- fix requiements for SLE 11

OBS-URL: https://build.opensuse.org/request/show/1129235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=21
2023-11-27 21:45:08 +00:00
937c518329 - update to 2.8.7:
* More permissive rules in sanitizing regular expression: allow to
    access digits after the . with scientific notation.
  * Don't reject double underscores that are not at the start or end of
    a variable name (pandas uses those), or scientific-notation numbers
    with digits after the decimal point.
  * Do not use numpy.alltrue in the test suite, as it has been
    deprecated (replaced by numpy.all).
  * Python 3.12 support
  * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was
  * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version
- skip python3.6 build (no numpy)
- python3 package added
 * Fixed several issues with different platforms not supporting
 * Now, when trying to use pure Python boolean operators, 'and',
 'or' and 'not, an error is issued and suggesting that '&', '|'
- fix requiements for SLE 11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=29
2023-11-27 19:49:32 +00:00
Ana Guerrero
9e35e7cde7 Accepting request 1109001 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1109001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=20
2023-09-06 16:56:58 +00:00
80f3cbc59c Accepting request 1108948 from home:bnavigator:branches:devel:languages:python:numeric
- Revert to version 2.8.4: Patch release breaks its API and thus
  Pandas -- gh#pydata/numexpr#442, gh#pydata/numexpr#444
- Move to PEP517 build

OBS-URL: https://build.opensuse.org/request/show/1108948
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=27
2023-09-05 08:00:57 +00:00
Ana Guerrero
e68efbe7b7 Accepting request 1106397 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1106397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=19
2023-08-28 15:17:30 +00:00
7ed1ae3941 Accepting request 1106190 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1106190
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=25
2023-08-28 10:55:31 +00:00
Dominique Leuenberger
fc34a3fc88 Accepting request 1046267 from devel:languages:python:numeric
- update to 2.8.4:
  * Support for Python 3.11 has been added.
  * Thanks to Tobias Hangleiter for an improved accuracy complex `expm1` function.
    While it is 25 % slower, it is significantly more accurate for the real component
    over a range of values and matches NumPy outputs much more closely.
  * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was 
    resulting in duplicated constants of the same value.
  * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version 
    checks. `packaging` is no longer a requirement as a result.

OBS-URL: https://build.opensuse.org/request/show/1046267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=18
2023-01-03 14:04:27 +00:00
2c990f8492 - update to 2.8.4:
* Support for Python 3.11 has been added.
  * Thanks to Tobias Hangleiter for an improved accuracy complex `expm1` function.
    While it is 25 % slower, it is significantly more accurate for the real component
    over a range of values and matches NumPy outputs much more closely.
  * Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was 
    resulting in duplicated constants of the same value.
  * Thanks to Mark Harfouche for noticing that we no longer need `numpy` version 
    checks. `packaging` is no longer a requirement as a result.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=23
2023-01-02 18:50:45 +00:00
Dominique Leuenberger
8cc2b87b60 Accepting request 989833 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/989833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=17
2022-08-04 11:23:09 +00:00
0b9eb70209 Accepting request 989743 from home:bnavigator:branches:devel:languages:python
- Fix requirements

OBS-URL: https://build.opensuse.org/request/show/989743
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=21
2022-07-18 09:52:07 +00:00
Dominique Leuenberger
7376af881e Accepting request 988324 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/988324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=16
2022-07-12 09:12:09 +00:00
188b57a206 Accepting request 988037 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/988037
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=19
2022-07-11 09:48:09 +00:00
Dominique Leuenberger
d831148c84 Accepting request 952057 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/952057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=15
2022-02-09 19:38:11 +00:00
2c584fcf60 Accepting request 952000 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/952000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=18
2022-02-07 09:26:40 +00:00
Dominique Leuenberger
ed1b15118e Accepting request 878626 from devel:languages:python:numeric
- skip python3.6 build (no numpy) 

- update to version 2.7.3:
  * Pinned Numpy versions to minimum supported version in an effort to
    alleviate issues seen in Windows machines not having the same MSVC
    runtime installed as was used to build the wheels.
  * ARMv8 wheels are now available, thanks to odidev for the pull
    request.

OBS-URL: https://build.opensuse.org/request/show/878626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=14
2021-03-15 09:54:27 +00:00
afc789189f - skip python3.6 build (no numpy)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=16
2021-03-12 20:28:35 +00:00
7dcbf916b9 Accepting request 876605 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/876605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=15
2021-03-08 08:30:19 +00:00
Dominique Leuenberger
996cd2b685 Accepting request 862129 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/862129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=13
2021-01-11 16:13:18 +00:00
b29615cae2 Accepting request 862018 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/862018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=13
2021-01-10 15:28:57 +00:00
Dominique Leuenberger
fa79d378be Accepting request 761947 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/761947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=12
2020-01-09 21:50:27 +00:00
Todd R
2cc7f26ee2 Accepting request 761946 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to 2.7.1
  * Python 3.8 support has been added.
  * Python 3.4 support is discontinued.
  * The tests are now compatible with NumPy 1.18.
  * site.cfg.example was updated to use the libraries tag instead
    of mkl_libs, which is recommended for newer version of NumPy.
- Drop upstream-included fix_test.patch

OBS-URL: https://build.opensuse.org/request/show/761946
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=11
2020-01-08 18:16:36 +00:00
Dominique Leuenberger
623b681a38 Accepting request 727462 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/727462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=11
2019-09-02 11:26:03 +00:00
Tomáš Chvátal
44f2314273 Accepting request 727360 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/727360
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=9
2019-08-31 13:41:39 +00:00
Dominique Leuenberger
74635da391 Accepting request 660789 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/660789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=10
2019-01-08 11:26:02 +00:00
Todd R
c638290410 Accepting request 660788 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to 2.6.9
  * Thanks to Mike Toews for more robust handling of the thread-setting environment variables.
  * With Appveyor updating to Python 3.7.1, wheels for Python 3.7 are now available in addition to those for other OSes.

OBS-URL: https://build.opensuse.org/request/show/660788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=7
2018-12-23 04:00:53 +00:00
Dominique Leuenberger
12bdd4dcc6 Accepting request 632816 from devel:languages:python:numeric
- update to version 2.6.8:
  * Add check to make sure that f_locals is not actually f_globals
    when we do the f_locals clear to avoid the #310 memory leak issue.
  * Compare NumPy versions using distutils.version.LooseVersion to
    avoid issue #312 when working with NumPy development versions.
  * As part of multibuild, wheels for Python 3.7 for Linux and MacOSX
    are now available on PyPI.
- changes from version 2.6.7:
  * Thanks to Lehman Garrison for finding and fixing a bug that
    exhibited memory leak-like behavior. The use in numexpr.evaluate
    of sys._getframe combined with .f_locals from that frame object
    results an extra refcount on objects in the frame that calls
    numexpr.evaluate, and not evaluate's frame. So if the calling
    frame remains in scope for a long time (such as a procedural
    script where numexpr is called from the base frame) garbage
    collection would never occur.
  * Imports for the numexpr.test submodule were made lazy in the
    numexpr module.

OBS-URL: https://build.opensuse.org/request/show/632816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=9
2018-09-04 20:56:26 +00:00
Tomáš Chvátal
d833fbec74 Accepting request 632752 from home:apersaud:branches:devel:languages:python:numeric
update to latest version

OBS-URL: https://build.opensuse.org/request/show/632752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numexpr?expand=0&rev=5
2018-09-03 09:06:05 +00:00
Dominique Leuenberger
298459f738 Accepting request 627751 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/627751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=8
2018-08-07 07:44:18 +00:00
Dominique Leuenberger
750a1db9df Accepting request 530885 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/530885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=7
2017-10-05 09:58:44 +00:00
Dominique Leuenberger
98042efa46 Accepting request 528801 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/528801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=6
2017-09-28 10:34:50 +00:00
Dominique Leuenberger
fbd94d8e53 Accepting request 489486 from devel:languages:python
Update to 2.6.2
Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/489486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=5
2017-05-03 13:55:01 +00:00
Dominique Leuenberger
c71a3d34d1 Accepting request 357122 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/357122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=4
2016-02-03 09:19:43 +00:00
Stephan Kulow
1eff0ae095 Accepting request 306667 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/306667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=3
2015-05-15 05:43:52 +00:00
Stephan Kulow
ee0eb1187e Accepting request 241241 from devel:languages:python
I intend to submit python-pandas to openSUSE:Factory.  python-pandas is a tool that makes it easy to do complex data import, export, and manipulation.  It has become one of the critical tools for data analysis in python, like python-numpy, python-scipy, python-matplotlib, and IPython (all of which are in openSUSE:Factory).

This is a dependency of python-pandas.

This package is also useful on its own for greatly increasing the speed of python-numpy operations.  (I know I said the same thing about python-Bottleneck, both accelerate different types of numpy operations in different ways, that is why they are both used here).

OBS-URL: https://build.opensuse.org/request/show/241241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numexpr?expand=0&rev=1
2014-07-17 15:31:35 +00:00