mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
tljh package: require python 3.9+
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1
setup.py
1
setup.py
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user