Skip to content

Commit 436c81f

Browse files
committed
tljh package: require python 3.9+
1 parent 363dc45 commit 436c81f

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ repos:
1515
hooks:
1616
- id: pyupgrade
1717
args:
18-
- --py36-plus
19-
# We need the bootstrap.py script to be parsable with Python 3.5, so we
18+
- --py39-plus
19+
# We need the bootstrap.py script to be parsable with Python 3.8, so we
2020
# exclude it from the pyupgrade hook that will apply f-strings etc.
2121
exclude: bootstrap/bootstrap.py
2222

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ profile = "black"
2525
# target-version should be all supported versions, see
2626
# https://github.com/psf/black/issues/751#issuecomment-473066811
2727
target_version = [
28-
"py36",
29-
"py37",
30-
"py38",
3128
"py39",
3229
"py310",
3330
"py311",
31+
"py312",
3432
]
3533

3634

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
license="3 Clause BSD",
1111
packages=find_packages(),
1212
include_package_data=True,
13+
python_requires=">=3.9",
1314
install_requires=[
1415
"ruamel.yaml==0.18.*",
1516
"jinja2",

0 commit comments

Comments
 (0)