Skip to content

Commit c1ddf46

Browse files
committed
BREAKING: Require Python 3.8 to run repo2docker
1 parent 72816ca commit c1ddf46

File tree

5 files changed

+14
-18
lines changed

5 files changed

+14
-18
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/checkout@v4
3535
- uses: actions/setup-python@v5
3636
with:
37-
python-version: "3.9"
37+
python-version: "3.13"
3838

3939
- name: install build requirements
4040
run: |

.github/workflows/test.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
fail-fast: false
5252
matrix:
5353
ubuntu_version: ["24.04"]
54-
python_version: ["3.9"]
54+
python_version: ["3.13"]
5555
repo_type:
5656
- base
5757
- conda
@@ -64,17 +64,13 @@ jobs:
6464
- unit
6565
- venv
6666
- contentproviders
67+
# Playwright test
68+
- ui
6769
include:
68-
# The actions/setup-python action with Python version 3.6 isn't
69-
# possible to use with the ubuntu-22.04 runner, so we use ubuntu-20.04
70-
# for this test where Python 3.6 remain available.
71-
- ubuntu_version: "20.04"
72-
python_version: "3.6"
70+
# The earliest actions/setup-python versions depend on the runner.
71+
- ubuntu_version: "22.04"
72+
python_version: "3.8"
7373
repo_type: venv
74-
# Playwright test
75-
- ubuntu_version: "24.04"
76-
python_version: "3.13"
77-
repo_type: ui
7874

7975
steps:
8076
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ repos:
1515
hooks:
1616
- id: pyupgrade
1717
args:
18-
- --py36-plus
18+
- --py38-plus
1919
# check-tmp is a Python based test script run in created environments
20-
# that can be at least Python 3.5 even though we require Python 3.6 for
21-
# repo2docker itself.
20+
# that can be Python 3.5, older than the Python version required to run
21+
# repo2docker.
2222
exclude: check-tmp
2323

2424
# Autoformat: Python code
@@ -27,12 +27,12 @@ repos:
2727
hooks:
2828
- id: black
2929
args:
30-
- --target-version=py36
31-
- --target-version=py37
3230
- --target-version=py38
3331
- --target-version=py39
3432
- --target-version=py310
3533
- --target-version=py311
34+
- --target-version=py312
35+
- --target-version=py313
3636

3737
# Autoformat: Python code
3838
- repo: https://github.com/pycqa/isort

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For more information, please visit
3636

3737
1. Docker to build & run the repositories. The [community edition](https://store.docker.com/search?type=edition&offering=community)
3838
is recommended.
39-
2. Python 3.6+.
39+
2. Python 3.8+.
4040

4141
Supported on Linux and macOS. [See documentation note about Windows support.](http://repo2docker.readthedocs.io/en/latest/install.html#note-about-windows-support)
4242

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_identifier(json):
6262
"toml",
6363
"traitlets",
6464
],
65-
python_requires=">=3.6",
65+
python_requires=">=3.8",
6666
author="Project Jupyter Contributors",
6767
author_email="[email protected]",
6868
url="https://repo2docker.readthedocs.io/en/latest/",

0 commit comments

Comments
 (0)