Skip to content

Commit a81b2d9

Browse files
committed
support python 3.10
1 parent 9b31771 commit a81b2d9

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1515
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
1616
with:
17-
python-version: 3.12
17+
python-version: 3.10
1818
- name: "Prepare Artifacts"
1919
run: |
2020
pip install build

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
2121
with:
22-
python-version: 3.12
22+
python-version: 3.10
2323
- name: Pre-commit
2424
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
2222
with:
23-
python-version: 3.12
23+
python-version: 3.10
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
repos:
22
- repo: https://github.com/asottile/reorder-python-imports
3-
rev: v3.12.0
3+
rev: v3.10.0
44
hooks:
55
- id: reorder-python-imports
66
args: [--py311-plus, --add-import, "from __future__ import annotations"]
77
- repo: https://github.com/psf/black
88
rev: 23.10.0
99
hooks:
1010
- id: black
11-
language_version: python3.12
11+
language_version: python3.10
1212
- repo: https://github.com/PyCQA/flake8
1313
rev: 6.1.0
1414
hooks:
1515
- id: flake8
16-
language_version: python3.12
16+
language_version: python3.10
1717
- repo: https://github.com/pre-commit/mirrors-mypy
1818
rev: v1.6.1
1919
hooks:
2020
- id: mypy
2121
additional_dependencies:
2222
- "pytest"
2323
- "types-PyYAML"
24-
language_version: python3.12
24+
language_version: python3.10
2525
- repo: https://github.com/shellcheck-py/shellcheck-py
2626
rev: v0.9.0.6
2727
hooks:
2828
- id: shellcheck
2929
args: [--norc]
30-
language_version: python3.12
30+
language_version: python3.10

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "devservices"
77
version = "0.0.1"
8-
requires-python = ">=3.12"
8+
requires-python = ">=3.10"
99
dependencies = [
1010
"pyyaml",
1111
"sentry-devenv",
@@ -29,7 +29,7 @@ packages = {find = {where = ["src"]}}
2929
include-package-data = true
3030

3131
[tool.mypy]
32-
python_version = "3.12"
32+
python_version = "3.10"
3333
strict = true
3434
ignore_missing_imports = true
3535

0 commit comments

Comments
 (0)