diff --git a/SPECS/Cython/Cython.spec b/SPECS/Cython/Cython.spec index e4298554352..f6c0ac3e236 100644 --- a/SPECS/Cython/Cython.spec +++ b/SPECS/Cython/Cython.spec @@ -3,7 +3,7 @@ Cython is an optimising static compiler for both the Python programming language Summary: Language for writing Python extension modules Name: Cython Version: 3.0.5 -Release: 2%{?dist} +Release: 3%{?dist} License: Apache-2.0 Vendor: Microsoft Corporation Distribution: Azure Linux @@ -40,13 +40,17 @@ Provides: %{name}%{?_isa} = %{version}-%{release} rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests %check -pip3 install -r test-requirements-312.txt +pip3 install -r test-requirements-312.txt + +# Fix upstream flake8 E502 (redundant backslash between brackets) +sed -i '/\\$/s/\\$//' Cython/Build/IpythonMagic.py + # Skip the file based tests, since they typically take over 5 hours to run. %python3 runtests.py -vv --no-file %files -n python3-%{name} %license LICENSE.txt COPYING.txt -%doc *.txt Demos docs Tools +%doc Demos docs Tools %{_bindir}/cython %{_bindir}/cygdb %{_bindir}/cythonize @@ -57,6 +61,9 @@ pip3 install -r test-requirements-312.txt %{python3_sitearch}/__pycache__/cython.* %changelog +* Tue Apr 28 2026 Akarsh Chaudhary - 3.0.5-3 +- Applied sed-based fix in %check to remove redundant backslash (E502) in IpythonMagic.py, enabling TestCodeFormat to pass successfully. + * Thu Mar 21 2024 Andrew Phelps - 3.0.5-2 - Switch to test-requirements-312.txt - Skip long-running file based tests diff --git a/toolkit/resources/manifests/package/toolchain_aarch64.txt b/toolkit/resources/manifests/package/toolchain_aarch64.txt index fbcebd0b0b0..412e9d3089f 100644 --- a/toolkit/resources/manifests/package/toolchain_aarch64.txt +++ b/toolkit/resources/manifests/package/toolchain_aarch64.txt @@ -71,7 +71,7 @@ curl-8.11.1-6.azl3.aarch64.rpm curl-debuginfo-8.11.1-6.azl3.aarch64.rpm curl-devel-8.11.1-6.azl3.aarch64.rpm curl-libs-8.11.1-6.azl3.aarch64.rpm -Cython-debuginfo-3.0.5-2.azl3.aarch64.rpm +Cython-debuginfo-3.0.5-3.azl3.aarch64.rpm debugedit-5.0-2.azl3.aarch64.rpm debugedit-debuginfo-5.0-2.azl3.aarch64.rpm diffutils-3.10-1.azl3.aarch64.rpm @@ -535,7 +535,7 @@ python3-3.12.9-10.azl3.aarch64.rpm python3-audit-3.1.2-1.azl3.aarch64.rpm python3-cracklib-2.9.11-1.azl3.aarch64.rpm python3-curses-3.12.9-10.azl3.aarch64.rpm -python3-Cython-3.0.5-2.azl3.aarch64.rpm +python3-Cython-3.0.5-3.azl3.aarch64.rpm python3-debuginfo-3.12.9-10.azl3.aarch64.rpm python3-devel-3.12.9-10.azl3.aarch64.rpm python3-flit-core-3.9.0-1.azl3.noarch.rpm diff --git a/toolkit/resources/manifests/package/toolchain_x86_64.txt b/toolkit/resources/manifests/package/toolchain_x86_64.txt index 619f1cffaec..0a08a4a3b10 100644 --- a/toolkit/resources/manifests/package/toolchain_x86_64.txt +++ b/toolkit/resources/manifests/package/toolchain_x86_64.txt @@ -76,7 +76,7 @@ curl-8.11.1-6.azl3.x86_64.rpm curl-debuginfo-8.11.1-6.azl3.x86_64.rpm curl-devel-8.11.1-6.azl3.x86_64.rpm curl-libs-8.11.1-6.azl3.x86_64.rpm -Cython-debuginfo-3.0.5-2.azl3.x86_64.rpm +Cython-debuginfo-3.0.5-3.azl3.x86_64.rpm debugedit-5.0-2.azl3.x86_64.rpm debugedit-debuginfo-5.0-2.azl3.x86_64.rpm diffutils-3.10-1.azl3.x86_64.rpm @@ -543,7 +543,7 @@ python3-3.12.9-10.azl3.x86_64.rpm python3-audit-3.1.2-1.azl3.x86_64.rpm python3-cracklib-2.9.11-1.azl3.x86_64.rpm python3-curses-3.12.9-10.azl3.x86_64.rpm -python3-Cython-3.0.5-2.azl3.x86_64.rpm +python3-Cython-3.0.5-3.azl3.x86_64.rpm python3-debuginfo-3.12.9-10.azl3.x86_64.rpm python3-devel-3.12.9-10.azl3.x86_64.rpm python3-flit-core-3.9.0-1.azl3.noarch.rpm