Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions SPECS/Cython/Cython.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -57,6 +61,9 @@ pip3 install -r test-requirements-312.txt
%{python3_sitearch}/__pycache__/cython.*

%changelog
* Tue Apr 28 2026 Akarsh Chaudhary <v-akarshc@microsoft.com> - 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 <anphel@microsoft.com> - 3.0.5-2
- Switch to test-requirements-312.txt
- Skip long-running file based tests
Expand Down
4 changes: 2 additions & 2 deletions toolkit/resources/manifests/package/toolchain_aarch64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions toolkit/resources/manifests/package/toolchain_x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading