Skip to content

Commit e416bc5

Browse files
committed
Drop support for Python 3.8
1 parent 2cff296 commit e416bc5

File tree

2 files changed

+34
-20
lines changed

2 files changed

+34
-20
lines changed

.github/workflows/workflow.yml

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Test and Deploy
22
on:
33
pull_request:
4-
branches:
5-
- main
64
push:
75

86
env:
9-
FORCE_COLOR: 1
7+
FORCE_COLOR: "1"
108

119
jobs:
1210
check:
@@ -20,7 +18,7 @@ jobs:
2018
- uses: actions/checkout@v4
2119
- uses: actions/setup-python@v5
2220
with:
23-
python-version: '3.x'
21+
python-version: "3"
2422
cache: pip
2523
cache-dependency-path: .github/workflows/workflow.yml
2624
- name: Black
@@ -37,7 +35,7 @@ jobs:
3735
- name: Set up Python
3836
uses: actions/setup-python@v5
3937
with:
40-
python-version: "3.8"
38+
python-version: "3.9"
4139
cache: pip
4240
cache-dependency-path: |
4341
.github/workflows/workflow.yml
@@ -69,18 +67,35 @@ jobs:
6967
strategy:
7068
fail-fast: false
7169
matrix:
72-
python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
73-
sphinx-version: ['>=5,<6', '>=6a0,<7', '>=7,<8', '>=8,<9']
74-
os: [windows-latest, macos-latest, ubuntu-latest]
70+
python-version:
71+
- "pypy3.9"
72+
- "3.9"
73+
- "3.10"
74+
- "3.11"
75+
- "3.12"
76+
- "3.13"
77+
sphinx-version:
78+
- ">=5,<6"
79+
- ">=6a0,<7"
80+
- ">=7,<8"
81+
- ">=8,<9"
82+
os:
83+
- windows-latest
84+
- macos-latest
85+
- ubuntu-latest
7586
exclude:
76-
- python-version: '3.8'
77-
sphinx-version: '>=8,<9'
78-
- python-version: '3.9'
79-
sphinx-version: '>=8,<9'
80-
- python-version: 'pypy3.9'
81-
sphinx-version: '>=8,<9'
82-
- python-version: '3.13'
83-
sphinx-version: '>=5,<6'
87+
- python-version: "3.9"
88+
sphinx-version: ">=8,<9"
89+
- python-version: "pypy3.9"
90+
sphinx-version: ">=6,<7"
91+
os: "macos-latest"
92+
- python-version: "pypy3.9"
93+
sphinx-version: ">=7,<8"
94+
os: "macos-latest"
95+
- python-version: "pypy3.9"
96+
sphinx-version: ">=8,<9"
97+
- python-version: "3.13"
98+
sphinx-version: ">=5,<6"
8499
steps:
85100
- uses: actions/checkout@v4
86101
- name: Set up Python ${{ matrix.python-version }}
@@ -111,7 +126,7 @@ jobs:
111126
python -m pytest -vv
112127
- name: Install matplotlib
113128
run: |
114-
python -m pip install matplotlib
129+
python -m pip install --only-binary :all: matplotlib
115130
- name: Run tests with matplotlib for ${{ matrix.python-version }}
116131
run: |
117132
python -m pytest -vv
@@ -125,7 +140,7 @@ jobs:
125140
- name: Setup Python
126141
uses: actions/setup-python@v5
127142
with:
128-
python-version: '3.x'
143+
python-version: "3"
129144
cache: pip
130145
cache-dependency-path: docs/requirements.txt
131146
- name: Install dependencies

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ urls.Download = "https://pypi.org/project/sphinxext-opengraph/"
1313
urls.Homepage = "https://github.com/wpilibsuite/sphinxext-opengraph/"
1414
urls."Issue tracker" = "https://github.com/wpilibsuite/sphinxext-opengraph/issues"
1515
license.text = "BSD-3-Clause"
16-
requires-python = ">=3.8"
16+
requires-python = ">=3.9"
1717

1818
# Classifiers list: https://pypi.org/classifiers/
1919
classifiers = [
@@ -25,7 +25,6 @@ classifiers = [
2525
"License :: OSI Approved :: BSD License",
2626
"Natural Language :: English",
2727
"Operating System :: OS Independent",
28-
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)