Skip to content

Commit 9129c5e

Browse files
authored
⬆️ Drop Python 3.7 support (#146)
1 parent 47200d8 commit 9129c5e

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest]
29-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
29+
python-version: ["3.8", "3.9", "3.10", "3.11"]
3030
include:
3131
- os: windows-latest
3232
python-version: 3.8
@@ -39,6 +39,7 @@ jobs:
3939
uses: actions/setup-python@v4
4040
with:
4141
python-version: ${{ matrix.python-version }}
42+
cache: pip
4243
- name: Install dependencies
4344
run: |
4445
python -m pip install --upgrade pip
@@ -60,7 +61,7 @@ jobs:
6061
strategy:
6162
matrix:
6263
os: [ubuntu-latest]
63-
python-version: ["3.7", "3.10"]
64+
python-version: ["3.8", "3.10"]
6465

6566
runs-on: ${{ matrix.os }}
6667

@@ -70,6 +71,7 @@ jobs:
7071
uses: actions/setup-python@v4
7172
with:
7273
python-version: ${{ matrix.python-version }}
74+
cache: pip
7375
- name: Install dependencies
7476
run: |
7577
python -m pip install --upgrade pip
@@ -90,13 +92,33 @@ jobs:
9092
uses: actions/setup-python@v4
9193
with:
9294
python-version: "3.9"
95+
cache: pip
9396
- name: Install dependencies
9497
run: |
9598
python -m pip install --upgrade pip
9699
pip install -e .[rtd]
97100
- name: Build documentation
98101
run: sphinx-build -nW --keep-going -b ${{ matrix.format }} docs/ docs/_build/${{ matrix.format }}
99102

103+
# https://github.com/marketplace/actions/alls-green#why
104+
check: # This job does nothing and is only used for the branch protection
105+
106+
if: always()
107+
108+
needs:
109+
- pre-commit
110+
- tests
111+
- tests-sphinx4
112+
- docs-build-format
113+
114+
runs-on: ubuntu-latest
115+
116+
steps:
117+
- name: Decide whether the needed jobs succeeded or failed
118+
uses: re-actors/alls-green@release/v1
119+
with:
120+
jobs: ${{ toJSON(needs) }}
121+
100122
publish:
101123

102124
name: Publish to PyPi

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ classifiers = [
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: MIT License",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.7",
1918
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
@@ -27,7 +26,7 @@ classifiers = [
2726
"Topic :: Text Processing :: Markup :: reStructuredText",
2827
]
2928
keywords = ["sphinx", "extension", "material design", "web components"]
30-
requires-python = ">=3.7"
29+
requires-python = ">=3.8"
3130
dependencies = ["sphinx>=4,<7"]
3231

3332
[project.urls]

0 commit comments

Comments
 (0)