summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2021-10-06 09:20:17 +0200
committerGitHub <noreply@github.com>2021-10-06 09:20:17 +0200
commit5c17c3664b05ee77b04a464639b39d816d68a6d1 (patch)
tree4443ce5ba15c455a8f3551604841300f6bd51824
parent6ce56c2ad2e99ff7fdb3ee09a132a3eafeab5313 (diff)
parentc042ddc79ea872fc8eb8fe4e32f4107a14ffed2d (diff)
downloadgitlab-5c17c3664b05ee77b04a464639b39d816d68a6d1.tar.gz
Merge pull request #1617 from python-gitlab/feat/support-3.10
feat(build): officially support and test python 3.10
-rw-r--r--.github/workflows/docs.yml4
-rw-r--r--.github/workflows/test.yml8
-rw-r--r--setup.py1
-rw-r--r--tox.ini2
4 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 7933b2b..b5a413d 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
- python-version: 3.9
+ python-version: "3.10"
- name: Install dependencies
run: pip install tox
- name: Build docs
@@ -34,7 +34,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
- python-version: 3.9
+ python-version: "3.10"
- name: Install dependencies
run: pip install tox twine wheel
- name: Check twine readme rendering
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b1254bb..43ea68a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -25,7 +25,9 @@ jobs:
toxenv: py38
- python-version: 3.9
toxenv: py39
- - python-version: 3.9
+ - python-version: "3.10"
+ toxenv: py310
+ - python-version: "3.10"
toxenv: smoke
steps:
- uses: actions/checkout@v2
@@ -50,7 +52,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
- python-version: 3.9
+ python-version: "3.10"
- name: Install dependencies
run: pip install tox pytest-github-actions-annotate-failures
- name: Run tests
@@ -71,7 +73,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
- python-version: 3.9
+ python-version: "3.10"
- name: Install dependencies
run: pip install tox pytest-github-actions-annotate-failures
- name: Run tests
diff --git a/setup.py b/setup.py
index 589f9a4..c809142 100644
--- a/setup.py
+++ b/setup.py
@@ -45,6 +45,7 @@ setup(
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
],
extras_require={
"autocompletion": ["argcomplete>=1.10.0,<2"],
diff --git a/tox.ini b/tox.ini
index 8ba8346..da1f1e8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
-envlist = py39,py38,py37,py36,pep8,black,twine-check,mypy,isort
+envlist = py310,py39,py38,py37,py36,pep8,black,twine-check,mypy,isort
[testenv]
passenv = GITLAB_IMAGE GITLAB_TAG