Skip to content

Commit 705e7cc

Browse files
committed
chore: Use Python 3.12 as base version
Signed-off-by: Yurii Serhiichuk <[email protected]>
1 parent 98a7a81 commit 705e7cc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Setup Python
1212
uses: actions/setup-python@v5
1313
with:
14-
python-version: '3.11'
14+
python-version: '3.12'
1515
cache: 'pip'
1616
cache-dependency-path: 'requirements/*.txt'
1717
- name: Install dev dependencies

.github/workflows/pypi-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up Python
3838
uses: actions/setup-python@v5
3939
with:
40-
python-version: "3.11"
40+
python-version: "3.12"
4141
cache: 'pip'
4242
- name: Install build dependencies
4343
run: pip install -U setuptools wheel build

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ setenv =
1212
commands = pytest {env:PYTESTARGS} {posargs}
1313

1414
[testenv:reformat]
15-
basepython = python3.11
15+
basepython = python3.12
1616
deps =
1717
black
1818
isort
@@ -21,7 +21,7 @@ commands =
2121
isort cloudevents samples
2222

2323
[testenv:lint]
24-
basepython = python3.11
24+
basepython = python3.12
2525
deps =
2626
black
2727
isort
@@ -32,15 +32,15 @@ commands =
3232
flake8 cloudevents samples --ignore W503,E731 --extend-ignore E203 --max-line-length 88
3333

3434
[testenv:mypy]
35-
basepython = python3.11
35+
basepython = python3.12
3636
deps =
3737
-r{toxinidir}/requirements/mypy.txt
3838
# mypy needs test dependencies to check test modules
3939
-r{toxinidir}/requirements/test.txt
4040
commands = mypy cloudevents
4141

4242
[testenv:mypy-samples-{image,json}]
43-
basepython = python3.11
43+
basepython = python3.12
4444
setenv =
4545
mypy-samples-image: SAMPLE_DIR={toxinidir}/samples/http-image-cloudevents
4646
mypy-samples-json: SAMPLE_DIR={toxinidir}/samples/http-json-cloudevents

0 commit comments

Comments
 (0)