Skip to content

Commit

Permalink
Merge pull request #1610 from consideRatio/pr/require-py38
Browse files Browse the repository at this point in the history
breaking: require Python 3.8, from Python 3.6
  • Loading branch information
consideRatio committed Jan 4, 2023
2 parents 4176ecd + 3126fb6 commit 9e50d4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
hooks:
- id: pyupgrade
args:
- --py37-plus
- --py38-plus

# Autoformat: Python code
- repo: https://github.com/psf/black
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/binderhub/files/binderhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
yaml = YAML(typ="safe")

# memoize so we only load config once
@lru_cache()
@lru_cache
def _load_values():
"""Load configuration from disk
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
# target-version should be all supported versions
target-version = ['py37', 'py38', 'py39', 'py310']
target-version = ["py38", "py39", "py310", "py311"]

[tool.isort]
profile = "black"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
name="binderhub",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(cmdclass),
python_requires=">=3.6",
python_requires=">=3.8",
author="Project Jupyter Contributors",
author_email="jupyter@googlegroups.com",
license="BSD",
Expand Down

0 comments on commit 9e50d4f

Please sign in to comment.