Skip to content

Commit

Permalink
Add support for Python 3.12 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvervloesem authored Oct 17, 2023
1 parent 444fa7a commit 55c0aa1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with: {fetch-depth: 0} # deep clone for setuptools-scm
- uses: actions/setup-python@v4
id: setup-python
with: {python-version: "3.11"}
with: {python-version: "3.12"}
- name: Run static analysis and format checkers
run: pipx run pre-commit run --all-files --show-diff-on-failure
- name: Build package distribution files
Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v3
with: {fetch-depth: 0} # deep clone for setuptools-scm
- uses: actions/setup-python@v4
with: {python-version: "3.11"}
with: {python-version: "3.12"}
- name: Build docs and run doctests and linkcheck
run: pipx run --spec tox==3.27.1 tox -e clean,docs,doctests,linkcheck

Expand All @@ -67,7 +67,8 @@ jobs:
- "3.8" # oldest Python supported by PSF
- "3.9"
- "3.10"
- "3.11" # newest Python that is stable
- "3.11"
- "3.12" # newest Python that is stable
platform:
- ubuntu-latest
- macos-latest
Expand Down Expand Up @@ -100,7 +101,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with: {python-version: "3.11"}
with: {python-version: "3.12"}
- name: Retrieve pre-built distribution files
uses: actions/download-artifact@v3
with: {name: python-distribution-files, path: dist/}
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
Expand Down

0 comments on commit 55c0aa1

Please sign in to comment.