Skip to content

Commit

Permalink
build(meta): add Python 3.12 package classifier (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv authored Feb 2, 2024
1 parent 699ffc4 commit 0b1a047
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pdm update --pre aiohttp # XXX: temporarily install aiohttp prerelease for 3.12
pdm install -d -Gspeed -Gdocs -Gvoice
run: pdm install -d -Gspeed -Gdocs -Gvoice

- name: Add .venv/bin to PATH
run: dirname "$(pdm info --python)" >> $GITHUB_PATH
Expand Down Expand Up @@ -171,13 +169,11 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pdm update --pre aiohttp # XXX: temporarily install aiohttp prerelease for 3.12
pdm install -dG test # needed for coverage
run: pdm install -dG test # needed for coverage

- name: Test package install
run: |
python -m pip install --pre . # XXX: temporarily install aiohttp prerelease for 3.12; remove --pre flag again later
python -m pip install .
- name: Run pytest
id: run_tests
Expand Down
1 change: 1 addition & 0 deletions changelog/1117.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support Python 3.12.
File renamed without changes.
1 change: 1 addition & 0 deletions changelog/1128.feature.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support Python 3.12.
1 change: 1 addition & 0 deletions changelog/1135.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support Python 3.12.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down

0 comments on commit 0b1a047

Please sign in to comment.