Skip to content

Commit 51d9e1c

Browse files
authored
Drop support for Python 3.7 (#1879)
1 parent e14c4cd commit 51d9e1c

4 files changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,12 @@ jobs:
4848
- "3.10"
4949
- "3.9"
5050
- "3.8"
51-
- "3.7"
5251
pip-version:
5352
- "latest"
5453
- "previous"
5554
include:
5655
- os: Ubuntu
57-
python-version: 3.7
56+
python-version: 3.8
5857
pip-version: main
5958
env:
6059
TOXENV: pip${{ matrix.pip-version }}-coverage
@@ -122,7 +121,7 @@ jobs:
122121
- MacOS
123122
- Windows
124123
python-version:
125-
- pypy-3.7
124+
- pypy-3.8
126125
pip-version:
127126
- latest
128127
env:
@@ -153,5 +152,4 @@ jobs:
153152
- name: Decide whether the needed jobs succeeded or failed
154153
uses: re-actors/alls-green@13b4244b312e8a314951e03958a2f91519a6a3c9
155154
with:
156-
allowed-failures: pypy # FIXME: drop once updated to `pypy-3.8`
157155
jobs: ${{ toJSON(needs) }}

.github/workflows/cron.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- "3.10"
2222
- "3.9"
2323
- "3.8"
24-
- "3.7"
2524
pip-version:
2625
- main
2726
include:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: 23.3.0
44
hooks:
55
- id: black
6-
args: [--target-version=py37]
6+
args: [--target-version=py38]
77
- repo: https://github.com/PyCQA/isort
88
rev: 5.12.0
99
hooks:
@@ -12,7 +12,7 @@ repos:
1212
rev: v3.3.1
1313
hooks:
1414
- id: pyupgrade
15-
args: [--py37-plus]
15+
args: [--py38-plus]
1616
- repo: https://github.com/PyCQA/flake8
1717
rev: 6.0.0
1818
hooks:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
# https://peps.python.org/pep-0621/#readme
7-
requires-python = ">=3.7"
7+
requires-python = ">=3.8"
88
dynamic = ["version"]
99
name = "pip-tools"
1010
description = "pip-tools keeps your pinned dependencies fresh."
@@ -22,7 +22,6 @@ classifiers = [
2222
"Programming Language :: Python :: 3",
2323
"Programming Language :: Python :: 3.10",
2424
"Programming Language :: Python :: 3.11",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: Implementation :: CPython",

0 commit comments

Comments
 (0)