From 8fbaae6d8482329a132e94734c13726a070cd87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 19 Jan 2019 14:19:59 +0100 Subject: [PATCH] Update to 0.29.3, enable tests Tests were entirely disabled due to Big Endian failure in one module. This enables them back but excludes the failing tests on Big Endian. Since the tests are quite slow, this also: * disables CPython regression tests * runs the tests in parallel with %{?_smp_mflags} (-j) However, there are weird test errors on one of the Koji's i686 builders. This was reported to upstream: https://github.com/cython/cython/issues/2807 Until that's sorted out, we skip a test on i686. --- .gitignore | 1 + Cython.spec | 25 ++++++++++++++++++------- sources | 2 +- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index fff6f51..3520dc3 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ Cython-0.12.1.tar.gz /Cython-0.29~rc2.tar.gz /Cython-0.29.tar.gz /Cython-0.29.1.tar.gz +/Cython-0.29.3.tar.gz diff --git a/Cython.spec b/Cython.spec index 67356b4..98394c0 100644 --- a/Cython.spec +++ b/Cython.spec @@ -1,13 +1,12 @@ %global srcname Cython %global upname cython -# https://github.com/cython/cython/issues/1982 -%bcond_with tests +%bcond_without tests Name: Cython -%global upver 0.29.1 -Version: 0.29.1 -Release: 2%{?dist} +%global upver 0.29.3 +Version: %{upver} +Release: 1%{?dist} Summary: Language for writing Python extension modules License: ASL 2.0 @@ -99,8 +98,17 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %if %{with tests} %check -%{__python2} runtests.py -vv -%{__python3} runtests.py -vv +for python in %{__python2} %{__python3}; do + + $python runtests.py -vv --no-pyregr %{?_smp_mflags} \ + %ifarch s390x ppc64 + --exclude numpy_subarray # https://github.com/cython/cython/issues/1982 + %endif + %ifarch %{ix86} + --exclude run.parallel # https://github.com/cython/cython/issues/2807 + %endif + +done %endif %files -n python2-%{srcname} @@ -129,6 +137,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* Sat Jan 19 2019 Miro HronĨok - 0.29.3-1 +- Update to 0.29.3 (#1667643) + * Tue Jan 08 2019 Alex Cobb - 0.29.1-2 - Added emacs-cython-mode subpackage diff --git a/sources b/sources index b641836..ad00e69 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.1.tar.gz) = c748ec49fd1a1b61a0a252278d56458d5fcd46dc49abbc2ddcf73aac1330d6be21ecd944bbe1b6b432fce9fc68fd7396b5beeb4cb460585af6fe2d58effebdcc +SHA512 (Cython-0.29.3.tar.gz) = 364c92338b9af5887544f07ac5745addd626e71ce9ff143e9ba5e5ef679aafd3c2f23734b5b98a6ce877f2eda5d48c9172234027040e6e2bdcb899de3dd20bf7