Skip to content

v5.0.0

Compare
Choose a tag to compare
@nejch nejch released this 28 Oct 00:59
· 107 commits to main since this release

v5.0.0 (2024-10-28)

Breaking

  • feat: remove support for Python 3.8, require 3.9 or higher (#3005)

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. (9734ad4)

Bug Fixes

  • fix(api): set _repr_attr for project approval rules to name attr (#3011)

Co-authored-by: Patrick Evans patrick.evans@gehealthcare.com (1a68f1c)

Chores

  • chore: add testing of Python 3.14

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

Closes: #3013 (14d2a82)

  • chore(deps): update dependency ubuntu to v24 (6fda15d)

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

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

  • chore: add Python 3.13 as supported (#3012)

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. (b565e78)

  • chore: remove "v3" question from issue template (#3017)

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. ([`482f2fe`](https://github.com/python-gitlab/python-gitlab/commit/482f2fe6ccae9239b3a010a70969d8d887cdb6b6))
  • chore(deps): update all non-major dependencies (b3834dc)

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

Documentation

Testing

  • test: add test for to_json() method

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