Skip to content

Commit 0c12ed5

Browse files
committed
Add python 3.11 and remove 3.6
1 parent 2b58b9a commit 0c12ed5

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Set up Python 3.9
15-
uses: actions/setup-python@v2
13+
- uses: actions/checkout@v3
14+
- name: Set up Python
15+
uses: actions/setup-python@v4
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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
11-
- name: Set up Python 3.9
12-
uses: actions/setup-python@v2
10+
- uses: actions/checkout@v3
11+
- name: Set up Python
12+
uses: actions/setup-python@v4
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

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ jobs:
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1212
os: [ubuntu-latest, windows-latest]
1313
exclude:
14-
- os: windows-latest
15-
python-version: "3.6"
1614
- os: windows-latest
1715
python-version: "3.7"
1816
- os: windows-latest
1917
python-version: "3.8"
2018
- os: windows-latest
21-
python-version: "3.10"
19+
python-version: "3.9"
20+
- os: windows-latest
21+
python-version: "3.11"
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v4
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install dependencies
@@ -39,11 +39,11 @@ jobs:
3939
runs-on: ubuntu-latest
4040

4141
steps:
42-
- uses: actions/checkout@v2
43-
- name: Set up Python 3.9
44-
uses: actions/setup-python@v2
42+
- uses: actions/checkout@v3
43+
- name: Set up Python
44+
uses: actions/setup-python@v4
4545
with:
46-
python-version: 3.9
46+
python-version: "3.10"
4747
- name: Install test dependencies
4848
run: |
4949
python -m pip install --upgrade pip

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[tox]
22
envlist =
33
black,flake8,import-order,mypy,manifest,
4-
py{36,37,38,39,310}
4+
py{37,38,39,310,311}
55
; requires = tox-conda
66

77
[gh-actions]
88
python =
9-
3.6: py36
109
3.7: py37
1110
3.8: py38
1211
3.9: py39
1312
3.10: py310
13+
3.11: py311
1414

1515
[testenv]
1616
conda_channels = conda-forge
@@ -27,31 +27,31 @@ commands =
2727
py{38}: pytest tests --cov-report=term-missing --cov=graphql_server {posargs}
2828

2929
[testenv:black]
30-
basepython = python3.9
30+
basepython = python3.10
3131
deps = -e.[dev]
3232
commands =
3333
black --check graphql_server tests
3434

3535
[testenv:flake8]
36-
basepython = python3.9
36+
basepython = python3.10
3737
deps = -e.[dev]
3838
commands =
3939
flake8 setup.py graphql_server tests
4040

4141
[testenv:import-order]
42-
basepython = python3.9
42+
basepython = python3.10
4343
deps = -e.[dev]
4444
commands =
4545
isort graphql_server/ tests/
4646

4747
[testenv:mypy]
48-
basepython = python3.9
48+
basepython = python3.10
4949
deps = -e.[dev]
5050
commands =
5151
mypy graphql_server tests --ignore-missing-imports
5252

5353
[testenv:manifest]
54-
basepython = python3.9
54+
basepython = python3.10
5555
deps = -e.[dev]
5656
commands =
5757
check-manifest -v

0 commit comments

Comments
 (0)