kopia lustrzana https://github.com/jupyterhub/repo2docker
BREAKING: Require Python 3.8 to run repo2docker
rodzic
72816ca708
commit
c1ddf464d6
|
@ -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: |
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
2
setup.py
2
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/",
|
||||
|
|
Ładowanie…
Reference in New Issue