Skip to content

Commit 17a4c17

Browse files
drammockivanov
authored andcommitted
Bump minimum Python from 3.8 to 3.9; add 3.12 to CIs (pydata#1610)
drop py3.8, add py3.12
1 parent 0519dc8 commit 17a4c17

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/prerelease.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1717

1818
steps:
1919
- uses: actions/checkout@v4

.github/workflows/tests.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest]
28-
python-version: ["3.11"]
28+
python-version: ["3.12"]
2929
runs-on: ${{ matrix.os }}
3030
steps:
3131
- uses: actions/checkout@v4
@@ -44,22 +44,22 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
os: [ubuntu-latest]
47-
python-version: ["3.8", "3.9", "3.10", "3.11"]
47+
python-version: ["3.9", "3.10", "3.11", "3.12"]
4848
sphinx-version: [""]
4949
include:
5050
# macos test
5151
- os: macos-latest
52-
python-version: "3.11"
52+
python-version: "3.12"
5353
# windows test
5454
- os: windows-latest
55-
python-version: "3.11"
55+
python-version: "3.12"
5656
# old Sphinx test
5757
- os: ubuntu-latest
58-
python-version: "3.8"
58+
python-version: "3.9"
5959
sphinx-version: "old"
6060
# dev Sphinx test
6161
- os: ubuntu-latest
62-
python-version: "3.11"
62+
python-version: "3.12"
6363
sphinx-version: "dev"
6464
# needed to cache the browsers for the accessibility tests
6565
env:
@@ -93,7 +93,7 @@ jobs:
9393
- name: Run tests
9494
run: pytest -m "not a11y" --color=yes --cov --cov-report=xml
9595
- name: Upload to Codecov
96-
if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
96+
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
9797
uses: codecov/codecov-action@v3
9898
with:
9999
token: ${{ secrets.CODECOV_TOKEN }}
@@ -111,7 +111,7 @@ jobs:
111111
${{ runner.os }}-pw-
112112
113113
- name: Run accessibility tests with playwright
114-
if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest'
114+
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
115115
run: |
116116
nox -s a11y
117117
continue-on-error: true
@@ -123,14 +123,14 @@ jobs:
123123
fail-fast: false
124124
matrix:
125125
os: [ubuntu-latest, macos-latest, windows-latest]
126-
python-version: ["3.11"]
126+
python-version: ["3.12"]
127127
sphinx-version: [""]
128128
include:
129129
- os: ubuntu-latest
130-
python-version: "3.8"
130+
python-version: "3.9"
131131
sphinx-version: "old"
132132
- os: ubuntu-latest
133-
python-version: "3.11"
133+
python-version: "3.12"
134134
sphinx-version: "dev"
135135
env:
136136
SPHINX_VERSION: ${{ matrix.sphinx-version }}
@@ -162,7 +162,7 @@ jobs:
162162
strategy:
163163
matrix:
164164
os: [ubuntu-latest]
165-
python-version: ["3.11"]
165+
python-version: ["3.12"]
166166
runs-on: ${{ matrix.os }}
167167
steps:
168168
- uses: actions/checkout@v4
@@ -205,7 +205,7 @@ jobs:
205205
strategy:
206206
matrix:
207207
os: [ubuntu-latest]
208-
python-version: ["3.11"]
208+
python-version: ["3.12"]
209209
runs-on: ${{ matrix.os }}
210210
steps:
211211
- uses: actions/checkout@v4

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name = "pydata-sphinx-theme"
1818
description = "Bootstrap-based Sphinx theme from the PyData community"
1919
dynamic = ["version"]
2020
readme = "README.md"
21-
requires-python = ">=3.8"
21+
requires-python = ">=3.9"
2222
dependencies = [
2323
"sphinx>=5.0",
2424
"beautifulsoup4",
@@ -36,10 +36,10 @@ maintainers = [
3636
classifiers = [
3737
"Development Status :: 5 - Production/Stable",
3838
"Programming Language :: Python :: 3",
39-
"Programming Language :: Python :: 3.8",
4039
"Programming Language :: Python :: 3.9",
4140
"Programming Language :: Python :: 3.10",
4241
"Programming Language :: Python :: 3.11",
42+
"Programming Language :: Python :: 3.12",
4343
"Framework :: Sphinx",
4444
"Framework :: Sphinx :: Theme",
4545
"License :: OSI Approved :: BSD License",

0 commit comments

Comments
 (0)