Update dependency python-gitlab to v4
This MR contains the following updates:
Package | Update | Change |
---|---|---|
python-gitlab (changelog) | major |
==3.15.0 -> ==4.2.0
|
Release Notes
python-gitlab/python-gitlab (python-gitlab)
v4.2.0
Chore
-
chore(deps): update all non-major dependencies (
8aeb853
) -
chore(deps): update dessant/lock-threads action to v5 (
f4ce867
) -
chore(deps): update all non-major dependencies (
9fe2335
) -
chore(deps): update all non-major dependencies (
91e66e9
) -
chore(deps): update all non-major dependencies (
d0546e0
)
Feature
- feat: add pipeline status as Enum
https://docs.gitlab.com/ee/api/pipelines.html (4954bbc
)
- feat(api): add support for wiki attachments (#2722)
Added UploadMixin in mixin module
Added UploadMixin dependency for Project, ProjectWiki, GroupWiki
Added api tests for wiki upload
Added unit test for mixin
Added docs sections to wikis.rst (7b864b8
)
v4.1.1
Chore
-
chore(ci): add release id to workflow step (
9270e10
) -
chore(deps): update all non-major dependencies (
32954fb
)
Documentation
- docs(users): add missing comma in v4 API create runner examples
The examples which show usage of new runner registration api endpoint
are missing commas. This change adds the missing commas. (b1b2edf
)
Fix
- fix(build): include py.typed in dists (
b928639
)
v4.1.0
Chore
-
chore(deps): update all non-major dependencies (
bf68485
) -
chore(CHANGELOG): re-add v4.0.0 changes using old format (
258a751
) -
chore(CHANGELOG): revert python-semantic-release format change (
b5517e0
) -
chore: add source label to container image (
7b19278
)
Ci
- ci: remove unneeded GitLab auth (
fd7bbfc
)
Feature
- feat: add Merge Request merge_status and detailed_merge_status values as constants (
e18a424
)
Fix
- fix: remove depricated MergeStatus (
c6c012b
)
v4.0.0
Breaking
- docs(advanced): document new netrc behavior
BREAKING CHANGE: python-gitlab now explicitly passes auth to requests, meaning
it will only read netrc credentials if no token is provided, fixing a bug where
netrc credentials took precedence over OAuth tokens. This also affects the CLI,
where all environment variables now take precedence over netrc files. (45b8930
)
- refactor(build): build project using PEP 621
BREAKING CHANGE: python-gitlab now stores metadata in pyproject.toml
as per PEP 621, with setup.py removed. pip version v21.1 or higher is
required if you want to perform an editable install. (71fca8c
)
- refactor(const): remove deprecated global constant import
BREAKING CHANGE: Constants defined in gitlab.const
can no longer be imported globally from gitlab
.
Import them from gitlab.const
instead. (e4a1f6e
)
- refactor(list):
as_list
support is removed.
In list()
calls support for the as_list
argument has been removed.
as_list
was previously deprecated and now the use of iterator
will
be required if wanting to have same functionality as using as_list
BREAKING CHANGE: Support for the deprecated as_list
argument in
list()
calls has been removed. Use iterator
instead. (9b6d89e
)
- refactor(lint): remove deprecated
lint()
in favor ofci_lint.create()
BREAKING CHANGE: The deprecated lint()
method is no longer available.
Use ci_lint.create()
instead. (0b17a2d
)
- refactor(artifacts): remove deprecated
artifact()
in favor ofartifacts.raw()
BREAKING CHANGE: The deprecated project.artifact()
method is no longer available.
Use project.artifacts.raw()
instead. (90134c9
)
- refactor(artifacts): remove deprecated
artifacts()
in favor ofartifacts.download()
BREAKING CHANGE: The deprecated project.artifacts()
method is no longer available.
Use project.artifacts.download()
instead. (42639f3
)
- refactor(groups): remove deprecated LDAP group link add/delete methods
BREAKING CHANGE: The deprecated group.add_ldap_group_link()
and group.delete_ldap_group_link()
methods are no longer available. Use group.ldap_group_links.create()
and group.ldap_group_links.delete()
instead. (5c8b7c1
)
- refactor(projects): remove deprecated
project.transfer_project()
in favor ofproject.transfer()
BREAKING CHANGE: The deprecated project.transfer_project()
method is no longer available.
Use project.transfer()
instead. (27ed490
)
- fix(cli): remove deprecated
--all
option in favor of--get-all
BREAKING CHANGE: The --all
option is no longer available in the CLI. Use --get-all
instead. (e9d48cf
)
- feat: remove support for Python 3.7, require 3.8 or higher
Python 3.8 is End-of-Life (EOL) as of 2023-06-27 as stated in https://devguide.python.org/versions/ and https://peps.python.org/pep-0537/
By dropping support for Python 3.7 and requiring Python 3.8 or higher it allows python-gitlab to take advantage of new features in Python 3.8, which are documented at: https://docs.python.org/3/whatsnew/3.8.html
BREAKING CHANGE: As of python-gitlab 4.0.0, Python 3.7 is no longer
supported. Python 3.8 or higher is required. (058d5a5
)
Chore
-
chore(ci): follow upstream config for release build_command (
3e20a76
) -
chore(ci): update release build for python-semantic-release v8 (#2692) (
bf050d1
) -
chore(deps): update pre-commit hook pycqa/pylint to v3 (
0f4a346
) -
chore(deps): update all non-major dependencies (
1348a04
) -
chore: add package pipelines API link (
2a2404f
) -
chore(ci): fix pre-commit deps and python version (
1e7f257
) -
chore(ci): remove Python 3.13 dev job (
e8c50f2
) -
chore(helpers): fix previously undetected flake8 issue (
bf8bd73
) -
chore: fix test names (
f1654b8
) -
chore: make linters happy (
3b83d5d
) -
chore: change
_update_uses
to_update_method
and use an Enum
Change the name of the _update_uses
attribute to _update_method
and store an Enum in the attribute to indicate which type of HTTP
method to use. At the moment it supports POST
and PUT
. But can in
the future support PATCH
. (7073a2d
)
-
chore(deps): update all non-major dependencies (
ff45124
) -
chore(deps): update dependency pylint to v3 (
491350c
) -
chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v37 (
b4951cd
) -
chore(deps): update all non-major dependencies (
0d49164
) -
chore(deps): update dependency commitizen to v3.10.0 (
becd8e2
) -
chore(deps): update pre-commit hook commitizen-tools/commitizen to v3.10.0 (
626c2f8
) -
chore(deps): update all non-major dependencies (
6093dbc
) -
chore(deps): update all non-major dependencies (
bb728b1
) -
chore(deps): update all non-major dependencies to v23.9.1 (
a16b732
) -
chore(deps): update actions/checkout action to v4 (
af13914
) -
chore(deps): update all non-major dependencies (
9083787
) -
chore(deps): update dependency build to v1 (
2e856f2
) -
chore(deps): update all non-major dependencies (
b6a3db1
) -
chore(rtd): use readthedocs v2 syntax (
6ce2149
) -
chore(rtd): fix docs build on readthedocs.io (#2654) (
3d7139b
) -
chore(ci): adapt release workflow and config for v8 (
827fefe
) -
chore(deps): update relekang/python-semantic-release action to v8 (
c57c85d
) -
chore(deps): update all non-major dependencies (
16f2d34
) -
chore(deps): update all non-major dependencies (
5b33ade
) -
chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v36 (
db58cca
) -
chore(deps): update dependency ubuntu to v22 (
8865552
) -
chore(deps): update all non-major dependencies (
3732841
) -
chore(deps): update dependency pytest-docker to v2 (
b87bb0d
) -
chore: switch to docker-compose v2
- chore: update PyYAML to 6.0.1
Fixes issue with CI having error:
AttributeError: cython_sources
-
chore(deps): update all non-major dependencies (
511f45c
) -
chore(deps): update all non-major dependencies (
d4a7410
) -
chore(deps): update all non-major dependencies (
12846cf
) -
chore(deps): update all non-major dependencies (
33d2aa2
) -
chore(deps): update dependency types-setuptools to v68 (
bdd4eb6
) -
chore(deps): update actions/upload-artifact action to v3 (
b78d6bf
) -
chore(deps): update dependency setuptools to v68 (
0f06082
) -
chore(deps): bring myst-parser up to date with sphinx 7 (
da03e9c
) -
chore(deps): bring furo up to date with sphinx (
a15c927
) -
chore(deps): update dependency sphinx to v7 (
2918dfd
) -
chore(deps): update actions/checkout action to v3 (
e2af1e8
) -
chore(deps): update actions/setup-python action to v4 (
e0d6783
) -
chore(deps): update all non-major dependencies (
5ff56d8
) -
chore(deps): pin pytest-console-scripts for 3.7 (
6d06630
) -
chore(deps): update all non-major dependencies (
7586a5c
)
Documentation
- docs: correct error with back-ticks (#2653)
New linting package update detected the issue. (0b98dd3
)
- docs(access_token): adopt token docs to 16.1
expires_at is now required
Upstream MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124964 (fe7a971
)
- docs(files): fix minor typo in variable declaration (
118ce42
)
Feature
-
feat(client): mask tokens by default when logging (
1611d78
) -
feat(api): add ProjectPackagePipeline
Add ProjectPackagePipeline, which is scheduled to be included in GitLab
16.0 (5b4addd
)
-
feat: officially support Python 3.12 (
2a69c0e
) -
feat(packages): Allow uploading bytes and files
This commit adds a keyword argument to GenericPackageManager.upload() to allow uploading bytes and file-like objects to the generic package registry. That necessitates changing file path to be a keyword argument as well, which then cascades into a whole slew of checks to not allow passing both and to not allow uploading file-like objects as JSON data.
Closes https://github.com/python-gitlab/python-gitlab/issues/1815 (61e0fae
)
-
feat: Use requests AuthBase classes (
5f46cfd
) -
feat(api): add support for job token scope settings (
59d6a88
) -
feat(api): support project remote mirror deletion (
d900910
) -
feat(api): add optional GET attrs for /projects/:id/ci/lint (
40a102d
) -
feat(api): add support for new runner creation API (#2635)
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> (4abcd17
)
- feat(releases): Add support for direct_asset_path
This commit adds support for the “new” alias for filepath
:
direct_asset_path
(added in 15.10) in release links API. (d054917
)
- feat: Added iteration to issue and group filters (
8d2d297
)
Fix
-
fix(cli): add _from_parent_attrs to user-project manager (#2558) (
016d90c
) -
fix(cli): fix action display in --help when there are few actions
-
fix(client): support empty 204 responses in http_patch (
e15349c
) -
fix(snippets): allow passing list of files (
31c3c5e
)
Test
-
test: add tests for token masking (
163bfcf
) -
test(cli): add test for user-project list (
a788cff
) -
test: correct calls to
script_runner.run()
Warnings were being raised. Resolve those warnings. (cd04315
)
- test: fix failing tests that use 204 (No Content) plus content
urllib3>=2 now checks for expected content length. Also codes 204 and 304 are set to expect a content length of 0 [1]
So in the unit tests stop setting content to return in these situations.
[1] https://github.com/urllib3/urllib3/blob/88a707290b655394aade060a8b7eaee83152dc8b/src/urllib3/response.py#L691-L693 (3074f52
)
Unknown
- chore(deps): update dependency requests to v2.31.0 [security]
Also update dependency responses==0.23.3
as it provides support for
urllib3>=2
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.