Accepting request 1087264 from devel:languages:python:numeric

- update to 0.13.1:
  * Bump xsimd dependency to 11.0.0, with a backported patch.
  * Improve performance of functions revieving scalar arguments.
    This changes the internal function call API.
  * Improve performance of fix-stride slicing, using a new slice
    representation.
  * Improve numpy.copyto performance, and detect copyto pattern usage.
  * Force internal linkage of generated functions, which gives more
    optimization room to the C++ compiler.
  * Provide entry points pythran.import_pythrancode and
    pythran.import_pythranfile, as a poor man JIT option.
  * Optimize numpy.argmax(cst * val) into numpy.argmax(val) when cst is
    positive.
  * Avoid copies upon numpy.array_split
  * Get rid of unused functions C++ warnings
  * Avoid generating a loop footer when the loop index is not used
    outside of the loop.
- fix the test-flavor splitting for python311

OBS-URL: https://build.opensuse.org/request/show/1087264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pythran?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2023-05-16 12:16:05 +00:00 committed by Git OBS Bridge
commit 83df97fda2
5 changed files with 39 additions and 17 deletions

View File

@ -1,5 +1,5 @@
<multibuild> <multibuild>
<package>test-py38</package>
<package>test-py39</package> <package>test-py39</package>
<package>test-py310</package> <package>test-py310</package>
<package>test-py311</package>
</multibuild> </multibuild>

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon May 15 15:19:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.13.1:
* Bump xsimd dependency to 11.0.0, with a backported patch.
* Improve performance of functions revieving scalar arguments.
This changes the internal function call API.
* Improve performance of fix-stride slicing, using a new slice
representation.
* Improve numpy.copyto performance, and detect copyto pattern usage.
* Force internal linkage of generated functions, which gives more
optimization room to the C++ compiler.
* Provide entry points pythran.import_pythrancode and
pythran.import_pythranfile, as a poor man JIT option.
* Optimize numpy.argmax(cst * val) into numpy.argmax(val) when cst is
positive.
* Avoid copies upon numpy.array_split
* Get rid of unused functions C++ warnings
* Avoid generating a loop footer when the loop index is not used
outside of the loop.
- fix the test-flavor splitting for python311
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 25 10:22:53 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Jan 25 10:22:53 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -17,35 +17,35 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test-py38"
%define psuffix -test-py38
%define skip_python39 1
%define skip_python310 1
%bcond_without test
ExclusiveArch: x86_64
%endif
%if "%{flavor}" == "test-py39" %if "%{flavor}" == "test-py39"
%define psuffix -test-py39 %define psuffix -test-py39
%define skip_python38 1 %define skip_python38 1
%define skip_python310 1 %define skip_python310 1
%bcond_without test %define skip_python311 1
ExclusiveArch: x86_64
%endif %endif
%if "%{flavor}" == "test-py310" %if "%{flavor}" == "test-py310"
%define psuffix -test-py310 %define psuffix -test-py310
%define skip_python38 1 %define skip_python38 1
%define skip_python39 1 %define skip_python39 1
%bcond_without test %define skip_python311 1
ExclusiveArch: x86_64 %endif
%if "%{flavor}" == "test-py311"
%define psuffix -test-py311
%define skip_python38 1
%define skip_python39 1
%define skip_python310 1
%endif %endif
%if "%{flavor}" == "" %if "%{flavor}" == ""
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%else
%bcond_without test
ExclusiveArch: x86_64
%endif %endif
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-pythran%{psuffix} Name: python-pythran%{psuffix}
Version: 0.12.1 Version: 0.13.1
Release: 0 Release: 0
Summary: Ahead of Time compiler for numeric kernels Summary: Ahead of Time compiler for numeric kernels
License: BSD-3-Clause License: BSD-3-Clause
@ -129,7 +129,7 @@ export CFLAGS="%{optflags}"
donttest="test_operator_intersection" donttest="test_operator_intersection"
# gh#serge-sans-paille/pythran#2044 NOT FIXED by gh#serge-sans-paille/pythran#2046 # gh#serge-sans-paille/pythran#2044 NOT FIXED by gh#serge-sans-paille/pythran#2046
donttest="$donttest or test_toolchain or test_cli" donttest="$donttest or test_toolchain or test_cli"
%pytest -n auto -k "not ($donttest)" -m "not module" %pytest %{?jobs:-n %jobs} -k "not ($donttest)" -m "not module"
%endif %endif
%if !%{with test} %if !%{with test}

BIN
pythran-0.12.1-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pythran-0.13.1-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.