diff --git a/Cython.spec b/Cython.spec index 5f252de..b46e0f2 100644 --- a/Cython.spec +++ b/Cython.spec @@ -5,7 +5,7 @@ %bcond cython_compile 1 Name: Cython -Version: 3.0.11 +Version: 3.2.4 Release: %autorelease Summary: Language for writing Python extension modules @@ -96,6 +96,13 @@ Provides: bundled(python3dist(tempita)) %if %{with tests} %check +%if 0%{?__isa_bits} < 64 +# On 32-bit platforms, with their inherent ~4GB/process address space +# limitation, at least test_many_expressions fails due to memory exhaustion +# unless we reduce the debuginfo level (RHBZ#2339845). +export CFLAGS="${CFLAGS} -g1" +%endif + # run.pstats_profile_test* fails on Python 3.12 # https://github.com/cython/cython/issues/5470 # run.numpy_parallel fails on i686 @@ -113,7 +120,7 @@ Provides: bundled(python3dist(tempita)) %files -n python3-cython -f %{pyproject_files} -%doc *.txt Demos Doc Tools +%doc README.rst CHANGES.rst USAGE.txt Demos Doc Tools %{_bindir}/cython %{_bindir}/cygdb %{_bindir}/cythonize diff --git a/sources b/sources index a1c6015..eca0943 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-3.0.11.tar.gz) = 8f7982af5be1db1072b1090257a9d487dc341d79522f442f4608303d18b388349a7d586ec74e66fbffd0ce88c00ca622202729907fe7cefef71828cfd3f68fe6 +SHA512 (Cython-3.2.4.tar.gz) = 5ab8e39739a79debbe89b2ff5b6d88e1b7aafd5ad34460f14f3fc2bd90c10bdc9d6aa5b5844a48e30402dde9790cb9abcba3dc2b4e8cde24c4eeee818a180099 diff --git a/tests/testsuite/main.fmf b/tests/testsuite/main.fmf index 23d1dec..608f3c9 100644 --- a/tests/testsuite/main.fmf +++ b/tests/testsuite/main.fmf @@ -10,10 +10,11 @@ require: - python3-pip - python3-numpy - python3-pytest - - flexiblas-devel # for pythran + - blas-devel # for pythran # ipython and pythran installed from PyPI, not available in RHEL + # Add ipython again when upstream resolves https://github.com/cython/cython/issues/7075 test: | - pip install ipython==8.24.0 pythran==0.15.0 && + pip install pythran==0.18.0 && cd $(dirname $TMT_SOURCE_DIR/cython-*/tests) && python3 runtests.py -vv --no-pyregr --exclude 'run.pstats_profile_test*' duration: 240m