GeezerVison is showing github.com — feat(build): officially support and test python 3.10 · python-gitlab/python-gitlab@c042ddc
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/docs.yml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 | - name: Set up Python | 20 | 20 | uses: actions/setup-python@v2 | 21 | 21 | with: | 22 | | - python-version: 3.9 | | 22 | + python-version: "3.10" | 23 | 23 | - name: Install dependencies | 24 | 24 | run: pip install tox | 25 | 25 | - name: Build docs | | 34 | 34 | - name: Set up Python | 35 | 35 | uses: actions/setup-python@v2 | 36 | 36 | with: | 37 | | - python-version: 3.9 | | 37 | + python-version: "3.10" | 38 | 38 | - name: Install dependencies | 39 | 39 | run: pip install tox twine wheel | 40 | 40 | - name: Check twine readme rendering | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/test.yml +5-3Lines changed: 5 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 25 | 25 | toxenv: py38 | 26 | 26 | - python-version: 3.9 | 27 | 27 | toxenv: py39 | 28 | | - - python-version: 3.9 | | 28 | + - python-version: "3.10" | | 29 | + toxenv: py310 | | 30 | + - python-version: "3.10" | 29 | 31 | toxenv: smoke | 30 | 32 | steps: | 31 | 33 | - uses: actions/checkout@v2 | | 50 | 52 | - name: Set up Python | 51 | 53 | uses: actions/setup-python@v2 | 52 | 54 | with: | 53 | | - python-version: 3.9 | | 55 | + python-version: "3.10" | 54 | 56 | - name: Install dependencies | 55 | 57 | run: pip install tox pytest-github-actions-annotate-failures | 56 | 58 | - name: Run tests | | 71 | 73 | - name: Set up Python ${{ matrix.python-version }} | 72 | 74 | uses: actions/setup-python@v2 | 73 | 75 | with: | 74 | | - python-version: 3.9 | | 76 | + python-version: "3.10" | 75 | 77 | - name: Install dependencies | 76 | 78 | run: pip install tox pytest-github-actions-annotate-failures | 77 | 79 | - name: Run tests | |
Collapse file Copy file name to clipboardExpand all lines: setup.py +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -45,6 +45,7 @@ def get_version(): | 45 | 45 | "Programming Language :: Python :: 3.7", | 46 | 46 | "Programming Language :: Python :: 3.8", | 47 | 47 | "Programming Language :: Python :: 3.9", | | 48 | + "Programming Language :: Python :: 3.10", | 48 | 49 | ], | 49 | 50 | extras_require={ | 50 | 51 | "autocompletion": ["argcomplete>=1.10.0,<2"], | |
Collapse file Copy file name to clipboardExpand all lines: tox.ini +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | [tox] | 2 | 2 | minversion = 1.6 | 3 | 3 | 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 | 5 | 5 |
| 6 | 6 | [testenv] | 7 | 7 | passenv = GITLAB_IMAGE GITLAB_TAG | |
|