Skip to content

Commit

Permalink
Drop support for Python 3.7 (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysle committed Jul 1, 2023
1 parent e14c4cd commit 51d9e1c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ jobs:
- "3.10"
- "3.9"
- "3.8"
- "3.7"
pip-version:
- "latest"
- "previous"
include:
- os: Ubuntu
python-version: 3.7
python-version: 3.8
pip-version: main
env:
TOXENV: pip${{ matrix.pip-version }}-coverage
Expand Down Expand Up @@ -122,7 +121,7 @@ jobs:
- MacOS
- Windows
python-version:
- pypy-3.7
- pypy-3.8
pip-version:
- latest
env:
Expand Down Expand Up @@ -153,5 +152,4 @@ jobs:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@13b4244b312e8a314951e03958a2f91519a6a3c9
with:
allowed-failures: pypy # FIXME: drop once updated to `pypy-3.8`
jobs: ${{ toJSON(needs) }}
1 change: 0 additions & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- "3.10"
- "3.9"
- "3.8"
- "3.7"
pip-version:
- main
include:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: 23.3.0
hooks:
- id: black
args: [--target-version=py37]
args: [--target-version=py38]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
Expand All @@ -12,7 +12,7 @@ repos:
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py38-plus]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
# https://peps.python.org/pep-0621/#readme
requires-python = ">=3.7"
requires-python = ">=3.8"
dynamic = ["version"]
name = "pip-tools"
description = "pip-tools keeps your pinned dependencies fresh."
Expand All @@ -22,7 +22,6 @@ classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit 51d9e1c

Please sign in to comment.