Skip to content

Conversation

@JohnVillalovos
Copy link
Member

Python 3.9 is End-of-Life (EOL) as of 2025-10 as stated in https://devguide.python.org/versions/ and
https://peps.python.org/pep-0596/#lifespan

By dropping support for Python 3.9 and requiring Python 3.10 or higher it allows python-gitlab to take advantage of new features in Python 3.10, which are documented at:
https://docs.python.org/3/whatsnew/3.10.html

Also mark Python 3.14 as officially supported as it has been released.

Closes: #3285

BREAKING CHANGE: As of python-gitlab 7.0.0, Python 3.9 is no longer supported. Python 3.10 or higher is required.

@JohnVillalovos JohnVillalovos requested review from Copilot and nejch and removed request for Copilot October 29, 2025 14:15
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/python_39_removal branch from 0df600a to b0c4d9b Compare October 29, 2025 14:17
Copilot AI review requested due to automatic review settings October 29, 2025 14:17
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/python_39_removal branch from b0c4d9b to 3c30e0d Compare October 29, 2025 14:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project's Python version support by dropping Python 3.9 and adding Python 3.14, while also raising the minimum required Python version from 3.9.0 to 3.10.0. The changes align the project with newer Python releases.

  • Removed Python 3.9 from supported versions and added Python 3.14
  • Updated minimum required Python version to 3.10.0
  • Simplified coverage dependency specification by removing Python 3.9-specific version pinning

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tox.ini Updated test environments to include py314 and removed py39 and py38 from unit test labels
requirements-test.txt Removed conditional coverage versions for Python 3.9 and standardized on coverage 7.11.0
pyproject.toml Updated requires-python to 3.10.0, removed Python 3.9 classifier, and added Python 3.14 classifier
README.rst Updated documentation to reflect minimum Python version of 3.10+ for version 7.0.0
.readthedocs.yml Updated ReadTheDocs build to use Python 3.14 instead of 3.11
.github/workflows/test.yml Removed Python 3.9 from test matrix and updated to use Python 3.14 for all test jobs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Python 3.9 is End-of-Life (EOL) as of 2025-10 as stated in
https://devguide.python.org/versions/ and
https://peps.python.org/pep-0596/#lifespan

By dropping support for Python 3.9 and requiring Python 3.10 or higher
it allows python-gitlab to take advantage of new features in Python
3.10, which are documented at:
https://docs.python.org/3/whatsnew/3.10.html

Also mark Python 3.14 as officially supported as it has been released.

Closes: #3285

BREAKING CHANGE: As of python-gitlab 7.0.0, Python 3.9 is no longer
supported. Python 3.10 or higher is required.
@JohnVillalovos JohnVillalovos force-pushed the jlvillal/python_39_removal branch from 3c30e0d to 226221b Compare October 29, 2025 14:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@nejch nejch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JohnVillalovos!

@nejch nejch merged commit 22941ac into main Oct 29, 2025
24 checks passed
@nejch nejch deleted the jlvillal/python_39_removal branch October 29, 2025 15:00
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.

Remove Python 3.9 as a supported version

3 participants