diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 688a10e..4b5f357 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 9ebb7e0..db33483 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] diff --git a/setup.py b/setup.py index 9298d93..8666810 100644 --- a/setup.py +++ b/setup.py @@ -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",