Skip to content

Commit e70e892

Browse files
authored
Drop Python 3.7 (#188)
1 parent ca7183c commit e70e892

File tree

5 files changed

+7
-35
lines changed

5 files changed

+7
-35
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu, macos, windows]
35-
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
35+
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
3636

3737
env:
3838
PYTHON: ${{ matrix.python }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ repos:
2424
pass_filenames: false
2525
- id: pyupgrade
2626
name: Pyupgrade
27-
entry: pyupgrade --py37-plus
27+
entry: pyupgrade --py38-plus
2828
types: [python]
2929
language: system

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers = [
2020
'Programming Language :: Python',
2121
'Programming Language :: Python :: 3',
2222
'Programming Language :: Python :: 3 :: Only',
23-
'Programming Language :: Python :: 3.7',
2423
'Programming Language :: Python :: 3.8',
2524
'Programming Language :: Python :: 3.9',
2625
'Programming Language :: Python :: 3.10',
@@ -39,7 +38,7 @@ classifiers = [
3938
'Topic :: Software Development :: Libraries :: Python Modules',
4039
'Topic :: Internet',
4140
]
42-
requires-python = '>=3.7'
41+
requires-python = '>=3.8'
4342
dependencies = [
4443
'pydantic>=2.3.0',
4544
'python-dotenv>=0.21.0',
@@ -86,7 +85,7 @@ extend-select = ['Q', 'RUF100', 'C90', 'UP', 'I']
8685
flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'}
8786
mccabe = { max-complexity = 14 }
8887
isort = { known-first-party = ['pydantic_settings', 'tests'] }
89-
target-version = 'py37'
88+
target-version = 'py38'
9089

9190
[tool.black]
9291
color = true

requirements/linting.txt

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.7
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/linting.txt requirements/linting.in
@@ -16,11 +16,6 @@ filelock==3.12.0
1616
# via virtualenv
1717
identify==2.5.24
1818
# via pre-commit
19-
importlib-metadata==6.6.0
20-
# via
21-
# click
22-
# pre-commit
23-
# virtualenv
2419
mypy==1.3.0
2520
# via -r requirements/linting.in
2621
mypy-extensions==1.0.0
@@ -51,20 +46,10 @@ tomli==2.0.1
5146
# via
5247
# black
5348
# mypy
54-
typed-ast==1.5.4
55-
# via
56-
# black
57-
# mypy
5849
typing-extensions==4.6.2
59-
# via
60-
# black
61-
# importlib-metadata
62-
# mypy
63-
# platformdirs
50+
# via mypy
6451
virtualenv==20.23.0
6552
# via pre-commit
66-
zipp==3.15.0
67-
# via importlib-metadata
6853

6954
# The following packages are considered to be unsafe in a requirements file:
7055
# setuptools

requirements/testing.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.7
2+
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/testing.txt requirements/testing.in
@@ -12,11 +12,6 @@ coverage[toml]==7.2.6
1212
# via -r requirements/testing.in
1313
exceptiongroup==1.1.1
1414
# via pytest
15-
importlib-metadata==6.6.0
16-
# via
17-
# click
18-
# pluggy
19-
# pytest
2015
iniconfig==2.0.0
2116
# via pytest
2217
markdown-it-py==2.2.0
@@ -58,14 +53,7 @@ tomli==2.0.1
5853
# black
5954
# coverage
6055
# pytest
61-
typed-ast==1.5.4
62-
# via black
6356
typing-extensions==4.6.2
6457
# via
6558
# black
66-
# importlib-metadata
67-
# markdown-it-py
68-
# platformdirs
6959
# rich
70-
zipp==3.15.0
71-
# via importlib-metadata

0 commit comments

Comments
 (0)