diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49d1a9241..e4ea4c5a3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -411,7 +411,8 @@ jobs: - uses: actions/setup-python@v5 id: setup-python with: - python-version: "3.12" + # Set this to the oldest Python version supported by BinderHub + python-version: "3.10" - name: Cache pip uses: actions/cache@v4 diff --git a/pyproject.toml b/pyproject.toml index dd14d04e3..79fd2470c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta" [tool.black] # target-version should be all supported versions, see # https://github.com/psf/black/issues/751#issuecomment-473066811 -target-version = ["py38", "py39", "py310", "py311"] +target-version = ["py310", "py311", "py312"] # The default isort output conflicts with black autoformatting. diff --git a/setup.py b/setup.py index c2e614450..65aeb2027 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ name="binderhub", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(cmdclass), - python_requires=">=3.8", + python_requires=">=3.10", author="Project Jupyter Contributors", author_email="jupyter@googlegroups.com", license="BSD",