Skip to content

Commit

Permalink
enable 3.11 builds
Browse files Browse the repository at this point in the history
Updates CI and build script to build 3.11 release builds rather than
using the 3.11 pre-releases.
  • Loading branch information
jcrist committed Oct 28, 2022
1 parent d5b3aac commit 065825f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
env:
CIBW_TEST_REQUIRES: "pytest msgpack"
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_BUILD: "cp38-* cp39-* cp310-*"
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*"
CIBW_SKIP: "*-win32 *_i686 *_s390x *_ppc64le"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
Expand All @@ -96,14 +96,8 @@ jobs:
run: |
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp38-*_aarch64 cp39-*_aarch64 cp311-*_aarch64" >> $GITHUB_ENV
- name: Enable CPython 3.11 prerelease builds for Linux testing
if: github.event_name != 'release' && runner.os == 'Linux'
run: |
echo "CIBW_PRERELEASE_PYTHONS=True" >> $GITHUB_ENV
echo "CIBW_BUILD=cp38-* cp39-* cp310-* cp311-*" >> $GITHUB_ENV
- name: Build & Test Wheels
uses: pypa/cibuildwheel@v2.8.0
uses: pypa/cibuildwheel@v2.11.2

- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
license="BSD",
packages=["msgspec"],
Expand Down

0 comments on commit 065825f

Please sign in to comment.