diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dabbc8c..3e0b4cea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.9" + python-version: "3.13" - name: install build requirements run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34a1585f..32156ff7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,7 @@ jobs: fail-fast: false matrix: ubuntu_version: ["24.04"] - python_version: ["3.9"] + python_version: ["3.13"] repo_type: - base - conda @@ -64,17 +64,13 @@ jobs: - unit - venv - contentproviders - include: - # The actions/setup-python action with Python version 3.6 isn't - # possible to use with the ubuntu-22.04 runner, so we use ubuntu-20.04 - # for this test where Python 3.6 remain available. - - ubuntu_version: "20.04" - python_version: "3.6" - repo_type: venv # Playwright test - - ubuntu_version: "24.04" - python_version: "3.13" - repo_type: ui + - ui + include: + # The earliest actions/setup-python versions depend on the runner. + - ubuntu_version: "22.04" + python_version: "3.8" + repo_type: venv steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ac5a295..a5c2d516 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,10 +15,10 @@ repos: hooks: - id: pyupgrade args: - - --py36-plus + - --py38-plus # check-tmp is a Python based test script run in created environments - # that can be at least Python 3.5 even though we require Python 3.6 for - # repo2docker itself. + # that can be Python 3.5, older than the Python version required to run + # repo2docker. exclude: check-tmp # Autoformat: Python code @@ -27,12 +27,12 @@ repos: hooks: - id: black args: - - --target-version=py36 - - --target-version=py37 - --target-version=py38 - --target-version=py39 - --target-version=py310 - --target-version=py311 + - --target-version=py312 + - --target-version=py313 # Autoformat: Python code - repo: https://github.com/pycqa/isort diff --git a/README.md b/README.md index 01d60eeb..802c06d1 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ For more information, please visit 1. Docker to build & run the repositories. The [community edition](https://store.docker.com/search?type=edition&offering=community) is recommended. -2. Python 3.6+. +2. Python 3.8+. Supported on Linux and macOS. [See documentation note about Windows support.](http://repo2docker.readthedocs.io/en/latest/install.html#note-about-windows-support) diff --git a/setup.py b/setup.py index 58abff7c..0639ec10 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ setup( "toml", "traitlets", ], - python_requires=">=3.6", + python_requires=">=3.8", author="Project Jupyter Contributors", author_email="jupyter@googlegroups.com", url="https://repo2docker.readthedocs.io/en/latest/",