Skip to content

Commit 1da6c73

Browse files
authored
Add support for Python 3.12 (sphinx-doc#113)
* Bump GitHub Actions * Use latest Python * Add support for Python 3.12
1 parent 641c59e commit 1da6c73

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- uses: actions/setup-python@v4
2222
with:
2323
python-version: '3.x'
@@ -31,7 +31,7 @@ jobs:
3131
build-wheel:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535
with:
3636
fetch-depth: 0
3737
- name: Set up Python
@@ -68,11 +68,11 @@ jobs:
6868
strategy:
6969
fail-fast: false
7070
matrix:
71-
python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11']
71+
python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12']
7272
sphinx-version: ['>=4,<5', '>=5,<6', '>=6a0,<7', '>=7,<8']
7373
os: [windows-latest, macos-latest, ubuntu-latest]
7474
steps:
75-
- uses: actions/checkout@v3
75+
- uses: actions/checkout@v4
7676
- name: Set up Python ${{ matrix.python-version }}
7777
uses: actions/setup-python@v4
7878
with:
@@ -109,7 +109,7 @@ jobs:
109109
build-docs:
110110
runs-on: ubuntu-latest
111111
steps:
112-
- uses: actions/checkout@v3
112+
- uses: actions/checkout@v4
113113
with:
114114
fetch-depth: 0
115115
- name: Setup Python

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.11"
6+
python: "3"
77

88
python:
99
install:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"Programming Language :: Python :: 3.9",
3232
"Programming Language :: Python :: 3.10",
3333
"Programming Language :: Python :: 3.11",
34+
"Programming Language :: Python :: 3.12",
3435
"Programming Language :: Python",
3536
"Topic :: Documentation :: Sphinx",
3637
"Topic :: Documentation",

0 commit comments

Comments
 (0)