Skip to content

Commit 24211ec

Browse files
authored
Merge pull request #1481 from minrk/require-310
require Python 3.10
2 parents 6d46061 + 924a54a commit 24211ec

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ jobs:
7070
- ui
7171
include:
7272
# The earliest actions/setup-python versions depend on the runner.
73-
- ubuntu_version: "22.04"
74-
python_version: "3.9"
73+
- ubuntu_version: "24.04"
74+
python_version: "3.10"
7575
repo_type: venv
7676

7777
steps:

.pre-commit-config.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ repos:
1414
rev: v3.20.0
1515
hooks:
1616
- id: pyupgrade
17-
args:
18-
- --py38-plus
1917
# check-tmp is a Python based test script run in created environments
2018
# that can be Python 3.5, older than the Python version required to run
2119
# repo2docker.
@@ -26,24 +24,16 @@ repos:
2624
rev: 25.9.0
2725
hooks:
2826
- id: black
29-
args:
30-
- --target-version=py39
31-
- --target-version=py310
32-
- --target-version=py311
33-
- --target-version=py312
34-
- --target-version=py313
3527

3628
# Autoformat: Python code
3729
- repo: https://github.com/pycqa/isort
3830
rev: 6.1.0
3931
hooks:
4032
- id: isort
41-
args:
42-
- --profile=black
4333

4434
# Autoformat: markdown
45-
- repo: https://github.com/pre-commit/mirrors-prettier
46-
rev: v4.0.0-alpha.8
35+
- repo: https://github.com/rbubley/mirrors-prettier
36+
rev: v3.6.2
4737
hooks:
4838
- id: prettier
4939
files: ".md"

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
"Topic :: Software Development",
2828
"Topic :: System :: Systems Administration",
2929
]
30-
requires-python = ">=3.9"
30+
requires-python = ">=3.10"
3131
dependencies = [
3232
"chardet",
3333
"docker!=5.0.0",
@@ -64,6 +64,8 @@ include-package-data = true
6464
where = [""]
6565
include = ["repo2docker"]
6666

67-
6867
[tool.setuptools_scm]
6968
write_to = "repo2docker/_version.py"
69+
70+
[tool.isort]
71+
profile = "black"

0 commit comments

Comments
 (0)