Skip to content

Commit 9e50d4f

Browse files
authored
Merge pull request #1610 from consideRatio/pr/require-py38
breaking: require Python 3.8, from Python 3.6
2 parents 4176ecd + 3126fb6 commit 9e50d4f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
hooks:
1616
- id: pyupgrade
1717
args:
18-
- --py37-plus
18+
- --py38-plus
1919

2020
# Autoformat: Python code
2121
- repo: https://github.com/psf/black

helm-chart/binderhub/files/binderhub_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
yaml = YAML(typ="safe")
77

88
# memoize so we only load config once
9-
@lru_cache()
9+
@lru_cache
1010
def _load_values():
1111
"""Load configuration from disk
1212

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
# target-version should be all supported versions
3-
target-version = ['py37', 'py38', 'py39', 'py310']
3+
target-version = ["py38", "py39", "py310", "py311"]
44

55
[tool.isort]
66
profile = "black"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
name="binderhub",
4343
version=versioneer.get_version(),
4444
cmdclass=versioneer.get_cmdclass(cmdclass),
45-
python_requires=">=3.6",
45+
python_requires=">=3.8",
4646
author="Project Jupyter Contributors",
4747
author_email="[email protected]",
4848
license="BSD",

0 commit comments

Comments
 (0)