Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.12
->3.13
==24.2
->==24.3.1
v4.6.0
->v5.0.0
==4.11.1
->==5.2.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
pypa/pip (pip)
v24.3.1
Compare Source
v24.3
Compare Source
pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)
v5.0.0
: pre-commit-hooks v5.0.0Compare Source
Features
requirements-txt-fixer
: also removepkg_resources==...
.check-illegal-windows-names
: new hook!pretty-format-json
: continue processing even if a file has a json error.Fixes
destroyed-symlinks
: setstages
to[pre-commit, pre-push, manual]
Migrating
pre-commit>=3.2.0
.stages
.python-gitlab/python-gitlab (python-gitlab)
v5.2.0
Compare Source
Chores
deps: Update all non-major dependencies
(
1e02f23
)deps: Update all non-major dependencies
(
6532e8c
)deps: Update all non-major dependencies
(
8046387
)deps: Update codecov/codecov-action action to v5
(
735efff
)deps: Update dependency commitizen to v4
(
9306362
)deps: Update gitlab/gitlab-ee docker tag to v17.6.1-ee.0
(#3053,
f2992ae
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(#3065,
db0db26
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
deps: Update pre-commit hook commitizen-tools/commitizen to v4
(
a8518f1
)docs: Fix CHANGELOG tracebacks codeblocks
(
9fe372a
)With v5.1.0 CHANGELOG.md was updated that mangled v1.10.0 triple backtick codeblock Traceback output
that made sphinx fail [1] with a non-zero return code.
The resulting docs appears to be processes as text after the failing line [2]. While reviewing other
backtick codeblocks fix v1.8.0 [3] to the original traceback.
[1]
https://github.com/python-gitlab/python-gitlab/actions/runs/12060608158/job/33631303063#step:5:204
[2] https://python-gitlab.readthedocs.io/en/v5.1.0/changelog.html#v1-10-0-2019-07-22 [3]
https://python-gitlab.readthedocs.io/en/v5.0.0/changelog.html#id258
(
b70830d
)Documentation
(#3059,
f460d95
)Features
0d41da3
)managers to Project in project.py * docs(merge_requests): Add example of creating mr with
description template * test(templates): Added unit tests for templates * docs(templates): added
section for project templates
(
288f39c
)v5.1.0
Compare Source
Chores
deps: Update all non-major dependencies
(
9061647
)deps: Update all non-major dependencies
(
62da12a
)deps: Update all non-major dependencies
(
7e62136
)deps: Update all non-major dependencies
(
d4b52e7
)deps: Update all non-major dependencies
(
541a7e3
)deps: Update dependency pytest-cov to v6
(
ffa88b3
)deps: Update gitlab/gitlab-ee docker tag to v17.5.1-ee.0
(
8111f49
)deps: Update gitlab/gitlab-ee docker tag to v17.5.2-ee.0
(#3041,
d39129b
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(#3044,
79113d9
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(
11458e0
)Features
api: Get single project approval rule
(
029695d
)api: Support list and delete for group service accounts
(#2963,
499243b
)cli: Enable token rotation via CLI
(
0cb8171
)const: Add new Planner role to access levels
(
bdc8852
)files: Add support for more optional flags
(
f51cd52
)GitLab's Repository Files API supports additional flags that weren't implemented before. Notably,
the "start_branch" flag is particularly useful, as previously one had to use the "project-branch"
command alongside "project-file" to add a file on a separate branch.
[1] https://docs.gitlab.com/ee/api/repository_files.html
v5.0.0
Compare Source
Bug Fixes
(#3011,
1a68f1c
)Co-authored-by: Patrick Evans [email protected]
Chores
b565e78
)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.
(
14d2a82
)Also fix annotations not working in Python 3.14 by using the annotation on the 'class' instead
of on the 'instance'
Closes: #3013
(#3017,
482f2fe
)python-gitlab hasn't supported the GitLab v3 API since 2018. The last version of python-gitlab to
support it was v1.4
Support was removed in:
commit
fe89b94
Author: Gauvain Pocentek [email protected]Date: Sat May 19 17:10:08 2018 +0200
Drop API v3 support
Drop the code, the tests, and update the documentation.
deps: Update all non-major dependencies
(
1e4326b
)deps: Update all non-major dependencies
(
b3834dc
)deps: Update dependency ubuntu to v24
(
6fda15d
)deps: Update gitlab/gitlab-ee docker tag to v17.4.2-ee.0
(
1cdfe40
)deps: Update gitlab/gitlab-ee docker tag to v17.5.0-ee.0
(
c02a392
)Documentation
(#3022,
3739b5d
)Features
(#3005,
9734ad4
)Python 3.8 is End-of-Life (EOL) as of 2024-10 as stated in https://devguide.python.org/versions/ and
https://peps.python.org/pep-0569/#lifespan
By dropping support for Python 3.8 and requiring Python 3.9 or higher it allows python-gitlab to
take advantage of new features in Python 3.9, which are documented at:
https://docs.python.org/3/whatsnew/3.9.html
Closes: #2968
BREAKING CHANGE: As of python-gitlab 5.0.0, Python 3.8 is no longer supported. Python 3.9 or higher
is required.
Testing
to_json()
method(
f4bfe19
)This should get us to 100% test coverage on
gitlab/base.py
BREAKING CHANGES
v4.13.0
Compare Source
Chores
deps: Update all non-major dependencies
(
c3efb37
)deps: Update dependency pre-commit to v4
(#3008,
5c27546
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Features
(
0ee0e02
)v4.12.2
Compare Source
Bug Fixes
project.files.head()
method(#3006,
9bf26df
)When an error occurs, raise
GitlabHeadError
inproject.files.head()
method.Closes: #3004
v4.12.1
Compare Source
Bug Fixes
ci: Do not rely on GitLab.com runner arch variables
(#3003,
c848d12
)files: Correctly raise GitlabGetError in get method
(
190ec89
)Chores
(#3000,
d3da326
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(
64eed5d
)v4.12.0
Compare Source
Bug Fixes
(#2977,
96a18b0
)Co-authored-by: Patrick Evans [email protected]
Co-authored-by: Nejc Habjan [email protected]
Chores
(#2997,
a0729b8
)pylint 3.3.1 appears to have added "too-many-positional-arguments" check with a value of 5.
I don't disagree with this, but we have many functions which exceed this value. We might think about
converting some of positional arguments over to keyword arguments in the future. But that is for
another time.
For now disable the check across the project.
deps: Update all non-major dependencies
(
ae132e7
)deps: Update all non-major dependencies
(
10ee58a
)deps: Update dependency types-setuptools to v75
(
a2ab54c
)deps: Update gitlab/gitlab-ee docker tag to v17.3.2-ee.0
(
5cd1ab2
)deps: Update gitlab/gitlab-ee docker tag to v17.4.0-ee.0
(
8601808
)Features
Introduce related_issues to merge requests
(#2996,
174d992
)build: Build multi-arch images
(#2987,
29f617d
)Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.