Skip to content

Commit 4ac1d98

Browse files
committed
Giving up in producing Python 3.13 wheels for now
1 parent 4e72164 commit 4ac1d98

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

.github/workflows/cibuildwheels.yml

+24-23
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
arch: [x86_64, aarch64]
3232
# Just build for x86_64 for now (Mac arm64 is already covered by cibuildwheel)
3333
# arch: [x86_64]
34-
cibw_build: ["cp3{11,12,13}-*"]
35-
p_ver: ["3.11-3.13"]
34+
cibw_build: ["cp3{10,11,12}-*"]
35+
p_ver: ["3.10-3.12"]
3636
exclude:
3737
- os: windows-latest
3838
arch: aarch64
@@ -69,27 +69,28 @@ jobs:
6969

7070
- name: Build wheels
7171
uses: pypa/[email protected]
72-
env:
73-
# Python 3.13 fails with:
74-
# from blosc2.schunk import SChunk
75-
# ../venv/lib/python3.13/site-packages/blosc2/schunk.py:1346: in <module>
76-
# @_inherit_doc_parameter(blosc2.Storage, "initial_mapping_size:", {r"r\+ w\+, or c": "r+ or c"})
77-
# ../venv/lib/python3.13/site-packages/blosc2/helpers.py:15: in wrapper
78-
# match is not None
79-
# E AssertionError: Parameter initial_mapping_size: not found in the docstring of Storage
80-
# I don't see obvious way to fix this, so we skip it for now
81-
CIBW_BEFORE_TEST: |
82-
if [ "$RUNNER_OS" == "Windows" ]; then
83-
if [ "%PYTHON_VERSION%" == "3.13" ]; then
84-
echo "Skipping tests for Python 3.13 on Windows"
85-
exit 0
86-
fi
87-
else
88-
if [ "${{ matrix.p_ver }}" == "3.13" ]; then
89-
echo "Skipping tests for Python 3.13 on Unix-like systems"
90-
exit 0
91-
fi
92-
fi
72+
# TODO: fix this when releasing Python 3.13 wheels
73+
# env:
74+
# # Python 3.13 fails with:
75+
# # from blosc2.schunk import SChunk
76+
# # ../venv/lib/python3.13/site-packages/blosc2/schunk.py:1346: in <module>
77+
# # @_inherit_doc_parameter(blosc2.Storage, "initial_mapping_size:", {r"r\+ w\+, or c": "r+ or c"})
78+
# # ../venv/lib/python3.13/site-packages/blosc2/helpers.py:15: in wrapper
79+
# # match is not None
80+
# # E AssertionError: Parameter initial_mapping_size: not found in the docstring of Storage
81+
# # I don't see obvious way to fix this, so we skip it for now
82+
# CIBW_BEFORE_TEST: |
83+
# if [ "$RUNNER_OS" == "Windows" ]; then
84+
# if [ "%PYTHON_VERSION%" == "3.13" ]; then
85+
# echo "Skipping tests for Python 3.13 on Windows"
86+
# exit 0
87+
# fi
88+
# else
89+
# if [ "${{ matrix.p_ver }}" == "3.13" ]; then
90+
# echo "Skipping tests for Python 3.13 on Unix-like systems"
91+
# exit 0
92+
# fi
93+
# fi
9394

9495
- name: Upload wheels
9596
uses: actions/upload-artifact@v3

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"Operating System :: Microsoft :: Windows",
2525
"Operating System :: Unix",
2626
"Programming Language :: Python :: 3",
27+
"Programming Language :: Python :: 3.10",
2728
"Programming Language :: Python :: 3.11",
2829
"Programming Language :: Python :: 3.12",
2930
"Programming Language :: Python :: 3.13",

0 commit comments

Comments
 (0)