This repository was archived by the owner on Nov 24, 2025. It is now read-only.
chore(deps): update dependency python-gitlab to v5.6.0#92
Merged
Conversation
367d73c to
b0a6502
Compare
gi8lino
approved these changes
Jan 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
==5.3.1->==5.6.0Release Notes
python-gitlab/python-gitlab (python-gitlab)
v5.6.0Compare Source
Features
(
304bdd0)v5.5.0Compare Source
Chores
Add deprecation warning for mirror_pull functions
(
7f6fd5c)Relax typing constraints for response action
(
f430078)tests: Catch deprecation warnings
(
0c1af08)Documentation
Add usage of pull mirror
(
9b374b2)Remove old pull mirror implementation
(
9e18672)Features
functional: Add pull mirror test
(
3b31ade)projects: Add pull mirror class
(
2411bff)unit: Add pull mirror tests
(
5c11203)v5.4.0Compare Source
Bug Fixes
(
e3cb806)Instead of using absolute ignore
# type: ignoreuse a more specific ignores like# type: ignore[override]. This might help in the future where a new bug might be introduced and getignored by a general ignore comment but not a more specific one.
Signed-off-by: Igor Ponomarev igor.ponomarev@collabora.com
api: Return the new commit when calling cherry_pick
(
de29503)files: Add optional ref parameter for cli project-file raw (#3032)
(
22f03bd)The ef parameter was removed in python-gitlab v4.8.0. This will add ef back as an optional parameter
for the project-file raw cli command.
Chores
Fix missing space in deprecation message
(
ba75c31)Fix pytest deprecation
(
95db680)pytest has changed the function argument name to
start_path(
0eb5eb0)The CI shows a warning. Use
get_all=Falseto resolve issue.(
accd5aa)Catch the DeprecationWarning in our test, as we expect it.
(
e8d6953)Currently the functional API test takes around 17 minutes to run. And the functional CLI test takes
around 12 minutes to run.
Occasionally a job gets stuck and will sit until the default 360 minutes job timeout occurs.
Now have a 30 minute timeout for the 'functional' tests.
deps: Update all non-major dependencies
(
939505b)deps: Update all non-major dependencies
(
cbd4263)deps: Update gitlab (#3088,
9214b83)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(#3082,
1e95944)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(
671e711)mypy 1.14 has a change to Enum Membership Semantics:
https://mypy.readthedocs.io/en/latest/changelog.html
Resolve the issues with Enum and typing, and update mypy to 1.14
(
e4673d8)Previously the 'job_with_artifact' fixture could run forever. Now give it up to 60 seconds to
complete before failing.
Continuous Integration
(
2dda9dc)The
latestgitlab-runner image does not have thegitlab-runneruser and it causes our tests tofail.
Closes: #3091
Features
(
fb07b5c)Currently the only way to manipulate the headers for a request is to use
Gitlab.headersattribute.However, this makes it very concurrently unsafe because the
Gitlabobject can be shared betweenmultiple requests at the same time.
Instead add a new keyword argument
extra_headerswhich will update the headers dictionary with newvalues just before the request is sent.
For example, this can be used to download a part of a artifacts file using the
Rangeheader:https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests
Signed-off-by: Igor Ponomarev igor.ponomarev@collabora.com
api: Add support for external status check
(
175b355)api: Narrow down return type of download methods using typing.overload
(
44fd9dc)Currently the download methods such as
ProjectJob.artifactshave return type set toOptional[Union[bytes, Iterator[Any]]]which means they return eitherNoneorbytesorIterator[Any].However, the actual return type is determined by the passed
streamedanditeratorarguments.Using
@typing.overloaddecorator it is possible to return a single type based on the passedarguments.
Add overloads in the following order to all download methods:
streamed=Falseanditerator=Falsereturnbytes. This is the default argument valuestherefore it should be first as it will be used to lookup default arguments. 2. If
iterator=Truereturn
Iterator[Any]. This can be combined with bothstreamed=Trueandstreamed=False. 3. Ifstreamed=Trueanditerator=FalsereturnNone. In this caseactionargument can be set to acallable that accepts
bytes.Signed-off-by: Igor Ponomarev igor.ponomarev@collabora.com
(
36d9b24)This is equivalent to the changes in
44fd9dcbut forProjectFileManager.rawmethod that I must have missed in the original commit.Signed-off-by: Igor Ponomarev igor.ponomarev@collabora.com
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.