File: Skip-tests-that-require-Cython-3.1.patch

package info (click to toggle)
extension-helpers 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: python: 1,082; ansic: 69; makefile: 16
file content (28 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Ole Streicher <olebole@debian.org>
Date: Thu, 18 Sep 2025 13:40:26 +0200
Subject: Skip tests that require Cython >= 3.1

---
 extension_helpers/tests/test_setup_helpers.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extension_helpers/tests/test_setup_helpers.py b/extension_helpers/tests/test_setup_helpers.py
index cf15b7a..1f5b0d6 100644
--- a/extension_helpers/tests/test_setup_helpers.py
+++ b/extension_helpers/tests/test_setup_helpers.py
@@ -468,6 +468,7 @@ def test_only_pyproject(tmp_path, pyproject_use_helpers):
 # Tests to make sure that limited API support works correctly
 
 
+@pytest.mark.skip(reason="Requires Cython >= 3.1")
 @pytest.mark.parametrize("config", ("setup.cfg", "pyproject.toml"))
 @pytest.mark.parametrize("envvar", (False, True))
 @pytest.mark.parametrize("limited_api", (None, "cp310"))
@@ -569,6 +570,7 @@ def test_limited_api(tmp_path, config, envvar, limited_api, extension_type):
     assert ("abi3" in wheels[0]) == (limited_api is not None)
 
 
+@pytest.mark.skip(reason="Requires Cython >= 3.1")
 def test_limited_api_invalid_abi(tmp_path, capsys):
 
     package = _extension_test_package(