Skip to content

Commit 6387a09

Browse files
authored
Build Python 3.10 wheels (update cibuildwheel to 2.7.0) (#1372)
1 parent b304ed0 commit 6387a09

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tools/wheels/build-wheels.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set WHEELHOUSE=%4
1313
if [%WHEELHOUSE%]==[] goto usage
1414
echo on
1515

16-
set CIBW_BUILD=cp36-%BW_ARCH% cp37-%BW_ARCH% cp38-%BW_ARCH% cp39-%BW_ARCH%
16+
set CIBW_BUILD=cp36-%BW_ARCH% cp37-%BW_ARCH% cp38-%BW_ARCH% cp39-%BW_ARCH% cp310-%BW_ARCH%
1717
set CIBW_BEFORE_BUILD=python -m pip install delvewheel==0.0.6
1818
set CIBW_TEST_REQUIRES=-r tests/requirements.txt
1919
set CIBW_TEST_COMMAND=pytest {project}\tests\test_Producer.py
@@ -25,7 +25,7 @@ set CIBW_REPAIR_WHEEL_COMMAND=python -m delvewheel repair --add-path %DLL_DIR% -
2525

2626
set PATH=%PATH%;c:\Program Files\Git\bin\
2727

28-
python -m pip install cibuildwheel==1.11.0 || goto :error
28+
python -m pip install cibuildwheel==2.7.0 || goto :error
2929

3030
python -m cibuildwheel --output-dir %WHEELHOUSE% --platform windows || goto :error
3131

tools/wheels/build-wheels.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
this_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
88

99

10-
# Skip PyPy, Python2, old Python3 versions, and x86 builds.
11-
export CIBW_SKIP="pp* cp27-* cp35-* *i686"
10+
# Skip PyPy, Python2, old Python3 versions, musl, and x86 builds.
11+
export CIBW_SKIP="pp* cp27-* cp35-* *i686 *musllinux*"
1212
# Run a simple test suite
1313
export CIBW_TEST_REQUIRES="-r tests/requirements.txt"
1414
export CIBW_TEST_COMMAND="pytest {project}/tests/test_Producer.py"
@@ -51,7 +51,7 @@ esac
5151

5252
$this_dir/install-librdkafka.sh $librdkafka_version dest
5353

54-
install_pkgs=cibuildwheel==1.11.0
54+
install_pkgs=cibuildwheel==2.7.0
5555

5656
python3 -m pip install $install_pkgs ||
5757
pip3 install $install_pkgs

0 commit comments

Comments
 (0)