Hello community, here is the log from the commit of package python-numexpr for openSUSE:Factory checked in at 2020-01-09 22:50:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numexpr (Old) and /work/SRC/openSUSE:Factory/.python-numexpr.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-numexpr" Thu Jan 9 22:50:27 2020 rev:12 rq:761947 version:2.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-numexpr/python-numexpr.changes 2019-09-02 13:26:03.701304388 +0200 +++ /work/SRC/openSUSE:Factory/.python-numexpr.new.6675/python-numexpr.changes 2020-01-09 22:50:41.930712407 +0100 @@ -1,0 +2,11 @@ +Wed Jan 8 18:04:17 UTC 2020 - Todd R <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- fix_test.patch numexpr-2.7.0.tar.gz New: ---- numexpr-2.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-numexpr.spec ++++++ --- /var/tmp/diff_new_pack.zyp7BV/_old 2020-01-09 22:50:43.910713398 +0100 +++ /var/tmp/diff_new_pack.zyp7BV/_new 2020-01-09 22:50:43.926713406 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-numexpr # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-numexpr -Version: 2.7.0 +Version: 2.7.1 Release: 0 Summary: Numerical expression evaluator for NumPy License: MIT Group: Development/Languages/Python URL: https://github.com/pydata/numexpr/ Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz -Patch0: fix_test.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.6} BuildRequires: %{python_module setuptools} @@ -43,7 +42,6 @@ %prep %setup -q -n numexpr-%{version} -%patch0 -p1 # wrong-file-end-of-line-encoding sed -i 's/\r$//' ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst site.cfg.example # remove unwanted shebang ++++++ numexpr-2.7.0.tar.gz -> numexpr-2.7.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/ANNOUNCE.rst new/numexpr-2.7.1/ANNOUNCE.rst --- old/numexpr-2.7.0/ANNOUNCE.rst 2019-08-13 22:11:18.000000000 +0200 +++ new/numexpr-2.7.1/ANNOUNCE.rst 2020-01-03 18:27:17.000000000 +0100 @@ -1,35 +1,24 @@ ========================= - Announcing Numexpr 2.7.0 + Announcing Numexpr 2.7.1 ========================= Hi everyone, -This is a minor version bump for NumExpr. We would like to highlight the changes -made in 2.6.9 (which in retrospec should have been a minor version bump), where -the maximum number of threads spawned can be limited by setting the environment -variable "NUMEXPR_MAX_THREADS". If this variable is not set, in 2.7.0 the -historical limit of 8 threads will be used. The lack of a check caused some -problems on very large hosts in cluster environments in 2.6.9. - -In addition, we are officially dropping Python 2.6 support in this release as -we cannot perform continuous integration for it. +This is a version bump to add support for Python 3.8 and NumPy 1.18. We are also +removing support for Python 3.4. Project documentation is available at: http://numexpr.readthedocs.io/ -Changes from 2.6.9 to 2.7.0 +Changes from 2.7.0 to 2.7.1 ---------------------------- -- The default number of 'safe' threads has been restored to the historical limit - of 8, if the environment variable "NUMEXPR_MAX_THREADS" has not been set. -- Thanks to @eltoder who fixed a small memory leak. -- Support for Python 2.6 has been dropped, as it is no longer available via - TravisCI. -- A typo in the test suite that had a less than rather than greater than symbol - in the NumPy version check has been corrected thanks to dhomeier. -- The file `site.cfg` was being accidently included in the sdists on PyPi. - It has now been excluded. +- 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. What's Numexpr? --------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/PKG-INFO new/numexpr-2.7.1/PKG-INFO --- old/numexpr-2.7.0/PKG-INFO 2019-08-14 16:07:42.000000000 +0200 +++ new/numexpr-2.7.1/PKG-INFO 2020-01-05 20:07:23.504278700 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 1.0 Name: numexpr -Version: 2.7.0 +Version: 2.7.1 Summary: Fast numerical expression evaluator for NumPy Home-page: https://github.com/pydata/numexpr Author: David M. Cooke, Francesc Alted and others Author-email: [email protected], [email protected] License: MIT -Description-Content-Type: UNKNOWN Description: ====================================================== NumExpr: Fast numerical expression evaluator for NumPy ====================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/RELEASE_NOTES.rst new/numexpr-2.7.1/RELEASE_NOTES.rst --- old/numexpr-2.7.0/RELEASE_NOTES.rst 2019-08-13 22:05:36.000000000 +0200 +++ new/numexpr-2.7.1/RELEASE_NOTES.rst 2020-01-04 01:21:42.000000000 +0100 @@ -1,6 +1,15 @@ -===================================== - Release notes for Numexpr 2.6 series -===================================== +==================================== +Release notes for Numexpr 2.7 series +==================================== + +Changes from 2.7.0 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. Changes from 2.6.9 to 2.7.0 ---------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/numexpr/tests/test_numexpr.py new/numexpr-2.7.1/numexpr/tests/test_numexpr.py --- old/numexpr-2.7.0/numexpr/tests/test_numexpr.py 2019-01-28 20:40:17.000000000 +0100 +++ new/numexpr-2.7.1/numexpr/tests/test_numexpr.py 2020-01-03 18:25:02.000000000 +0100 @@ -505,7 +505,7 @@ # Execution order set here so as to not use too many threads # during the rest of the execution. See #33 for details. def test_changing_nthreads_00_inc(self): - a = linspace(-1, 1, 1e6) + a = linspace(-1, 1, 1000000) b = ((.25 * a + .75) * a - 1.5) * a - 2 for nthreads in range(1, 7): numexpr.set_num_threads(nthreads) @@ -513,7 +513,7 @@ assert_array_almost_equal(b, c) def test_changing_nthreads_01_dec(self): - a = linspace(-1, 1, 1e6) + a = linspace(-1, 1, 1000000) b = ((.25 * a + .75) * a - 1.5) * a - 2 for nthreads in range(6, 1, -1): numexpr.set_num_threads(nthreads) @@ -967,7 +967,7 @@ "import numexpr", "assert(numexpr.nthreads <= 8)", "exit(0)"]) - subprocess.check_call(['python', '-c', script]) + subprocess.check_call([sys.executable, '-c', script]) def test_max_threads_set(self): # Has to be done in a subprocess as `importlib.reload` doesn't let us @@ -978,7 +978,7 @@ "import numexpr", "assert(numexpr.MAX_THREADS == 4)", "exit(0)"]) - subprocess.check_call(['python', '-c', script]) + subprocess.check_call([sys.executable, '-c', script]) def test_numexpr_num_threads(self): with _environment('OMP_NUM_THREADS', '5'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/numexpr/version.py new/numexpr-2.7.1/numexpr/version.py --- old/numexpr-2.7.0/numexpr/version.py 2019-08-13 22:10:52.000000000 +0200 +++ new/numexpr-2.7.1/numexpr/version.py 2020-01-04 01:19:17.000000000 +0100 @@ -8,4 +8,4 @@ # rights to use. #################################################################### -version = '2.7.0' +version = '2.7.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/numexpr.egg-info/PKG-INFO new/numexpr-2.7.1/numexpr.egg-info/PKG-INFO --- old/numexpr-2.7.0/numexpr.egg-info/PKG-INFO 2019-08-14 16:07:41.000000000 +0200 +++ new/numexpr-2.7.1/numexpr.egg-info/PKG-INFO 2020-01-05 20:07:23.000000000 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 1.0 Name: numexpr -Version: 2.7.0 +Version: 2.7.1 Summary: Fast numerical expression evaluator for NumPy Home-page: https://github.com/pydata/numexpr Author: David M. Cooke, Francesc Alted and others Author-email: [email protected], [email protected] License: MIT -Description-Content-Type: UNKNOWN Description: ====================================================== NumExpr: Fast numerical expression evaluator for NumPy ====================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/requirements.txt new/numexpr-2.7.1/requirements.txt --- old/numexpr-2.7.0/requirements.txt 2018-07-12 19:33:23.000000000 +0200 +++ new/numexpr-2.7.1/requirements.txt 2019-12-24 19:48:54.000000000 +0100 @@ -1,2 +1 @@ -numpy>=1.7 - +numpy>=1.7 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numexpr-2.7.0/site.cfg.example new/numexpr-2.7.1/site.cfg.example --- old/numexpr-2.7.0/site.cfg.example 2018-07-16 18:07:07.000000000 +0200 +++ new/numexpr-2.7.1/site.cfg.example 2019-12-17 00:40:39.000000000 +0100 @@ -19,12 +19,12 @@ # in different directories at a time) #library_dirs = /opt/intel/Compiler/11.0/074/mkl/lib/em64t/:/opt/intel/Compiler/11.0/074/lib/intel64 #include_dirs = /opt/intel/Compiler/11.0/074/mkl/include/ -#mkl_libs = mkl_solver_ilp64, mkl_intel_ilp64, mkl_intel_thread, mkl_core, iomp5 +#libraries = mkl_solver_ilp64, mkl_intel_ilp64, mkl_intel_thread, mkl_core, iomp5 # This seems to work for MKL 11 with processors with AVX (Sandy Bridge and above) for Linux #library_dirs = /opt/intel/composerxe/mkl/lib/intel64:/opt/intel/composer_xe_2013.3.163/compiler/lib/intel64 #include_dirs = /opt/intel/composerxe/mkl/include/ -#mkl_libs = mkl_intel_lp64, mkl_gf_lp64, mkl_intel_thread, mkl_core, mkl_blas95_lp64, mkl_lapack95_lp64, mkl_avx, mkl_vml_avx, mkl_rt, iomp5 +#libraries = mkl_intel_lp64, mkl_gf_lp64, mkl_intel_thread, mkl_core, mkl_blas95_lp64, mkl_lapack95_lp64, mkl_avx, mkl_vml_avx, mkl_rt, iomp5 ## Example for using MKL 10.0 #library_dirs = /opt/intel/mkl/10.0.2.018/lib/em64t @@ -33,12 +33,12 @@ # Example for using MKL 10.2 for Windows 64-bit #include_dirs = \Program Files\Intel\MKL\10.2.5.035\include #library_dirs = \Program Files\Intel\MKL\10.2.5.035\em64t\lib -#mkl_libs = mkl_solver_ilp64, mkl_core, mkl_intel_thread, mkl_intel_ilp64, libiomp5md +#libraries = mkl_solver_ilp64, mkl_core, mkl_intel_thread, mkl_intel_ilp64, libiomp5md # The next works too, but for LP64 arithmetic -#mkl_libs = mkl_core, mkl_intel_thread, mkl_intel_lp64, libiomp5md +#libraries = mkl_core, mkl_intel_thread, mkl_intel_lp64, libiomp5md # Example with Intel compiler version 14.0.2 and MKL v11.1.2 on intel64 architecture -#mkl_libs = mkl_intel_lp64, mkl_gf_lp64, mkl_intel_thread, mkl_core, mkl_def, mkl_vml_avx, mkl_rt, iomp5 +#libraries = mkl_intel_lp64, mkl_gf_lp64, mkl_intel_thread, mkl_core, mkl_def, mkl_vml_avx, mkl_rt, iomp5 # For details, see https://github.com/pydata/numexpr/issues/148 # Example for MKL2018 on Windows x64 @@ -49,4 +49,4 @@ [mkl] library_dirs=/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64;/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/compiler/lib/intel64 include_dirs=/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/include -mkl_libs = mkl_intel_lp64, mkl_intel_thread, mkl_core, libiomp5md \ No newline at end of file +libraries = mkl_intel_lp64, mkl_intel_thread, mkl_core, libiomp5md \ No newline at end of file
