Skip to content

Commit

Permalink
Add support for Python 3.12 (#113)
Browse files Browse the repository at this point in the history
* Bump GitHub Actions

* Use latest Python

* Add support for Python 3.12
  • Loading branch information
hugovk authored Dec 20, 2023
1 parent 641c59e commit 1da6c73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.x'
Expand All @@ -31,7 +31,7 @@ jobs:
build-wheel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
Expand Down Expand Up @@ -68,11 +68,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11']
python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12']
sphinx-version: ['>=4,<5', '>=5,<6', '>=6a0,<7', '>=7,<8']
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3"

python:
install:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Topic :: Documentation :: Sphinx",
"Topic :: Documentation",
Expand Down

0 comments on commit 1da6c73

Please sign in to comment.