Skip to content

Commit b7e19cc

Browse files
authored
Gate isal test dependency to CPython (#12589)
1 parent f18ccd8 commit b7e19cc

7 files changed

Lines changed: 13 additions & 6 deletions

File tree

CHANGES/12589.contrib.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Restricted the ``isal`` test dependency to CPython, since
2+
``isal`` 1.8.0 stopped publishing PyPy wheels and the source
3+
build requires ``nasm``, which is not available on the CI
4+
runners. The ``parametrize_zlib_backend`` fixture already
5+
calls ``pytest.importorskip``, so PyPy continues to exercise
6+
the ``zlib`` and ``zlib_ng`` backends with no further
7+
changes -- by :user:`bdraco`.

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ imagesize==2.0.0
109109
# via sphinx
110110
iniconfig==2.3.0
111111
# via pytest
112-
isal==1.7.2 ; python_version < "3.14"
112+
isal==1.7.2 ; python_version < "3.14" and implementation_name == "cpython"
113113
# via
114114
# -r requirements/lint.in
115115
# -r requirements/test-common.in

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ imagesize==2.0.0
107107
# via sphinx
108108
iniconfig==2.3.0
109109
# via pytest
110-
isal==1.7.2 ; python_version < "3.14"
110+
isal==1.7.2 ; python_version < "3.14" and implementation_name == "cpython"
111111
# via
112112
# -r requirements/lint.in
113113
# -r requirements/test-common.in

requirements/test-common.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
blockbuster
22
coverage
33
freezegun
4-
isal; python_version < "3.14" # no wheel for 3.14
4+
isal; python_version < "3.14" and implementation_name == "cpython" # no wheel for 3.14, no PyPy wheel for 1.8.0+
55
mypy; implementation_name == "cpython"
66
pkgconfig
77
proxy.py >= 2.4.4rc5

requirements/test-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ idna==3.15
5050
# yarl
5151
iniconfig==2.3.0
5252
# via pytest
53-
isal==1.8.0 ; python_version < "3.14"
53+
isal==1.8.0 ; python_version < "3.14" and implementation_name == "cpython"
5454
# via -r requirements/test-common.in
5555
librt==0.11.0
5656
# via mypy

requirements/test-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ idna==3.15
6767
# yarl
6868
iniconfig==2.3.0
6969
# via pytest
70-
isal==1.8.0 ; python_version < "3.14"
70+
isal==1.8.0 ; python_version < "3.14" and implementation_name == "cpython"
7171
# via -r requirements/test-common.in
7272
librt==0.11.0
7373
# via mypy

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ idna==3.15
6767
# yarl
6868
iniconfig==2.3.0
6969
# via pytest
70-
isal==1.7.2 ; python_version < "3.14"
70+
isal==1.7.2 ; python_version < "3.14" and implementation_name == "cpython"
7171
# via -r requirements/test-common.in
7272
librt==0.11.0
7373
# via mypy

0 commit comments

Comments
 (0)