Add support for Python 3.12
This commit is contained in:
parent
0e033b0e5c
commit
eda6fa5cfb
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -33,20 +33,22 @@ jobs:
|
|||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.8", "3.10"]
|
python-version: ["3.8", "3.11", "3.12"]
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest]
|
||||||
exclude: # Only test on the latest supported stable Python on macOS and Windows.
|
include: # Only test on the latest supported stable Python on macOS and Windows.
|
||||||
- platform: macos-latest
|
- platform: macos-latest
|
||||||
python-version: 3.8
|
python-version: 3.11
|
||||||
- platform: windows-latest
|
- platform: windows-latest
|
||||||
python-version: 3.8
|
python-version: 3.11
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
allow-prereleases: true
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: pip install tox coverage
|
run: pip install tox coverage
|
||||||
- name: Run Tox
|
- name: Run Tox
|
||||||
|
1
setup.py
1
setup.py
@ -165,6 +165,7 @@ classifiers = {
|
|||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"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",
|
"Programming Language :: Python :: 3",
|
||||||
"Topic :: Text Processing :: Fonts",
|
"Topic :: Text Processing :: Fonts",
|
||||||
"Topic :: Multimedia :: Graphics",
|
"Topic :: Multimedia :: Graphics",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user