python-gitlab/python-gitlab (python-gitlab)
### [`v3.15.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v3150-2023-06-09)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v3.14.0...v3.15.0)
##### Chores
- chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v35 ([`8202e3f`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8202e3fe01b34da3ff29a7f4189d80a2153f08a4))
- chore: update sphinx from 5.3.0 to 6.2.1 ([`c44a290`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c44a29016b13e535621e71ec4f5392b4c9a93552))
- chore: update copyright year to include 2023 ([`511c6e5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/511c6e507e4161531732ce4c323aeb4481504b08))
- chore(deps): update all non-major dependencies ([`e3de6ba`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e3de6bac98edd8a4cb87229e639212b9fb1500f9))
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v3 ([`1591e33`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1591e33f0b315c7eb544dc98a6567c33c2ac143f))
- chore(deps): update dependency types-setuptools to v67 ([`c562424`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c56242413e0eb36e41981f577162be8b69e53b67))
- chore(deps): update dependency requests-toolbelt to v1 ([`86eba06`](https://redirect.github.com/python-gitlab/python-gitlab/commit/86eba06736b7610d8c4e77cd96ae6071c40067d5))
- chore(deps): update dependency myst-parser to v1 ([`9c39848`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9c3984896c243ad082469ae69342e09d65b5b5ef))
- chore(deps): update dependency commitizen to v3 ([`784d59e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/784d59ef46703c9afc0b1e390f8c4194ee10bb0a))
- chore(ci): use OIDC trusted publishing for pypi.org ([#2559](https://redirect.github.com/python-gitlab/python-gitlab/issues/2559))
- chore(ci): use OIDC trusted publishing for pypi.org
- chore(ci): explicitly install setuptools in tests ([`7be09e5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7be09e52d75ed8ab723d7a65f5e99d98fe6f52b0))
##### Documentation
- docs: remove exclusive EE about issue links ([`e0f6f18`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e0f6f18f14c8c17ea038a7741063853c105e7fa3))
##### Features
- feat: add support for `select="package_file"` in package upload
Add ability to use `select="package_file"` when uploading a generic
package as described in:
https://docs.gitlab.com/ee/user/packages/generic_packages/index.html
Closes: [#2557](https://redirect.github.com/python-gitlab/python-gitlab/issues/2557) ([`3a49f09`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3a49f099d54000089e217b61ffcf60b6a28b4420))
- feat(api): add support for events scope parameter ([`348f56e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/348f56e8b95c43a7f140f015d303131665b21772))
- 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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/a2b8c8ccfb5d4fa4d134300861a3bfb0b10246ca))
### [`v3.14.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v3140-2023-04-11)
[Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v3.13.0...v3.14.0)
##### Bug Fixes
- fix(cli): warn user when no fields are displayed ([`8bf53c8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8bf53c8b31704bdb31ffc5cf107cc5fba5dad457))
- fix(client): properly parse content-type when charset is present ([`76063c3`](https://redirect.github.com/python-gitlab/python-gitlab/commit/76063c386ef9caf84ba866515cb053f6129714d9))
- fix: support int for `parent_id` in `import_group`
This will also fix other use cases where an integer is passed in to
MultipartEncoder.
Added unit tests to show it works.
Closes: [#2506](https://redirect.github.com/python-gitlab/python-gitlab/issues/2506) ([`90f96ac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/90f96acf9e649de9874cec612fc1b49c4a843447))
- fix(cli): add ability to escape at-prefixed parameter ([#2513](https://redirect.github.com/python-gitlab/python-gitlab/issues/2513))
- fix(cli): Add ability to escape at-prefixed parameter ([#2511](https://redirect.github.com/python-gitlab/python-gitlab/issues/2511))
***
Co-authored-by: Nejc Habjan ([`4f7c784`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4f7c78436e62bfd21745c5289117e03ed896bc66))
- fix(cli): display items when iterator is returned ([`33a04e7`](https://redirect.github.com/python-gitlab/python-gitlab/commit/33a04e74fc42d720c7be32172133a614f7268ec1))
##### Chores
- chore(ci): wait for all coverage reports in CI status ([`511764d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/511764d2fc4e524eff0d7cf0987d451968e817d3))
- chore(setup): depend on typing-extensions for 3.7 until EOL ([`3abc557`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3abc55727d4d52307b9ce646fee172f94f7baf8d))
- chore: add Contributor Covenant 2.1 as Code of Conduct
See https://www.contributor-covenant.org/version/2/1/code_of_conduct/ ([`fe334c9`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fe334c91fcb6450f5b3b424c925bf48ec2a3c150))
- chore(deps): update all non-major dependencies ([`8b692e8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8b692e825d95cd338e305196d9ca4e6d87173a84))
- chore(deps): update dependency furo to v2023 ([`7a1545d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7a1545d52ed0ac8e2e42a2f260e8827181e94d88))
- chore(deps): update actions/stale action to v8 ([`7ac4b86`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7ac4b86fe3d24c3347a1c44bd3db561d62a7bd3f))
- chore(pre-commit): Bumping versions ([`e973729`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e973729e007f664aa4fde873654ef68c21be03c8))
- chore(.github): actually make PR template the default ([`7a8a862`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7a8a86278543a1419d07dd022196e4cb3db12d31))
- 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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f2b5e4fa375e88d6102a8d023ae2fe8206042545))
- chore(contributing): refresh development docs ([`d387d91`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d387d91401fdf933b1832ea2593614ea6b7d8acf))
- chore(github): add default pull request template ([`bf46c67`](https://redirect.github.com/python-gitlab/python-gitlab/commit/bf46c67db150f0657b791d94e6699321c9985f57))
- chore(deps): update all non-major dependencies ([#2493](https://redirect.github.com/python-gitlab/python-gitlab/issues/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](https://redirect.github.com/users).noreply.github.com>
Co-authored-by: Nejc Habjan ([`07d03dc`](https://redirect.github.com/python-gitlab/python-gitlab/commit/07d03dc959128e05d21e8dfd79aa8e916ab5b150))
- chore(deps): update dependency pre-commit to v3 ([#2508](https://redirect.github.com/python-gitlab/python-gitlab/issues/2508))
Co-authored-by: renovate\[bot] <29139614+renovate\[bot][@users](https://redirect.github.com/users).noreply.github.com> ([`7d779c8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7d779c85ffe09623c5d885b5a429b0242ad82f93))
- chore(deps): update dependency coverage to v7 ([#2501](https://redirect.github.com/python-gitlab/python-gitlab/issues/2501))
Co-authored-by: renovate\[bot] <29139614+renovate\[bot][@users](https://redirect.github.com/users).noreply.github.com> ([`aee73d0`](https://redirect.github.com/python-gitlab/python-gitlab/commit/aee73d05c8c9bd94fb7f01dfefd1bb6ad19c4eb2))
- chore(deps): update dependency flake8 to v6 ([#2502](https://redirect.github.com/python-gitlab/python-gitlab/issues/2502))
Co-authored-by: renovate\[bot] <29139614+renovate\[bot][@users](https://redirect.github.com/users).noreply.github.com> ([`3d4596e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3d4596e8cdebbc0ea214d63556b09eac40d42a9c))
- chore(renovate): swith to gitlab-ee ([`8da48ee`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8da48ee0f32c293b4788ebd0ddb24018401ef7ad))
- chore(renovate): bring back custom requirements pattern ([`ae0b21c`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ae0b21c1c2b74bf012e099ae1ff35ce3f40c6480))
- 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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9c2465759386b60a478bd8f43e967182ed97d39d))
- chore(renovate): do not ignore tests dir ([`5b8744e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5b8744e9c2241e0fdcdef03184afcb48effea90f))
- chore(deps): update all non-major dependencies ([`2f06999`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2f069999c5dfd637f17d1ded300ea7628c0566c3))
- chore(deps): update pre-commit hook psf/black to v23 ([`217a787`](https://redirect.github.com/python-gitlab/python-gitlab/commit/217a78780c3ae6e41fb9d76d4d841c5d576de45f))
- chore(deps): update black (23.1.0) and commitizen (2.40.0) ([#2479](https://redirect.github.com/python-gitlab/python-gitlab/issues/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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/44786efad1dbb66c8242e61cf0830d58dfaff196))
- chore: add SECURITY.md ([`572ca3b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/572ca3b6bfe190f8681eef24e72b15c1f8ba6da8))
- chore: remove `pre-commit` as a default `tox` environment ([#2470](https://redirect.github.com/python-gitlab/python-gitlab/issues/2470))
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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/fde2495dd1e97fd2f0e91063946bb08490b3952c))
- 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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/08675643e6b306d3ae101b173609a6c363c9f3df))
##### Documentation
- docs(objects): fix typo in pipeline schedules ([`3057f45`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3057f459765d1482986f2086beb9227acc7fd15f))
- docs(advanced): clarify netrc, proxy behavior with requests ([`1da7c53`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1da7c53fd3476a1ce94025bb15265f674af40e1a))
- 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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3d7ca1caac5803c2e6d60a3e5eba677957b3cfc6))
- docs(advanced): fix typo in Gitlab examples ([`1992790`](https://redirect.github.com/python-gitlab/python-gitlab/commit/19927906809c329788822f91d0abd8761a85c5c3))
##### Features
- feat(projects): allow importing additional items from GitHub ([`ce84f2e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/ce84f2e64a640e0d025a7ba3a436f347ad25e88e))
- feat(objects): support fetching PATs via id or `self` endpoint ([`19b38bd`](https://redirect.github.com/python-gitlab/python-gitlab/commit/19b38bd481c334985848be204eafc3f1ea9fe8a6))
- feat: add resource_weight_event for ProjectIssue ([`6e5ef55`](https://redirect.github.com/python-gitlab/python-gitlab/commit/6e5ef55747ddeabe6d212aec50d66442054c2352))
- feat(backends): use PEP544 protocols for structural subtyping ([#2442](https://redirect.github.com/python-gitlab/python-gitlab/issues/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](https://redirect.github.com/python-gitlab/python-gitlab/issues/2435). ([`4afeaff`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4afeaff0361a966254a7fbf0120e93583d460361))
- feat(client): add http_patch method ([#2471](https://redirect.github.com/python-gitlab/python-gitlab/issues/2471))
In order to support some new API calls we need to support the HTTP `PATCH` method.
Closes: [#2469](https://redirect.github.com/python-gitlab/python-gitlab/issues/2469) ([`f711d9e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/f711d9e2bf78f58cee6a7c5893d4acfd2f980397))
- 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
Closes: [#2466](https://redirect.github.com/python-gitlab/python-gitlab/issues/2466) ([`929e07d`](https://redirect.github.com/python-gitlab/python-gitlab/commit/929e07d94d9a000e6470f530bfde20bb9c0f2637))
##### Refactoring
- refactor(client): let mypy know http_password is set ([`2dd177b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/2dd177bf83fdf62f0e9bdcb3bc41d5e4f5631504))
##### Testing
- test(unit): increase V4 CLI coverage ([`5748d37`](https://redirect.github.com/python-gitlab/python-gitlab/commit/5748d37365fdac105341f94eaccde8784d6f57e3))
- test(unit): split the last remaining unittest-based classes into modules" ([`14e0f65`](https://redirect.github.com/python-gitlab/python-gitlab/commit/14e0f65a3ff05563df4977d792272f8444bf4312))
- test(unit): remove redundant package ([`4a9e3ee`](https://redirect.github.com/python-gitlab/python-gitlab/commit/4a9e3ee70f784f99f373f2fddde0155649ebe859))
- test(unit): consistently use inline fixtures ([`1bc56d1`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1bc56d164a7692cf3aaeedfa1ed2fb869796df03))
- test(meta): move meta suite into unit tests
They're always run with it anyway, so it makes no difference. ([`847004b`](https://redirect.github.com/python-gitlab/python-gitlab/commit/847004be021b4a514e41bf28afb9d87e8643ddba))
- test(functional): clarify MR fixture factory name ([`d8fd1a8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/d8fd1a83b588f4e5e61ca46a28f4935220c5b8c4))
##### Unknown
- Merge pull request [#2465](https://redirect.github.com/python-gitlab/python-gitlab/issues/2465) from valentingregoire/typos
docs: fix typo in issue docs ([`43f5ac5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/43f5ac5b12b9d17292b65e3d1322f0211c31780d))
- Merge branch 'main' into typos ([`3cfd390`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3cfd3903757bf61386972a18f3225665145324eb))
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==3.13.0
->==3.15.0
Release Notes
python-gitlab/python-gitlab (python-gitlab)
### [`v3.15.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v3150-2023-06-09) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v3.14.0...v3.15.0) ##### Chores - chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v35 ([`8202e3f`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8202e3fe01b34da3ff29a7f4189d80a2153f08a4)) - chore: update sphinx from 5.3.0 to 6.2.1 ([`c44a290`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c44a29016b13e535621e71ec4f5392b4c9a93552)) - chore: update copyright year to include 2023 ([`511c6e5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/511c6e507e4161531732ce4c323aeb4481504b08)) - chore(deps): update all non-major dependencies ([`e3de6ba`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e3de6bac98edd8a4cb87229e639212b9fb1500f9)) - chore(deps): update pre-commit hook commitizen-tools/commitizen to v3 ([`1591e33`](https://redirect.github.com/python-gitlab/python-gitlab/commit/1591e33f0b315c7eb544dc98a6567c33c2ac143f)) - chore(deps): update dependency types-setuptools to v67 ([`c562424`](https://redirect.github.com/python-gitlab/python-gitlab/commit/c56242413e0eb36e41981f577162be8b69e53b67)) - chore(deps): update dependency requests-toolbelt to v1 ([`86eba06`](https://redirect.github.com/python-gitlab/python-gitlab/commit/86eba06736b7610d8c4e77cd96ae6071c40067d5)) - chore(deps): update dependency myst-parser to v1 ([`9c39848`](https://redirect.github.com/python-gitlab/python-gitlab/commit/9c3984896c243ad082469ae69342e09d65b5b5ef)) - chore(deps): update dependency commitizen to v3 ([`784d59e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/784d59ef46703c9afc0b1e390f8c4194ee10bb0a)) - chore(ci): use OIDC trusted publishing for pypi.org ([#2559](https://redirect.github.com/python-gitlab/python-gitlab/issues/2559)) - chore(ci): use OIDC trusted publishing for pypi.org - chore(ci): explicitly install setuptools in tests ([`7be09e5`](https://redirect.github.com/python-gitlab/python-gitlab/commit/7be09e52d75ed8ab723d7a65f5e99d98fe6f52b0)) ##### Documentation - docs: remove exclusive EE about issue links ([`e0f6f18`](https://redirect.github.com/python-gitlab/python-gitlab/commit/e0f6f18f14c8c17ea038a7741063853c105e7fa3)) ##### Features - feat: add support for `select="package_file"` in package upload Add ability to use `select="package_file"` when uploading a generic package as described in: https://docs.gitlab.com/ee/user/packages/generic_packages/index.html Closes: [#2557](https://redirect.github.com/python-gitlab/python-gitlab/issues/2557) ([`3a49f09`](https://redirect.github.com/python-gitlab/python-gitlab/commit/3a49f099d54000089e217b61ffcf60b6a28b4420)) - feat(api): add support for events scope parameter ([`348f56e`](https://redirect.github.com/python-gitlab/python-gitlab/commit/348f56e8b95c43a7f140f015d303131665b21772)) - 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`](https://redirect.github.com/python-gitlab/python-gitlab/commit/a2b8c8ccfb5d4fa4d134300861a3bfb0b10246ca)) ### [`v3.14.0`](https://redirect.github.com/python-gitlab/python-gitlab/blob/HEAD/CHANGELOG.md#v3140-2023-04-11) [Compare Source](https://redirect.github.com/python-gitlab/python-gitlab/compare/v3.13.0...v3.14.0) ##### Bug Fixes - fix(cli): warn user when no fields are displayed ([`8bf53c8`](https://redirect.github.com/python-gitlab/python-gitlab/commit/8bf53c8b31704bdb31ffc5cf107cc5fba5dad457)) - fix(client): properly parse content-type when charset is present ([`76063c3`](https://redirect.github.com/python-gitlab/python-gitlab/commit/76063c386ef9caf84ba866515cb053f6129714d9)) - fix: support int for `parent_id` in `import_group` This will also fix other use cases where an integer is passed in to MultipartEncoder. Added unit tests to show it works. Closes: [#2506](https://redirect.github.com/python-gitlab/python-gitlab/issues/2506) ([`90f96ac`](https://redirect.github.com/python-gitlab/python-gitlab/commit/90f96acf9e649de9874cec612fc1b49c4a843447)) - fix(cli): add ability to escape at-prefixed parameter ([#2513](https://redirect.github.com/python-gitlab/python-gitlab/issues/2513)) - fix(cli): Add ability to escape at-prefixed parameter ([#2511](https://redirect.github.com/python-gitlab/python-gitlab/issues/2511)) *** Co-authored-by: Nejc HabjanConfiguration
📅 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.