Fully support Python 3.13, including CI testing and wheel building (#4436)

This commit is contained in:
Ewout ter Hoeven 2024-08-26 19:07:54 +02:00 committed by GitHub
parent 823a7b0ff0
commit ac28187bf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 5 deletions

View File

@ -22,7 +22,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -31,6 +31,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies - name: Install dependencies
run: | run: |

View File

@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install cibuildwheel and pypyp - name: Install cibuildwheel and pypyp
run: | run: |
pipx install cibuildwheel==2.19.2 pipx install cibuildwheel==2.20.0
pipx install pypyp==1 pipx install pypyp==1
- name: generate matrix - name: generate matrix
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
@ -89,7 +89,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: pypa/cibuildwheel@v2.19.2 - uses: pypa/cibuildwheel@v2.20.0
with: with:
only: ${{ matrix.only }} only: ${{ matrix.only }}

View File

@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
python-version: ["3.12"] python-version: ["3.13"]
os: [macOS-latest, ubuntu-latest, windows-latest] os: [macOS-latest, ubuntu-latest, windows-latest]
steps: steps:

View File

@ -31,7 +31,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"]
os: [ubuntu-latest, macOS-latest, windows-latest] os: [ubuntu-latest, macOS-latest, windows-latest]
steps: steps:
@ -41,6 +41,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install tox - name: Install tox
run: | run: |

View File

@ -6,6 +6,8 @@
<!-- Include any especially major or disruptive changes here --> <!-- Include any especially major or disruptive changes here -->
- Black now officially supports Python 3.13 (#4436)
### Stable style ### Stable style
<!-- Changes that affect Black's stable style --> <!-- Changes that affect Black's stable style -->

View File

@ -60,6 +60,7 @@ classifiers = [
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Quality Assurance",
] ]