-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Giving up in producing Python 3.13 wheels for now
- Loading branch information
1 parent
4e72164
commit 4ac1d98
Showing
2 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,8 @@ jobs: | |
arch: [x86_64, aarch64] | ||
# Just build for x86_64 for now (Mac arm64 is already covered by cibuildwheel) | ||
# arch: [x86_64] | ||
cibw_build: ["cp3{11,12,13}-*"] | ||
p_ver: ["3.11-3.13"] | ||
cibw_build: ["cp3{10,11,12}-*"] | ||
p_ver: ["3.10-3.12"] | ||
exclude: | ||
- os: windows-latest | ||
arch: aarch64 | ||
|
@@ -69,27 +69,28 @@ jobs: | |
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
# Python 3.13 fails with: | ||
# from blosc2.schunk import SChunk | ||
# ../venv/lib/python3.13/site-packages/blosc2/schunk.py:1346: in <module> | ||
# @_inherit_doc_parameter(blosc2.Storage, "initial_mapping_size:", {r"r\+ w\+, or c": "r+ or c"}) | ||
# ../venv/lib/python3.13/site-packages/blosc2/helpers.py:15: in wrapper | ||
# match is not None | ||
# E AssertionError: Parameter initial_mapping_size: not found in the docstring of Storage | ||
# I don't see obvious way to fix this, so we skip it for now | ||
CIBW_BEFORE_TEST: | | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
if [ "%PYTHON_VERSION%" == "3.13" ]; then | ||
echo "Skipping tests for Python 3.13 on Windows" | ||
exit 0 | ||
fi | ||
else | ||
if [ "${{ matrix.p_ver }}" == "3.13" ]; then | ||
echo "Skipping tests for Python 3.13 on Unix-like systems" | ||
exit 0 | ||
fi | ||
fi | ||
# TODO: fix this when releasing Python 3.13 wheels | ||
# env: | ||
# # Python 3.13 fails with: | ||
# # from blosc2.schunk import SChunk | ||
# # ../venv/lib/python3.13/site-packages/blosc2/schunk.py:1346: in <module> | ||
# # @_inherit_doc_parameter(blosc2.Storage, "initial_mapping_size:", {r"r\+ w\+, or c": "r+ or c"}) | ||
# # ../venv/lib/python3.13/site-packages/blosc2/helpers.py:15: in wrapper | ||
# # match is not None | ||
# # E AssertionError: Parameter initial_mapping_size: not found in the docstring of Storage | ||
# # I don't see obvious way to fix this, so we skip it for now | ||
# CIBW_BEFORE_TEST: | | ||
# if [ "$RUNNER_OS" == "Windows" ]; then | ||
# if [ "%PYTHON_VERSION%" == "3.13" ]; then | ||
# echo "Skipping tests for Python 3.13 on Windows" | ||
# exit 0 | ||
# fi | ||
# else | ||
# if [ "${{ matrix.p_ver }}" == "3.13" ]; then | ||
# echo "Skipping tests for Python 3.13 on Unix-like systems" | ||
# exit 0 | ||
# fi | ||
# fi | ||
|
||
- name: Upload wheels | ||
uses: actions/upload-artifact@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters