Skip to content

build(deps): expand python-gitlab dependency range to include v9.* - #1520

Open
itzzdev09 wants to merge 1 commit into
python-semantic-release:masterfrom
itzzdev09:build/python-gitlab-9
Open

itzzdev09 wants to merge 1 commit into
python-semantic-release:masterfrom
itzzdev09:build/python-gitlab-9

Conversation

@itzzdev09

Copy link
Copy Markdown

Purpose

python-gitlab 9.0.0 was released on 2026-11-28 (9.0.1 on 2026-12-03). Its only breaking change is dropping Python 3.10. PSR caps python-gitlab at < 9.0.0, so it can't be installed next to tools that need 9.x.

Rationale

This widens the range for python_version >= '3.10' to < 10.0.0. On Python 3.10, pip still resolves 8.x because 9.x requires Python 3.11 or newer. It follows the same pattern as #1489 (click) and #1494 (filelock).

How did you test?

In python:3.12 with pip install -e .[test], I ran pytest tests/unit/semantic_release/hvcs with each python-gitlab version:

python-gitlab result
8.6.0 411 passed, 36 errors
9.0.1 411 passed, 36 errors

The 36 errors are fixture-setup errors from tests/conftest.py. They happen the same way with both versions, outside CI.

How to Verify

pip install -e . "python-gitlab==9.0.1", then run the GitLab HVCS unit tests.


PR Completion Checklist

  • Reviewed & followed the Contributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow the Conventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • Appropriate Unit tests added/updated

  • Appropriate End-to-End tests added/updated

  • Appropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant