Skip to content

Commit c5ccc95

Browse files
authored
Upgrade base Python version to 3.10 (#1449)
1 parent 35c281a commit c5ccc95

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v2
14-
- name: Set up Python 3.9
14+
- name: Set up Python 3.10
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: 3.9
17+
python-version: "3.10"
1818
- name: Build wheel and source tarball
1919
run: |
2020
pip install wheel

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up Python 3.9
11+
- name: Set up Python 3.10
1212
uses: actions/setup-python@v2
1313
with:
14-
python-version: 3.9
14+
python-version: "3.10"
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: python3.9
2+
python: python3.10
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ commands =
1111
py{36,37,38,39,310}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
1212

1313
[testenv:pre-commit]
14-
basepython = python3.9
14+
basepython = python3.10
1515
deps =
1616
pre-commit>=2.16,<3
1717
setenv =
@@ -20,7 +20,7 @@ commands =
2020
pre-commit run --all-files --show-diff-on-failure
2121

2222
[testenv:mypy]
23-
basepython = python3.9
23+
basepython = python3.10
2424
deps =
2525
mypy>=0.950,<1
2626
commands =

0 commit comments

Comments
 (0)