Skip to content

Commit 7ae27ef

Browse files
committed
test: pin charset-normalizer below 3.5.0 to fix Python 3.14 CI failures
charset-normalizer 3.5.0 rewrote its compiled extension from mypyc to Cython, which is ABI-broken on Python 3.14: AttributeError: module 'charset_normalizer.md' has no attribute 'CharInfo' This was breaking pytest collection (via requests -> charset-normalizer) on the Python 3.14 test containers (Ubuntu 26.04, Photon OS 5), unrelated to the bootstrap-salt.sh changes in this branch.
1 parent d45bcde commit 7ae27ef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
pytest
22
requests
33
packaging
4+
# charset-normalizer>=3.5.0 rewrote its compiled extension from mypyc to
5+
# Cython, which is ABI-broken on Python 3.14 (AttributeError:
6+
# module 'charset_normalizer.md' has no attribute 'CharInfo').
7+
charset-normalizer<3.5.0

0 commit comments

Comments
 (0)