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: hooks:
- id: pyupgrade - id: pyupgrade
args: args:
- --py36-plus - --py39-plus
# We need the bootstrap.py script to be parsable with Python 3.5, so we # 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 it from the pyupgrade hook that will apply f-strings etc.
exclude: bootstrap/bootstrap.py exclude: bootstrap/bootstrap.py

View File

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

View File

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