8000 chore: add Python 3.13 as supported (#3012) · python-gitlab/python-gitlab@b565e78 · GitHub
[go: up one dir, main page]

Skip to content

Commit b565e78

Browse files
chore: add Python 3.13 as supported (#3012)
Mark that Python 3.13 is supported. Use Python 3.13 for the Mac and Windows tests. Also remove the 'py38' tox environment. We no longer support Python 3.8.
1 parent 482f2fe commit b565e78

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,21 @@ jobs:
3434
toxenv: py311,smoke
3535
- version: "3.12"
3636
toxenv: py312,smoke
37-
- version: '3.13.0-alpha - 3.13' # SemVer's version range syntax
37+
- version: "3.13"
3838
toxenv: py313,smoke
39+
# NOTE(jlvillal): 2024-10-17: Enable this once we fix
40+
# https://github.com/python-gitlab/python-gitlab/issues/3013
41+
# - version: "3.14.0-alpha - 3.14" # SemVer's version range syntax
42+
# toxenv: py314,smoke
3943
include:
4044
- os: macos-latest
4145
python:
42-
version: "3.12"
43-
toxenv: py312,smoke
46+
version: "3.13"
47+
toxenv: py313,smoke
4448
- os: windows-latest
4549
python:
46-
version: "3.12"
47-
toxenv: py312,smoke
50+
version: "3.13"
51+
toxenv: py313,smoke
4852
steps:
4953
- uses: actions/checkout@v4.2.1
5054
- name: Set up Python ${{ matrix.python.version }}

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ classifiers = [
3434
"Programming Language :: Python :: 3.10",
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
3738
]
3839
keywords = ["api", "client", "gitlab", "python", "python-gitlab", "wrapper"]
3940
license = {text = "LGPL-3.0-or-later"}

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 4.0
33
skipsdist = True
44
skip_missing_interpreters = True
5-
envlist = py313,py312,py311,py310,py39,py38,black,isort,flake8,mypy,twine-check,cz,pylint
5+
envlist = py313,py312,py311,py310,py39,black,isort,flake8,mypy,twine-check,cz,pylint
66

77
# NOTE(jlvillal): To use a label use the `-m` flag.
88
# For example to run the `func` label group of environments do:

0 commit comments

Comments
 (0)
0