fix(deps): update dependency python-gitlab to v3.15.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
python-gitlab (changelog) | dependencies | minor |
3.12.0 -> 3.15.0
|
Release Notes
python-gitlab/python-gitlab (python-gitlab)
v3.15.0
Chore
-
chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v35 (
8202e3f
) -
chore: update sphinx from 5.3.0 to 6.2.1 (
c44a290
) -
chore: update copyright year to include 2023 (
511c6e5
) -
chore(deps): update all non-major dependencies (
e3de6ba
) -
chore(deps): update pre-commit hook commitizen-tools/commitizen to v3 (
1591e33
) -
chore(deps): update dependency types-setuptools to v67 (
c562424
) -
chore(deps): update dependency requests-toolbelt to v1 (
86eba06
) -
chore(deps): update dependency myst-parser to v1 (
9c39848
) -
chore(deps): update dependency commitizen to v3 (
784d59e
) -
chore(ci): use OIDC trusted publishing for pypi.org (#2559)
-
chore(ci): use OIDC trusted publishing for pypi.org
-
chore(ci): explicitly install setuptools in tests (
7be09e5
)
Documentation
- docs: remove exclusive EE about issue links (
e0f6f18
)
Feature
- feat: add support for
select=&#​34;package_file&#​34;
in package upload
Add ability to use select=&#​34;package_file&#​34;
when uploading a generic
package as described in:
https://docs.gitlab.com/ee/user/packages/generic_packages/index.html
-
feat(api): add support for events scope parameter (
348f56e
) -
feat: usernames support for MR approvals
This can be used instead of 'user_ids'
See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule (a2b8c8c
)
v3.14.0
Chore
-
chore(ci): wait for all coverage reports in CI status (
511764d
) -
chore(setup): depend on typing-extensions for 3.7 until EOL (
3abc557
) -
chore: add Contributor Covenant 2.1 as Code of Conduct
See https://www.contributor-covenant.org/version/2/1/code_of_conduct/ (fe334c9
)
-
chore(deps): update all non-major dependencies (
8b692e8
) -
chore(deps): update dependency furo to v2023 (
7a1545d
) -
chore(deps): update actions/stale action to v8 (
7ac4b86
) -
chore(pre-commit): Bumping versions (
e973729
) -
chore(.github): actually make MR template the default (
7a8a862
) -
chore: use a dataclass to return values from
prepare_send_data
I found the tuple of three values confusing. So instead use a dataclass to return the three values. It is still confusing but a little bit less so.
Also add some unit tests (f2b5e4f
)
-
chore(contributing): refresh development docs (
d387d91
) -
chore(github): add default pull request template (
bf46c67
) -
chore(deps): update all non-major dependencies (#2493)
-
chore(deps): update all non-major dependencies
-
chore(fixtures): downgrade GitLab for now
-
chore(deps): ungroup typing deps, group gitlab instead
-
chore(deps): downgrade argcomplete for now
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nejc Habjan <nejc.habjan@siemens.com> (07d03dc
)
- chore(deps): update dependency pre-commit to v3 (#2508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> (7d779c8
)
- chore(deps): update dependency coverage to v7 (#2501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> (aee73d0
)
- chore(deps): update dependency flake8 to v6 (#2502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> (3d4596e
)
-
chore(renovate): swith to gitlab-ee (
8da48ee
) -
chore(renovate): bring back custom requirements pattern (
ae0b21c
) -
chore(deps): update mypy (1.0.0) and responses (0.22.0)
Update the requirements-*
files.
In order to update mypy==1.0.0 we need to also update responses==0.22.0
Fix one issue found by mypy
Leaving updates for precommit
to be done in a separate commit by
someone. (9c24657
)
-
chore(renovate): do not ignore tests dir (
5b8744e
) -
chore(deps): update all non-major dependencies (
2f06999
) -
chore(deps): update pre-commit hook psf/black to v23 (
217a787
) -
chore(deps): update black (23.1.0) and commitizen (2.40.0) (#2479)
Update the dependency versions: black: 23.1.0 commitizen: 2.40.0
They needed to be updated together as just updating black
caused a
dependency conflict.
Updated files by running black
and committing the changes. (44786ef
)
For users who use tox
having pre-commit
as part of the default
environment list is redundant as it will run the same tests again that
are being run in other environments. For example: black, flake8,
pylint, and more. (fde2495
)
- chore: add Python 3.12 testing
Add a unit test for Python 3.12. This will use the latest version of Python 3.12 that is available from https://github.com/actions/python-versions/
At this time it is 3.12.0-alpha.4 but will move forward over time
until the final 3.12 release and updates. So 3.12.0, 3.12.1, ... will
be matched. (0867564
)
Documentation
-
docs(objects): fix typo in pipeline schedules (
3057f45
) -
docs(advanced): clarify netrc, proxy behavior with requests (
1da7c53
) -
docs: fix update badge behaviour
docs: fix update badge behaviour
Earlier: badge.image_link = new_link
Now:
badge.image_url = new_image_url
badge.link_url = new_link_url (3d7ca1c
)
- docs(advanced): fix typo in Gitlab examples (
1992790
)
Feature
-
feat(projects): allow importing additional items from GitHub (
ce84f2e
) -
feat(objects): support fetching PATs via id or
self
endpoint (19b38bd
) -
feat: add resource_weight_event for ProjectIssue (
6e5ef55
) -
feat(backends): use PEP544 protocols for structural subtyping (#2442)
The purpose of this change is to track API changes described in https://github.com/python-gitlab/python-gitlab/blob/main/docs/api-levels.rst, for example, for package versioning and breaking change announcements in case of protocol changes.
This is MVP implementation to be used by #2435. (4afeaff
)
- feat(client): add http_patch method (#2471)
In order to support some new API calls we need to support the HTTP PATCH
method.
- feat(cli): add setting of
allow_force_push
for protected branch
For the CLI: add allow_force_push
as an optional argument for
creating a protected branch.
API reference: https://docs.gitlab.com/ee/api/protected_branches.html#protect-repository-branches
Fix
-
fix(cli): warn user when no fields are displayed (
8bf53c8
) -
fix(client): properly parse content-type when charset is present (
76063c3
) -
fix: support int for
parent_id
inimport_group
This will also fix other use cases where an integer is passed in to MultipartEncoder.
Added unit tests to show it works.
-
fix(cli): add ability to escape at-prefixed parameter (#2513)
-
fix(cli): Add ability to escape at-prefixed parameter (#2511)
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> (4f7c784
)
Refactor
- refactor(client): let mypy know http_password is set (
2dd177b
)
Test
-
test(unit): increase V4 CLI coverage (
5748d37
) -
test(unit): split the last remaining unittest-based classes into modules" (
14e0f65
) -
test(unit): remove redundant package (
4a9e3ee
) -
test(unit): consistently use inline fixtures (
1bc56d1
) -
test(meta): move meta suite into unit tests
They're always run with it anyway, so it makes no difference. (847004b
)
- test(functional): clarify MR fixture factory name (
d8fd1a8
)
Unknown
- Merge pull request #2465 from valentingregoire/typos
docs: fix typo in issue docs (43f5ac5
)
- Merge branch 'main' into typos (
3cfd390
)
v3.13.0
Chore
-
chore: make backends private (
1e629af
) -
chore(deps): update all non-major dependencies (
ea7010b
) -
chore: add a UserWarning if both
iterator=True
andpage=X
are used (#2462)
If a caller calls a list()
method with both iterator=True
(or
as_list=False
) and page=X
then emit a UserWarning
as the options
are mutually exclusive. (8e85791
)
- chore: remove tox
envdir
values
tox > 4 no longer will re-use the tox directory :( What this means is that with the previous config if you ran: $ tox -e mypy; tox -e isort; tox -e mypy It would recreate the tox environment each time :(
By removing the envdir
values it will have the tox environments in
separate directories and not recreate them.
The have an FAQ entry about this:
https://tox.wiki/en/latest/upgrading.html#re-use-of-environments (3c7c7fc
)
-
chore: update attributes for create and update projects (
aa44f2a
) -
chore(deps): update all non-major dependencies (
122988c
) -
chore(deps): update all non-major dependencies (
49c0233
) -
chore(deps): update all non-major dependencies (
10c4f31
) -
chore(deps): update all non-major dependencies (
bbd01e8
) -
chore(deps): update actions/stale action to v7 (
76eb024
) -
chore(ci): complete all unit tests even if one has failed (#2438) (
069c6c3
) -
chore: add test, docs, and helper for 409 retries (
3e1c625
) -
chore(deps): update all non-major dependencies (
6682808
) -
chore(deps): update all non-major dependencies (
1816107
) -
chore(deps): update pre-commit hook pycqa/flake8 to v6 (
82c61e1
) -
chore: add docs for schedule pipelines (
9a9a6a9
) -
chore(tox): ensure test envs have all dependencies (
63cf4e4
) -
chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v34.48.4 (
985b971
) -
chore(deps): update dessant/lock-threads action to v4 (
337b25c
) -
chore: Use SPDX license expression in project metadata (
acb3a4a
) -
chore(deps): update actions/download-artifact action to v3 (
64ca597
) -
chore(deps): update all non-major dependencies (
21e767d
)
Documentation
- docs(faq): describe and group common errors (
4c9a072
)
Feature
-
feat(group): add support for group restore API (
9322db6
) -
feat(client): automatically retry on HTTP 409 Resource lock
-
feat(api): add support for bulk imports API (
043de2d
) -
feat(api): add support for resource groups (
5f8b8f5
) -
feat(api): support listing pipelines triggered by pipeline schedules (
865fa41
) -
feat: allow filtering pipelines by source
See:
https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines
Added in GitLab 14.3 (b6c0872
)
-
feat(client): bootstrap the http backends concept (#2391) (
91a665f
) -
feat: add resource iteration events (see https://docs.gitlab.com/ee/api/resource_iteration_events.html) (
ef5feb4
) -
feat: allow passing kwargs to Gitlab class when instantiating with
from_config
(#2392) (e88d34e
) -
feat: add keep_base_url when getting configuration from file (
50a0301
)
Fix
- fix(client): regression - do not automatically get_next if page=# and iterator=True/as_list=False are used
This fix a regression introduced on commit https://github.com/python-gitlab/python-gitlab/commit/1339d645ce58a2e1198b898b9549ba5917b1ff12
If page is used, then get_next should be false.
This was found on the mesa ci project, after upgrading the python-gitlab
version, the script that monitors the ci was getting killed by consuming
too much memory. (585e3a8
)
-
fix: change return value to "None" in case getattr returns None to prevent error (
3f86d36
) -
fix(deps): bump requests-toolbelt to fix deprecation warning (
faf842e
) -
fix: Use the ProjectIterationManager within the Project object
The Project object was previously using the GroupIterationManager resulting in the incorrect API endpoint being used. Utilize the correct ProjectIterationManager instead.
- fix(api): Make description optional for releases (
5579750
)
Refactor
-
refactor: add reason property to RequestsResponse (#2439) (
b59b7bd
) -
refactor: remove unneeded requests.utils import (#2426) (
6fca651
) -
refactor: Migrate MultipartEncoder to RequestsBackend (#2421) (
43b369f
) -
refactor: move Response object to backends (#2420) (
7d9ce0d
) -
refactor: move the request call to the backend (#2413) (
283e7cc
) -
refactor: Moving RETRYABLE_TRANSIENT_ERROR_CODES to const (
887852d
)
Test
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.