Bug Fixes
- **api**: Set _repr_attr for project approval rules to name attr
([3011](https://github.com/python-gitlab/python-gitlab/pull/3011),
[`1a68f1c`](https://github.com/python-gitlab/python-gitlab/commit/1a68f1c5ff93ad77c58276231ee33f58b7083a09))
Co-authored-by: Patrick Evans <patrick.evansgehealthcare.com>
Chores
- Add Python 3.13 as supported ([3012](https://github.com/python-gitlab/python-gitlab/pull/3012),
[`b565e78`](https://github.com/python-gitlab/python-gitlab/commit/b565e785d05a1e7f559bfcb0d081b3c2507340da))
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.
- Add testing of Python 3.14
([`14d2a82`](https://github.com/python-gitlab/python-gitlab/commit/14d2a82969cd1b3509526eee29159f15862224a2))
Also fix __annotations__ not working in Python 3.14 by using the annotation on the 'class' instead
of on the 'instance'
Closes: 3013
- Remove "v3" question from issue template
([3017](https://github.com/python-gitlab/python-gitlab/pull/3017),
[`482f2fe`](https://github.com/python-gitlab/python-gitlab/commit/482f2fe6ccae9239b3a010a70969d8d887cdb6b6))
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 fe89b949922c028830dd49095432ba627d330186 Author: Gauvain Pocentek <gauvainpocentek.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
([`1e4326b`](https://github.com/python-gitlab/python-gitlab/commit/1e4326b393be719616db5a08594facdabfbc1855))
- **deps**: Update all non-major dependencies
([`b3834dc`](https://github.com/python-gitlab/python-gitlab/commit/b3834dceb290c4c3bc97541aea38b02de53638df))
- **deps**: Update dependency ubuntu to v24
([`6fda15d`](https://github.com/python-gitlab/python-gitlab/commit/6fda15dff5e01c9982c9c7e65e302ff06416517e))
- **deps**: Update gitlab/gitlab-ee docker tag to v17.4.2-ee.0
([`1cdfe40`](https://github.com/python-gitlab/python-gitlab/commit/1cdfe40ac0a5334ee13d530e3f6f60352a621892))
- **deps**: Update gitlab/gitlab-ee docker tag to v17.5.0-ee.0
([`c02a392`](https://github.com/python-gitlab/python-gitlab/commit/c02a3927f5294778b1c98128e1e04bcbc40ed821))
Documentation
- **users**: Update Gitlab docs links
([3022](https://github.com/python-gitlab/python-gitlab/pull/3022),
[`3739b5d`](https://github.com/python-gitlab/python-gitlab/commit/3739b5dd11bed66fb482cf6d2dc34382327a0265))
Features
- Remove support for Python 3.8, require 3.9 or higher
([3005](https://github.com/python-gitlab/python-gitlab/pull/3005),
[`9734ad4`](https://github.com/python-gitlab/python-gitlab/commit/9734ad4bcbedcf4ee61317c12f47ddacf2ac208f))
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`](https://github.com/python-gitlab/python-gitlab/commit/f4bfe19b5077089ea1d3bf07e8718d29de7d6594))
This should get us to 100% test coverage on `gitlab/base.py`
BREAKING CHANGES
- As of python-gitlab 5.0.0, Python 3.8 is no longer supported. Python 3.9 or higher is required.