Skip to content

Commit

Permalink
Support 3.10 wheel (#316)
Browse files Browse the repository at this point in the history
* Support 3.10 wheel for all but manylinux1
  • Loading branch information
TingDaoK authored Oct 7, 2021
1 parent 7ba020b commit 24bf341
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
- cp37-cp37m
- cp38-cp38
- cp39-cp39
- cp310-cp310
steps:
# Only aarch64 needs this, but it doesn't hurt anything
- name: Install qemu/docker
Expand Down
3 changes: 3 additions & 0 deletions continuous-delivery/build-wheels-manylinux2014-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ auditwheel repair --plat manylinux2014_aarch64 dist/awscrt-*cp38*.whl
/opt/python/cp39-cp39/bin/python setup.py sdist bdist_wheel
auditwheel repair --plat manylinux2014_aarch64 dist/awscrt-*cp39*.whl

/opt/python/cp310-cp310/bin/python setup.py sdist bdist_wheel
auditwheel repair --plat manylinux2014_aarch64 dist/awscrt-*cp310*.whl

rm dist/*.whl
cp -rv wheelhouse/* dist/

Expand Down
3 changes: 3 additions & 0 deletions continuous-delivery/build-wheels-manylinux2014-x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp38*.whl
/opt/python/cp39-cp39/bin/python setup.py sdist bdist_wheel
auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp39*.whl

/opt/python/cp310-cp310/bin/python setup.py sdist bdist_wheel
auditwheel repair --plat manylinux2014_x86_64 dist/awscrt-*cp310*.whl

rm dist/*.whl
cp -rv wheelhouse/* dist/

Expand Down
1 change: 1 addition & 0 deletions continuous-delivery/build-wheels-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ export MACOSX_DEPLOYMENT_TARGET="10.9"
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 setup.py sdist bdist_wheel
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 setup.py sdist bdist_wheel
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 setup.py sdist bdist_wheel
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 setup.py sdist bdist_wheel

#now you just need to run twine (that's in a different script)
1 change: 1 addition & 0 deletions continuous-delivery/build-wheels-win32.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"C:\Program Files (x86)\Python37-32\python.exe" setup.py sdist bdist_wheel || goto error
"C:\Program Files (x86)\Python38-32\python.exe" setup.py sdist bdist_wheel || goto error
"C:\Program Files (x86)\Python39-32\python.exe" setup.py sdist bdist_wheel || goto error
"C:\Program Files (x86)\Python310-32\python.exe" setup.py sdist bdist_wheel || goto error

goto :EOF

Expand Down
1 change: 1 addition & 0 deletions continuous-delivery/build-wheels-win64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"C:\Program Files\Python37\python.exe" setup.py sdist bdist_wheel || goto error
"C:\Program Files\Python38\python.exe" setup.py sdist bdist_wheel || goto error
"C:\Program Files\Python39\python.exe" setup.py sdist bdist_wheel || goto error
"C:\Program Files\Python310\python.exe" setup.py sdist bdist_wheel || goto error

goto :EOF

Expand Down

0 comments on commit 24bf341

Please sign in to comment.