Skip to content

Commit 5c17c36

Browse files
authored
Merge pull request #1617 from python-gitlab/feat/support-3.10
feat(build): officially support and test python 3.10
2 parents 6ce56c2 + c042ddc commit 5c17c36

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.9
22+
python-version: "3.10"
2323
- name: Install dependencies
2424
run: pip install tox
2525
- name: Build docs
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Python
3535
uses: actions/setup-python@v2
3636
with:
37-
python-version: 3.9
37+
python-version: "3.10"
3838
- name: Install dependencies
3939
run: pip install tox twine wheel
4040
- name: Check twine readme rendering

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
toxenv: py38
2626
- python-version: 3.9
2727
toxenv: py39
28-
- python-version: 3.9
28+
- python-version: "3.10"
29+
toxenv: py310
30+
- python-version: "3.10"
2931
toxenv: smoke
3032
steps:
3133
- uses: actions/checkout@v2
@@ -50,7 +52,7 @@ jobs:
5052
- name: Set up Python
5153
uses: actions/setup-python@v2
5254
with:
53-
python-version: 3.9
55+
python-version: "3.10"
5456
- name: Install dependencies
5557
run: pip install tox pytest-github-actions-annotate-failures
5658
- name: Run tests
@@ -71,7 +73,7 @@ jobs:
7173
- name: Set up Python ${{ matrix.python-version }}
7274
uses: actions/setup-python@v2
7375
with:
74-
python-version: 3.9
76+
python-version: "3.10"
7577
- name: Install dependencies
7678
run: pip install tox pytest-github-actions-annotate-failures
7779
- name: Run tests

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def get_version():
4545
"Programming Language :: Python :: 3.7",
4646
"Programming Language :: Python :: 3.8",
4747
"Programming Language :: Python :: 3.9",
48+
"Programming Language :: Python :: 3.10",
4849
],
4950
extras_require={
5051
"autocompletion": ["argcomplete>=1.10.0,<2"],

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = py39,py38,py37,py36,pep8,black,twine-check,mypy,isort
4+
envlist = py310,py39,py38,py37,py36,pep8,black,twine-check,mypy,isort
55

66
[testenv]
77
passenv = GITLAB_IMAGE GITLAB_TAG

0 commit comments

Comments
 (0)