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.
This commit is contained in:
Miro Hrončok 2019-01-19 14:19:59 +01:00
parent 9c7f46b95b
commit 8fbaae6d84
3 changed files with 20 additions and 8 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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 <mhroncok@redhat.com> - 0.29.3-1
- Update to 0.29.3 (#1667643)
* Tue Jan 08 2019 Alex Cobb <alex.cobb@smart.mit.edu> - 0.29.1-2
- Added emacs-cython-mode subpackage

View File

@ -1 +1 @@
SHA512 (Cython-0.29.1.tar.gz) = c748ec49fd1a1b61a0a252278d56458d5fcd46dc49abbc2ddcf73aac1330d6be21ecd944bbe1b6b432fce9fc68fd7396b5beeb4cb460585af6fe2d58effebdcc
SHA512 (Cython-0.29.3.tar.gz) = 364c92338b9af5887544f07ac5745addd626e71ce9ff143e9ba5e5ef679aafd3c2f23734b5b98a6ce877f2eda5d48c9172234027040e6e2bdcb899de3dd20bf7