Skip to content

Commit 8ea42c0

Browse files
committed
chore: make 3.11 the default python version in CI
1 parent 4786e46 commit 8ea42c0

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v4
1616
with:
17-
python-version: "3.10"
17+
python-version: "3.11"
1818
- name: Build wheel and source tarball
1919
run: |
2020
pip install wheel

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Set up Python
1212
uses: actions/setup-python@v4
1313
with:
14-
python-version: "3.10"
14+
python-version: "3.11"
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Set up Python
4040
uses: actions/setup-python@v4
4141
with:
42-
python-version: "3.10"
42+
python-version: "3.11"
4343
- name: Install test dependencies
4444
run: |
4545
python -m pip install --upgrade pip

tox.ini

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,35 @@ whitelist_externals =
2222
python
2323
commands =
2424
pip install -U setuptools
25-
py{38,39,311}: pytest tests {posargs}
26-
py{310}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs}
25+
py{38,39,310}: pytest tests {posargs}
26+
py{311}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs}
2727

2828
[testenv:black]
29-
basepython = python3.10
29+
basepython = python3.11
3030
deps = -e.[dev]
3131
commands =
3232
black --check graphql_server tests
3333

3434
[testenv:flake8]
35-
basepython = python3.10
35+
basepython = python3.11
3636
deps = -e.[dev]
3737
commands =
3838
flake8 setup.py graphql_server tests
3939

4040
[testenv:import-order]
41-
basepython = python3.10
41+
basepython = python3.11
4242
deps = -e.[dev]
4343
commands =
4444
isort graphql_server/ tests/
4545

4646
[testenv:mypy]
47-
basepython = python3.10
47+
basepython = python3.11
4848
deps = -e.[dev]
4949
commands =
5050
mypy graphql_server tests --ignore-missing-imports
5151

5252
[testenv:manifest]
53-
basepython = python3.10
53+
basepython = python3.11
5454
deps = -e.[dev]
5555
commands =
5656
check-manifest -v

0 commit comments

Comments
 (0)