python-gitlab 4.13.0__py3-none-any.whl → 5.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gitlab/_version.py +1 -1
- gitlab/base.py +2 -2
- gitlab/v4/objects/merge_request_approvals.py +1 -0
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/METADATA +4 -4
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/RECORD +10 -10
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/WHEEL +1 -1
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/AUTHORS +0 -0
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/COPYING +0 -0
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/entry_points.txt +0 -0
- {python_gitlab-4.13.0.dist-info → python_gitlab-5.0.0.dist-info}/top_level.txt +0 -0
gitlab/_version.py
CHANGED
gitlab/base.py
CHANGED
@@ -201,12 +201,12 @@ class RESTObject:
|
|
201
201
|
# NOTE(jlvillal): We are creating our managers by looking at the class
|
202
202
|
# annotations. If an attribute is annotated as being a *Manager type
|
203
203
|
# then we create the manager and assign it to the attribute.
|
204
|
-
for attr, annotation in sorted(self.__annotations__.items()):
|
204
|
+
for attr, annotation in sorted(self.__class__.__annotations__.items()):
|
205
205
|
# We ignore creating a manager for the 'manager' attribute as that
|
206
206
|
# is done in the self.__init__() method
|
207
207
|
if attr in ("manager",):
|
208
208
|
continue
|
209
|
-
if not isinstance(annotation, (type, str)):
|
209
|
+
if not isinstance(annotation, (type, str)): # pragma: no cover
|
210
210
|
continue
|
211
211
|
if isinstance(annotation, type):
|
212
212
|
cls_name = annotation.__name__
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: python-gitlab
|
3
|
-
Version:
|
3
|
+
Version: 5.0.0
|
4
4
|
Summary: A python wrapper for the GitLab API
|
5
5
|
Author-email: Gauvain Pocentek <gauvain@pocentek.net>
|
6
6
|
Maintainer-email: John Villalovos <john@sodarock.com>, Max Wittig <max.wittig@siemens.com>, Nejc Habjan <nejc.habjan@siemens.com>, Roger Meier <r.meier@siemens.com>
|
@@ -19,12 +19,12 @@ Classifier: Operating System :: POSIX
|
|
19
19
|
Classifier: Operating System :: Microsoft :: Windows
|
20
20
|
Classifier: Programming Language :: Python
|
21
21
|
Classifier: Programming Language :: Python :: 3
|
22
|
-
Classifier: Programming Language :: Python :: 3.8
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
26
25
|
Classifier: Programming Language :: Python :: 3.12
|
27
|
-
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
27
|
+
Requires-Python: >=3.9.0
|
28
28
|
Description-Content-Type: text/x-rst
|
29
29
|
License-File: COPYING
|
30
30
|
License-File: AUTHORS
|
@@ -90,7 +90,7 @@ Features
|
|
90
90
|
Installation
|
91
91
|
------------
|
92
92
|
|
93
|
-
As of
|
93
|
+
As of 5.0.0, ``python-gitlab`` is compatible with Python 3.9+.
|
94
94
|
|
95
95
|
Use ``pip`` to install the latest stable version of ``python-gitlab``:
|
96
96
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
gitlab/__init__.py,sha256=DlY_IEbIbeTJnMfkcl4866XbJ_50UiaE4yI0PwOq36E,1406
|
2
2
|
gitlab/__main__.py,sha256=HTesNl0UAU6mPb9EXWkTKMy6Q6pAUxGi3iPnDHTE2uE,68
|
3
|
-
gitlab/_version.py,sha256=
|
4
|
-
gitlab/base.py,sha256
|
3
|
+
gitlab/_version.py,sha256=MBbDq4BnGsPrCgp7VE3oatn4XZAZ4SsFUnCQLXDTMyU,249
|
4
|
+
gitlab/base.py,sha256=-4DNPEWtOB1sGmETTivrJVyl-DWtbmWTUIDTHpenF9Y,13810
|
5
5
|
gitlab/cli.py,sha256=d3-LtZuA1Fgon5wZWn4c3E70fTIu4mM4Juyhh3F8EBs,12416
|
6
6
|
gitlab/client.py,sha256=WK13AV69dJg-5dWIcYV51_ylExuZolrCGXSLHT1vDkU,51217
|
7
7
|
gitlab/config.py,sha256=T1DgUXD0-MN2qNszrv-SO5d4uy0FITnNN0vWJgOt2yo,9088
|
@@ -60,7 +60,7 @@ gitlab/v4/objects/keys.py,sha256=IclYGSzcVEZPIhDdIz-p16rvb68FnBTgAf1cWCXWjkY,882
|
|
60
60
|
gitlab/v4/objects/labels.py,sha256=JvOciJ6V76pF9HuJp5OT_Ykq8oqaa6ItxvpKf3hiEzs,4736
|
61
61
|
gitlab/v4/objects/ldap.py,sha256=adpkdfk7VBjshuh8SpCsc77Pax4QgqCx1N12CuzitDE,1662
|
62
62
|
gitlab/v4/objects/members.py,sha256=YJO9MaqlCSUnozHIlI7MfSlcWTju4xRmW8QIlEiBmok,3902
|
63
|
-
gitlab/v4/objects/merge_request_approvals.py,sha256=
|
63
|
+
gitlab/v4/objects/merge_request_approvals.py,sha256=A_ZtuRsAsWXHb4QYwL9jZg5Xim8YSmRitXy9MO5tDEY,6424
|
64
64
|
gitlab/v4/objects/merge_requests.py,sha256=GftA_42h4zyS7LG7-lmf4wG5gJPHkYqQwPXFB-Sywxs,18532
|
65
65
|
gitlab/v4/objects/merge_trains.py,sha256=e0Gp2Ri75elcG_r9w8qxdrcWW_YiebPRwUYIH5od8kc,422
|
66
66
|
gitlab/v4/objects/milestones.py,sha256=LHAGYJlTm2ed3eqv4mTO-QZ7vRbwGXRFpre_G4gHdKY,7073
|
@@ -95,10 +95,10 @@ gitlab/v4/objects/triggers.py,sha256=UAERq_C-QdPBbBQPHLh5IfhpkdDeIxdnVGPHfu9Qy5Y
|
|
95
95
|
gitlab/v4/objects/users.py,sha256=_gGrTwcE17jeoXIPgfFSv54jtF1_9C1R0Y0hhssTvXY,21381
|
96
96
|
gitlab/v4/objects/variables.py,sha256=S0Vz32jEpUbo4J2js8gMPPTVpcy1ge5FYVHLiPz9c-A,2627
|
97
97
|
gitlab/v4/objects/wikis.py,sha256=JtI1cQqZV1_PRfKVlQRMh4LZjdxEfi9T2VuFYv6PrV8,1775
|
98
|
-
python_gitlab-
|
99
|
-
python_gitlab-
|
100
|
-
python_gitlab-
|
101
|
-
python_gitlab-
|
102
|
-
python_gitlab-
|
103
|
-
python_gitlab-
|
104
|
-
python_gitlab-
|
98
|
+
python_gitlab-5.0.0.dist-info/AUTHORS,sha256=Z0P61GJSVnp7iFbRcMezhx3f4zMyPkVmG--TWaRo768,526
|
99
|
+
python_gitlab-5.0.0.dist-info/COPYING,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
|
100
|
+
python_gitlab-5.0.0.dist-info/METADATA,sha256=hUYF5V2r9hxIyoJMPP0QD7Lrq0mFwZ2JjLYgJgAJRWE,8311
|
101
|
+
python_gitlab-5.0.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
102
|
+
python_gitlab-5.0.0.dist-info/entry_points.txt,sha256=nhpKLLP_uQPFByn8UtE9zsvQQwa402t52o_Cw9IFXMo,43
|
103
|
+
python_gitlab-5.0.0.dist-info/top_level.txt,sha256=MvIaP8p_Oaf4gO_hXmHkX-5y2deHLp1pe6tJR3ukQ6o,7
|
104
|
+
python_gitlab-5.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|