Skip to content

Commit 7c2e3d9

Browse files
authored
Drop Python 3.7 support (#556)
1 parent c51c8ba commit 7c2e3d9

9 files changed

Lines changed: 8 additions & 183 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
strategy:
1919
matrix:
2020
python-version:
21-
- 3.7
2221
- 3.8
2322
- 3.9
2423
- '3.10'

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
rev: v3.7.0
3838
hooks:
3939
- id: pyupgrade
40-
args: [--py37-plus]
40+
args: [--py38-plus]
4141
- repo: https://github.com/psf/black
4242
rev: 23.3.0
4343
hooks:
@@ -53,7 +53,7 @@ repos:
5353
hooks:
5454
- id: reorder-python-imports
5555
args:
56-
- --py37-plus
56+
- --py38-plus
5757
- --application-directories
5858
- .:example:src
5959
- --add-import

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Changelog
33
=========
44

5+
* Drop Python 3.7 support.
6+
57
3.12.0 (2022-05-11)
68
-------------------
79

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Install with:
100100
101101
python -m pip install pytest-randomly
102102
103-
Python 3.7 to 3.11 supported.
103+
Python 3.8 to 3.11 supported.
104104

105105
----
106106

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = [
55
]
66

77
[tool.black]
8-
target-version = ['py37']
8+
target-version = ['py38']
99

1010
[tool.pytest.ini_options]
1111
addopts = """\

requirements/compile.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
"--generate-hashes",
1818
"--allow-unsafe",
1919
] + sys.argv[1:]
20-
subprocess.run(
21-
["python3.7", *common_args, "-o", "py37.txt"],
22-
check=True,
23-
capture_output=True,
24-
)
2520
subprocess.run(
2621
["python3.8", *common_args, "-o", "py38.txt"],
2722
check=True,

requirements/py37.txt

Lines changed: 0 additions & 170 deletions
This file was deleted.

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers =
1717
Natural Language :: English
1818
Programming Language :: Python :: 3
1919
Programming Language :: Python :: 3 :: Only
20-
Programming Language :: Python :: 3.7
2120
Programming Language :: Python :: 3.8
2221
Programming Language :: Python :: 3.9
2322
Programming Language :: Python :: 3.10
@@ -34,7 +33,7 @@ packages = find:
3433
install_requires =
3534
pytest
3635
importlib-metadata>=3.6.0 ;python_version < "3.10"
37-
python_requires = >=3.7
36+
python_requires = >=3.8
3837
include_package_data = True
3938
package_dir =
4039
=src

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires =
33
tox>=4.2
44
env_list =
5-
py{311, 310, 39, 38, 37}
5+
py{311, 310, 39, 38}
66

77
[testenv]
88
deps =

0 commit comments

Comments
 (0)