diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5c225e8e..e7d2b61b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,9 +10,9 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x @@ -39,10 +39,18 @@ jobs: os: [macos-latest, ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + # Used to host cibuildwheel + - uses: actions/setup-python@v5 + with: + python-version: 3.x + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.16.5 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.0 + run: python -m cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v3 with: @@ -60,7 +68,7 @@ jobs: id-token: write steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x @@ -73,4 +81,3 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} - diff --git a/pyproject.toml b/pyproject.toml index 8f2773dd..ca0ea2de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development', @@ -94,7 +95,7 @@ before-build = [ "pip3 install certifi", "git clean -fxd build", ] -build = ["cp39-*", "cp310-*", "cp311-*"] +build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*"] [tool.cibuildwheel.linux] archs = ["native"]