Skip to content

Commit 4fffc3d

Browse files
committed
Drop python 3.7 from the CI
The builds no longer work for 3.7
1 parent fe5b92e commit 4fffc3d

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ jobs:
152152
pyver:
153153
- 3.13-dev
154154
- 3.12
155-
- 3.7
156155
- 3.11
157156
- >-
158157
3.10

.github/workflows/reusable-linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
.tox/.tmp/.mypy/python-3.13/cobertura.xml,
6969
.tox/.tmp/.mypy/python-3.11/cobertura.xml,
7070
.tox/.tmp/.mypy/python-3.9/cobertura.xml,
71-
.tox/.tmp/.mypy/python-3.7/cobertura.xml
71+
.tox/.tmp/.mypy/python-3.8/cobertura.xml
7272
flags: >-
7373
CI-GHA,
7474
MyPy

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,18 @@ repos:
150150
- --html-report=.tox/.tmp/.mypy/python-3.9
151151
pass_filenames: false
152152
- id: mypy
153-
alias: mypy-py37
154-
name: MyPy, for Python 3.7
153+
alias: mypy-py38
154+
name: MyPy, for Python 3.8
155155
additional_dependencies:
156156
- types-docutils
157157
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
158158
- pytest < 8
159159
- Sphinx >= 5.3.0, < 6
160160
args:
161-
- --python-version=3.7
162-
- --txt-report=.tox/.tmp/.mypy/python-3.7
163-
- --cobertura-xml-report=.tox/.tmp/.mypy/python-3.7
164-
- --html-report=.tox/.tmp/.mypy/python-3.7
161+
- --python-version=3.8
162+
- --txt-report=.tox/.tmp/.mypy/python-3.8
163+
- --cobertura-xml-report=.tox/.tmp/.mypy/python-3.8
164+
- --html-report=.tox/.tmp/.mypy/python-3.8
165165
pass_filenames: false
166166

167167
...

CHANGES/997.breaking.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove Python 3.7 support -- by :user:`bdraco`.

requirements/pytest.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
pytest==7.4.4; python_version < "3.8"
21
pytest==8.1.1; python_version >= "3.8"
32
pytest-cov==4.1.0

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ classifiers =
3434

3535
Programming Language :: Python
3636
Programming Language :: Python :: 3
37-
Programming Language :: Python :: 3.7
3837
Programming Language :: Python :: 3.8
3938
Programming Language :: Python :: 3.9
4039
Programming Language :: Python :: 3.10
4140
Programming Language :: Python :: 3.11
4241
Programming Language :: Python :: 3.12
4342

4443
[options]
45-
python_requires = >= 3.7
44+
python_requires = >= 3.8
4645
install_requires =
4746
typing-extensions >= 4.1.0; python_version < '3.11'
4847
packages =

0 commit comments

Comments
 (0)