GeezerVison is showing github.com — feat: officially support Python 3.12 · python-gitlab/python-gitlab@2a69c0e
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 |
|---|
| 26 | 26 | - name: Set up Python | 27 | 27 | | 28 | 28 | with: | 29 | | - python-version: "3.11" | | 29 | + python-version: "3.12" | 30 | 30 | - name: Install dependencies | 31 | 31 | run: pip install tox | 32 | 32 | - name: Build docs | | 46 | 46 | - name: Set up Python | 47 | 47 | | 48 | 48 | with: | 49 | | - python-version: "3.11" | | 49 | + python-version: "3.12" | 50 | 50 | - name: Install dependencies | 51 | 51 | run: pip install tox twine wheel | 52 | 52 | - name: Check twine readme rendering | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/lint.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 27 | 27 | fetch-depth: 0 | 28 | 28 | | 29 | 29 | with: | 30 | | - python-version: "3.11" | | 30 | + python-version: "3.12" | 31 | 31 | - run: pip install --upgrade tox | 32 | 32 | - name: Run commitizen (https://commitizen-tools.github.io/commitizen/) | 33 | 33 | run: tox -e cz | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/pre_commit.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 32 | 32 | | 33 | 33 | | 34 | 34 | with: | 35 | | - python-version: "3.11" | | 35 | + python-version: "3.12" | 36 | 36 | - name: install tox | 37 | 37 | run: pip install tox==3.26.0 | 38 | 38 | - name: pre-commit | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/test.yml +11-9Lines changed: 11 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,17 +34,19 @@ jobs: | 34 | 34 | toxenv: py310,smoke | 35 | 35 | - version: "3.11" | 36 | 36 | toxenv: py311,smoke | 37 | | - - version: '3.12.0-alpha - 3.12' # SemVer's version range syntax | | 37 | + - version: "3.12" | 38 | 38 | toxenv: py312,smoke | | 39 | + - version: '3.13.0-alpha - 3.13' # SemVer's version range syntax | | 40 | + toxenv: py313,smoke | 39 | 41 | include: | 40 | 42 | - os: macos-latest | 41 | 43 | python: | 42 | | - version: "3.11" | 43 | | - toxenv: py310,smoke | | 44 | + version: "3.12" | | 45 | + toxenv: py312,smoke | 44 | 46 | - os: windows-latest | 45 | 47 | python: | 46 | | - version: "3.11" | 47 | | - toxenv: py310,smoke | | 48 | + version: "3.12" | | 49 | + toxenv: py312,smoke | 48 | 50 | steps: | 49 | 51 | | 50 | 52 | - name: Set up Python ${{ matrix.python.version }} | | 68 | 70 | - name: Set up Python | 69 | 71 | | 70 | 72 | with: | 71 | | - python-version: "3.11" | | 73 | + python-version: "3.12" | 72 | 74 | - name: Install dependencies | 73 | 75 | run: pip install tox | 74 | 76 | - name: Run tests | | 89 | 91 | - name: Set up Python ${{ matrix.python-version }} | 90 | 92 | | 91 | 93 | with: | 92 | | - python-version: "3.11" | | 94 | + python-version: "3.12" | 93 | 95 | - name: Install dependencies | 94 | 96 | run: pip install tox | 95 | 97 | - name: Run tests | @@ -111,7 +113,7 @@ jobs: | 111 | 113 | | 112 | 114 | | 113 | 115 | with: | 114 | | - python-version: "3.11" | | 116 | + python-version: "3.12" | 115 | 117 | - name: Install dependencies | 116 | 118 | run: | | 117 | 119 | pip install -r requirements-test.txt | @@ -130,7 +132,7 @@ jobs: | 130 | 132 | - name: Set up Python | 131 | 133 | | 132 | 134 | with: | 133 | | - python-version: '3.11' | | 135 | + python-version: '3.12' | 134 | 136 | | 135 | 137 | with: | 136 | 138 | name: dist | |
Collapse file Copy file name to clipboardExpand all lines: .readthedocs.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,7 @@ version: 2 | 3 | 3 | build: | 4 | 4 | os: ubuntu-22.04 | 5 | 5 | tools: | 6 | | - python: "3.11" | | 6 | + python: "3.12" | 7 | 7 |
| 8 | 8 | sphinx: | 9 | 9 | configuration: docs/conf.py | |
Collapse file Copy file name to clipboardExpand all lines: Dockerfile +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | ARG PYTHON_FLAVOR=alpine | 2 | | -FROM python:3.11-${PYTHON_FLAVOR} AS build | | 2 | +FROM python:3.12-${PYTHON_FLAVOR} AS build | 3 | 3 |
| 4 | 4 | WORKDIR /opt/python-gitlab | 5 | 5 | COPY . . | 6 | 6 | RUN pip install build && python -m build | 7 | 7 |
| 8 | | -FROM python:3.11-${PYTHON_FLAVOR} | | 8 | +FROM python:3.12-${PYTHON_FLAVOR} | 9 | 9 |
| 10 | 10 | WORKDIR /opt/python-gitlab | 11 | 11 | COPY --from=build /opt/python-gitlab/dist dist/ | |
Collapse file Copy file name to clipboardExpand all lines: pyproject.toml +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -33,7 +33,8 @@ classifiers = [ | 33 | 33 | "Programming Language :: Python :: 3.8", | 34 | 34 | "Programming Language :: Python :: 3.9", | 35 | 35 | "Programming Language :: Python :: 3.10", | 36 | | - "Programming Language :: Python :: 3.11" | | 36 | + "Programming Language :: Python :: 3.11", | | 37 | + "Programming Language :: Python :: 3.12", | 37 | 38 | ] | 38 | 39 | keywords = ["api", "client", "gitlab", "python", "python-gitlab", "wrapper"] | 39 | 40 | license = {text = "LGPL-3.0-or-later"} | |
|