tljh package: require python 3.9+

This commit is contained in:
Erik Sundell
2024-09-20 22:06:53 +02:00
parent 363dc45b52
commit 436c81f26d
3 changed files with 4 additions and 5 deletions

View File

@@ -15,8 +15,8 @@ repos:
hooks:
- id: pyupgrade
args:
- --py36-plus
# We need the bootstrap.py script to be parsable with Python 3.5, so we
- --py39-plus
# We need the bootstrap.py script to be parsable with Python 3.8, so we
# exclude it from the pyupgrade hook that will apply f-strings etc.
exclude: bootstrap/bootstrap.py

View File

@@ -25,12 +25,10 @@ profile = "black"
# target-version should be all supported versions, see
# https://github.com/psf/black/issues/751#issuecomment-473066811
target_version = [
"py36",
"py37",
"py38",
"py39",
"py310",
"py311",
"py312",
]

View File

@@ -10,6 +10,7 @@ setup(
license="3 Clause BSD",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.9",
install_requires=[
"ruamel.yaml==0.18.*",
"jinja2",