#4 Update to 0.29.3, enable tests
Merged 5 years ago by churchyard. Opened 5 years ago by churchyard.
rpms/ churchyard/Cython 0293  into  master

file modified
+1
@@ -30,3 +30,4 @@ 

  /Cython-0.29~rc2.tar.gz

  /Cython-0.29.tar.gz

  /Cython-0.29.1.tar.gz

+ /Cython-0.29.3.tar.gz

file modified
+18 -7
@@ -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 @@ 

  

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

  %{_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

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (Cython-0.29.1.tar.gz) = c748ec49fd1a1b61a0a252278d56458d5fcd46dc49abbc2ddcf73aac1330d6be21ecd944bbe1b6b432fce9fc68fd7396b5beeb4cb460585af6fe2d58effebdcc

+ SHA512 (Cython-0.29.3.tar.gz) = 364c92338b9af5887544f07ac5745addd626e71ce9ff143e9ba5e5ef679aafd3c2f23734b5b98a6ce877f2eda5d48c9172234027040e6e2bdcb899de3dd20bf7

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 test with --cython-only on i686.

Also, no arm builder of any of my scratch build finished yet, so no idea if those will pass.

If arm tests run longer than bearable, we might want to limit them there to a bare minimum.

rebased onto 576a58b

5 years ago

rebased onto fcdee67

5 years ago

Updated the description.

please leave this as it was because in case of pre-release, it will differ from upver.

my idea was to have this with macro and only change it in an actual case of a pre-release

Let's not make bikeshedding hold us back. The version macro can be adjusted next time, in less time than it'd take for this conversation :)

+1, please merge

rebased onto 8fbaae6

5 years ago

rebased to only skip the problematic test on i686

Pull-Request has been merged by churchyard

5 years ago