Skip to content

Commit

Permalink
fixup! [CI] Test with Python 3.13 and 3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmlnkn committed Sep 15, 2024
1 parent cbd41ab commit 1395711
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,6 @@ jobs:
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade-strategy eager --upgrade cython twine build zstandard fusepy cffi
- name: Install Cutting-Edge Dependencies
if: matrix.python-version == '3.13.0-rc.2' || matrix.python-version == '3.14.0-alpha.0'
run: |
# https://github.com/indygreg/python-zstandard/issues/223
python3 -m pip install --upgrade \
'git+https://github.com/indygreg/python-zstandard.git@main#egginfo=zstandard'
- name: Test Startup With Only One Compression Dependency
run: |
for module in indexed_gzip indexed_zstd lzmaffi python-xz; do
Expand Down
18 changes: 15 additions & 3 deletions core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ full = [
"PySquashfsImage == 0.9.0",
"lz4 ~= 4.0.0",
"python-lzo ~= 1.0",
"zstandard ~= 0.22.0",
# Need at least 0.23.0 for Python 3.13 support.
# https://github.com/indygreg/python-zstandard/issues/223
# The old zstandard-python versions for Python < 3.8 are untested because they are EOL.
'zstandard ~= 0.20.0; python_version == "3.6.0"',
'zstandard ~= 0.21.0; python_version == "3.7.0"',
'zstandard ~= 0.23.0; python_version >= "3.8.0"',
"isal ~= 1.0",
'pyfatfs ~= 1.0; python_version < "3.12.0"',
]
Expand All @@ -71,8 +76,15 @@ squashfs = [
"PySquashfsImage == 0.9.0",
"lz4 ~= 4.0.0",
"python-lzo ~= 1.0",
"zstandard ~= 0.22.0",
"isal ~= 1.0",
# Need at least 0.23.0 for Python 3.13 support.
# https://github.com/indygreg/python-zstandard/issues/223
# The old zstandard-python versions for Python < 3.8 are untested because they are EOL.
'zstandard ~= 0.20.0; python_version == "3.6.0"',
'zstandard ~= 0.21.0; python_version == "3.7.0"',
'zstandard ~= 0.23.0; python_version >= "3.8.0"',
# With Python 3.14, when building the wheel, I get:
# /usr/bin/ld: cannot find /tmp/tmpcuw21d78/bin/isa-l.a: No such file or directory
'isal ~= 1.0; python_version < "3.14.0"',
]
xz = ["python-xz ~= 0.4.0"]
zip = []
Expand Down
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,15 @@ full = [
"PySquashfsImage == 0.9.0",
"lz4 ~= 4.0.0",
"python-lzo ~= 1.0",
"zstandard ~= 0.22.0",
"isal ~= 1.0",
# Need at least 0.23.0 for Python 3.13 support.
# https://github.com/indygreg/python-zstandard/issues/223
# The old zstandard-python versions for Python < 3.8 are untested because they are EOL.
'zstandard ~= 0.20.0; python_version == "3.6.0"',
'zstandard ~= 0.21.0; python_version == "3.7.0"',
'zstandard ~= 0.23.0; python_version >= "3.8.0"',
# With Python 3.14, when building the wheel, I get:
# /usr/bin/ld: cannot find /tmp/tmpcuw21d78/bin/isa-l.a: No such file or directory
'isal ~= 1.0; python_version < "3.14.0"',
]
bzip2 = []
gzip = []
Expand Down

0 comments on commit 1395711

Please sign in to comment.