FAQ | This is a LIVE service | Changelog

Skip to content

fix(deps): update dependency python-gitlab to v5

uis-devops-renovatebot requested to merge renovate/python-gitlab-5.x into main

This MR contains the following updates:

Package Type Update Change
python-gitlab (changelog) dependencies major ^4.9.0 -> ^5.0.0

Release Notes

python-gitlab/python-gitlab (python-gitlab)

v5.1.0

Compare Source

Chores
  • deps: Update all non-major dependencies (9061647)

  • deps: Update gitlab/gitlab-ee docker tag to v17.6.0-ee.0 (#​3044, 79113d9)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

  • deps: Update all non-major dependencies (62da12a)

  • 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>

  • deps: Update pre-commit hook maxbrunet/pre-commit-renovate to v39 (11458e0)

  • deps: Update all non-major dependencies (7e62136)

  • deps: Update dependency pytest-cov to v6 (ffa88b3)

  • deps: Update all non-major dependencies (d4b52e7)

  • deps: Update all non-major dependencies (541a7e3)

  • deps: Update gitlab/gitlab-ee docker tag to v17.5.1-ee.0 (8111f49)

Features
  • api: Get single project approval rule (029695d)

  • cli: Enable token rotation via CLI (0cb8171)

  • const: Add new Planner role to access levels (bdc8852)

  • api: Support list and delete for group service accounts (#​2963, 499243b)

  • 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
  • api: Set _repr_attr for project approval rules to name attr (#​3011, 1a68f1c)

Co-authored-by: Patrick Evans patrick.evans@gehealthcare.com

Chores
  • Add testing of Python 3.14 (14d2a82)

Also fix annotations not working in Python 3.14 by using the annotation on the 'class' instead of on the 'instance'

Closes: #​3013

  • deps: Update dependency ubuntu to v24 (6fda15d)

  • deps: Update all non-major dependencies (1e4326b)

  • deps: Update gitlab/gitlab-ee docker tag to v17.5.0-ee.0 (c02a392)

  • Add Python 3.13 as supported (#​3012, 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.

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 gauvain@pocentek.net 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 (b3834dc)

  • deps: Update gitlab/gitlab-ee docker tag to v17.4.2-ee.0 (1cdfe40)

Documentation
Features

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
  • Add test for to_json() method (f4bfe19)

This should get us to 100% test coverage on gitlab/base.py

v4.13.0

Compare Source

Chores

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

  • deps: Update all non-major dependencies (c3efb37)
Features
  • api: Add support for project Pages API (0ee0e02)

v4.12.2

Compare Source

Bug Fixes

When an error occurs, raise GitlabHeadError in project.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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@​users.noreply.github.com>

  • deps: Update gitlab/gitlab-ee docker tag to v17.4.1-ee.0 (64eed5d)

v4.12.0

Compare Source

Bug Fixes
  • fix(api): head requests for projectfilemanager

Co-authored-by: Patrick Evans patrick.evans@gehealthcare.com Co-authored-by: Nejc Habjan hab.nejc@gmail.com

Chores
  • deps: Update all non-major dependencies (ae132e7)

  • Update pylint to 3.3.1 and resolve issues (#​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 dependency types-setuptools to v75 (a2ab54c)

  • deps: Update gitlab/gitlab-ee docker tag to v17.4.0-ee.0 (8601808)

  • deps: Update all non-major dependencies (10ee58a)

  • deps: Update gitlab/gitlab-ee docker tag to v17.3.2-ee.0 (5cd1ab2)

Features

v4.11.1

Compare Source

Bug Fixes
  • client: Ensure type evaluations are postponed (b41b2de)

v4.11.0

Compare Source

Chores
  • pre-commit: Add deps (fe5e608)

  • deps: Update all non-major dependencies (fac8bf9)

  • deps: Update dependency types-setuptools to v74 (bdfaddb)

  • deps: Update all non-major dependencies (88c7529)

Documentation
  • objects: Fix typo in get latest pipeline (b9f5c12)
Features
  • client: Make retries configurable in GraphQL (145870e)

  • client: Add retry handling to GraphQL client (8898c38)

  • api: Add exclusive GET attrs for /projects/:id/members (e637808)

  • Add a minimal GraphQL client (d6b1b0a)

  • api: Add exclusive GET attrs for /groups/:id/members (d44ddd2)

Refactoring
  • client: Move retry logic into utility (3235c48)

Configuration

📅 Schedule: Branch creation - "* * * * 1-5" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by uis-devops-renovatebot

Merge request reports

Loading