Skip to content

Commit 392fadb

Browse files
authored
Cython: skip long tests (#8546)
1 parent 08869da commit 392fadb

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

SPECS/Cython/Cython.spec

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Cython is an optimising static compiler for both the Python programming language
33
Summary: Language for writing Python extension modules
44
Name: Cython
55
Version: 0.29.33
6-
Release: 1%{?dist}
6+
Release: 2%{?dist}
77
License: Apache-2.0
88
Vendor: Microsoft Corporation
99
Distribution: Mariner
@@ -40,7 +40,8 @@ rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests
4040

4141
%check
4242
pip3 install -r test-requirements.txt
43-
%python3 runtests.py -vv
43+
# Skip long-running file and examples tests
44+
%python3 runtests.py -vv --no-file --no-examples
4445

4546
%files -n python3-%{name}
4647
%license LICENSE.txt COPYING.txt
@@ -55,6 +56,9 @@ pip3 install -r test-requirements.txt
5556
%{python3_sitearch}/__pycache__/cython.*
5657

5758
%changelog
59+
* Mon Mar 25 2024 Andrew Phelps <anphel@microsoft.com> - 0.29.33-2
60+
- Skip long-running file and examples tests
61+
5862
* Mon Feb 13 2023 Olivia Crain <oliviacrain@microsoft.com> - 0.29.33-1
5963
- Update to latest upstream patch version to fix failing package tests
6064
- Use release tarball instead of git snapshot of release commit

toolkit/resources/manifests/package/toolchain_aarch64.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ curl-8.5.0-2.cm2.aarch64.rpm
5050
curl-debuginfo-8.5.0-2.cm2.aarch64.rpm
5151
curl-devel-8.5.0-2.cm2.aarch64.rpm
5252
curl-libs-8.5.0-2.cm2.aarch64.rpm
53-
Cython-debuginfo-0.29.33-1.cm2.aarch64.rpm
53+
Cython-debuginfo-0.29.33-2.cm2.aarch64.rpm
5454
debugedit-5.0-2.cm2.aarch64.rpm
5555
debugedit-debuginfo-5.0-2.cm2.aarch64.rpm
5656
diffutils-3.8-2.cm2.aarch64.rpm
@@ -514,7 +514,7 @@ python3-3.9.14-8.cm2.aarch64.rpm
514514
python3-audit-3.0.6-8.cm2.aarch64.rpm
515515
python3-cracklib-2.9.7-5.cm2.aarch64.rpm
516516
python3-curses-3.9.14-8.cm2.aarch64.rpm
517-
python3-Cython-0.29.33-1.cm2.aarch64.rpm
517+
python3-Cython-0.29.33-2.cm2.aarch64.rpm
518518
python3-debuginfo-3.9.14-8.cm2.aarch64.rpm
519519
python3-devel-3.9.14-8.cm2.aarch64.rpm
520520
python3-gpg-1.16.0-2.cm2.aarch64.rpm

toolkit/resources/manifests/package/toolchain_x86_64.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ curl-8.5.0-2.cm2.x86_64.rpm
5353
curl-debuginfo-8.5.0-2.cm2.x86_64.rpm
5454
curl-devel-8.5.0-2.cm2.x86_64.rpm
5555
curl-libs-8.5.0-2.cm2.x86_64.rpm
56-
Cython-debuginfo-0.29.33-1.cm2.x86_64.rpm
56+
Cython-debuginfo-0.29.33-2.cm2.x86_64.rpm
5757
debugedit-5.0-2.cm2.x86_64.rpm
5858
debugedit-debuginfo-5.0-2.cm2.x86_64.rpm
5959
diffutils-3.8-2.cm2.x86_64.rpm
@@ -520,7 +520,7 @@ python3-3.9.14-8.cm2.x86_64.rpm
520520
python3-audit-3.0.6-8.cm2.x86_64.rpm
521521
python3-cracklib-2.9.7-5.cm2.x86_64.rpm
522522
python3-curses-3.9.14-8.cm2.x86_64.rpm
523-
python3-Cython-0.29.33-1.cm2.x86_64.rpm
523+
python3-Cython-0.29.33-2.cm2.x86_64.rpm
524524
python3-debuginfo-3.9.14-8.cm2.x86_64.rpm
525525
python3-devel-3.9.14-8.cm2.x86_64.rpm
526526
python3-gpg-1.16.0-2.cm2.x86_64.rpm

0 commit comments

Comments
 (0)