tcms-api 13.2__tar.gz → 15.0__tar.gz

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.
Files changed (27) hide show
  1. {tcms_api-13.2/tcms_api.egg-info → tcms_api-15.0}/PKG-INFO +30 -2
  2. {tcms_api-13.2 → tcms_api-15.0}/README.rst +15 -0
  3. tcms_api-15.0/requirements.txt +2 -0
  4. {tcms_api-13.2 → tcms_api-15.0}/tcms_api/__init__.py +5 -1
  5. {tcms_api-13.2 → tcms_api-15.0}/tcms_api/plugin_helpers.py +1 -1
  6. tcms_api-15.0/tcms_api/version.py +1 -0
  7. {tcms_api-13.2 → tcms_api-15.0}/tcms_api/xmlrpc.py +3 -1
  8. {tcms_api-13.2 → tcms_api-15.0/tcms_api.egg-info}/PKG-INFO +30 -2
  9. {tcms_api-13.2 → tcms_api-15.0}/tcms_api.egg-info/requires.txt +1 -0
  10. tcms_api-13.2/requirements.txt +0 -1
  11. tcms_api-13.2/tcms_api/version.py +0 -1
  12. {tcms_api-13.2 → tcms_api-15.0}/LICENSE +0 -0
  13. {tcms_api-13.2 → tcms_api-15.0}/MANIFEST.in +0 -0
  14. {tcms_api-13.2 → tcms_api-15.0}/setup.cfg +0 -0
  15. {tcms_api-13.2 → tcms_api-15.0}/setup.py +0 -0
  16. {tcms_api-13.2 → tcms_api-15.0}/tcms_api.egg-info/SOURCES.txt +0 -0
  17. {tcms_api-13.2 → tcms_api-15.0}/tcms_api.egg-info/dependency_links.txt +0 -0
  18. {tcms_api-13.2 → tcms_api-15.0}/tcms_api.egg-info/top_level.txt +0 -0
  19. {tcms_api-13.2 → tcms_api-15.0}/tests/test_api_config.py +0 -0
  20. {tcms_api-13.2 → tcms_api-15.0}/tests/test_build.py +0 -0
  21. {tcms_api-13.2 → tcms_api-15.0}/tests/test_case.py +0 -0
  22. {tcms_api-13.2 → tcms_api-15.0}/tests/test_plan.py +0 -0
  23. {tcms_api-13.2 → tcms_api-15.0}/tests/test_plantype.py +0 -0
  24. {tcms_api-13.2 → tcms_api-15.0}/tests/test_product.py +0 -0
  25. {tcms_api-13.2 → tcms_api-15.0}/tests/test_run.py +0 -0
  26. {tcms_api-13.2 → tcms_api-15.0}/tests/test_status.py +0 -0
  27. {tcms_api-13.2 → tcms_api-15.0}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: tcms-api
3
- Version: 13.2
3
+ Version: 15.0
4
4
  Summary: Python API for Kiwi
5
5
  Home-page: https://github.com/kiwitcms/tcms-api
6
6
  Maintainer: Kiwi TCMS
@@ -24,8 +24,21 @@ Requires-Python: >=3.6
24
24
  Description-Content-Type: text/x-rst
25
25
  License-File: LICENSE
26
26
  Requires-Dist: requests
27
+ Requires-Dist: setuptools
27
28
  Provides-Extra: gssapi
28
29
  Requires-Dist: gssapi; extra == "gssapi"
30
+ Dynamic: classifier
31
+ Dynamic: description
32
+ Dynamic: description-content-type
33
+ Dynamic: home-page
34
+ Dynamic: license
35
+ Dynamic: license-file
36
+ Dynamic: maintainer
37
+ Dynamic: maintainer-email
38
+ Dynamic: provides-extra
39
+ Dynamic: requires-dist
40
+ Dynamic: requires-python
41
+ Dynamic: summary
29
42
 
30
43
  Python API for Kiwi TCMS
31
44
  ========================
@@ -69,6 +82,21 @@ https://tcms-api.readthedocs.io/en/latest/modules/tcms_api.html
69
82
  CHANGELOG
70
83
  ---------
71
84
 
85
+ v15.0 (22 Sep 2025)
86
+ ~~~~~~~~~~~~~~~~~~~
87
+
88
+ - Include host URL in Referer header
89
+ - Updates for newer pylint
90
+ - Updates for newer Sphynx
91
+ - Update GitHub actions
92
+
93
+
94
+ v13.3 (10 Jun 2024)
95
+ ~~~~~~~~~~~~~~~~~~~
96
+
97
+ - Update requirements and imports for the ``strtobool()`` function
98
+
99
+
72
100
  v13.2 (27 Apr 2024)
73
101
  ~~~~~~~~~~~~~~~~~~~
74
102
 
@@ -40,6 +40,21 @@ https://tcms-api.readthedocs.io/en/latest/modules/tcms_api.html
40
40
  CHANGELOG
41
41
  ---------
42
42
 
43
+ v15.0 (22 Sep 2025)
44
+ ~~~~~~~~~~~~~~~~~~~
45
+
46
+ - Include host URL in Referer header
47
+ - Updates for newer pylint
48
+ - Updates for newer Sphynx
49
+ - Update GitHub actions
50
+
51
+
52
+ v13.3 (10 Jun 2024)
53
+ ~~~~~~~~~~~~~~~~~~~
54
+
55
+ - Update requirements and imports for the ``strtobool()`` function
56
+
57
+
43
58
  v13.2 (27 Apr 2024)
44
59
  ~~~~~~~~~~~~~~~~~~~
45
60
 
@@ -0,0 +1,2 @@
1
+ requests
2
+ setuptools
@@ -109,7 +109,11 @@ arguments when initializing the TCMS() class::
109
109
  import os
110
110
  from configparser import ConfigParser
111
111
  from datetime import datetime, timedelta
112
- from distutils.util import strtobool # pylint: disable=deprecated-module
112
+
113
+ try:
114
+ from distutils.util import strtobool # pylint: disable=deprecated-module
115
+ except ModuleNotFoundError:
116
+ from setuptools.dist import strtobool
113
117
 
114
118
  from tcms_api.xmlrpc import TCMSXmlrpc, TCMSKerbXmlrpc
115
119
 
@@ -575,7 +575,7 @@ class Backend:
575
575
  result = [result]
576
576
  return result
577
577
 
578
- # pylint: disable=too-many-arguments
578
+ # pylint: disable=too-many-arguments,too-many-positional-arguments
579
579
  def update_test_execution(
580
580
  self,
581
581
  test_execution_id,
@@ -0,0 +1 @@
1
+ __version__ = "15.0"
@@ -24,7 +24,9 @@ _PYTHON_VERSION = sys.version.replace("\n", "")
24
24
 
25
25
  class TCMSProxy(ServerProxy):
26
26
  def __request(self, methodname, params):
27
- self._ServerProxy__transport._extra_headers = [("Referer", methodname)]
27
+ self._ServerProxy__transport._extra_headers = [
28
+ ("Referer", f"{methodname}@{self._ServerProxy__host}")
29
+ ]
28
30
  return self._ServerProxy__request(methodname, params)
29
31
 
30
32
  def __getattr__(self, name):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: tcms-api
3
- Version: 13.2
3
+ Version: 15.0
4
4
  Summary: Python API for Kiwi
5
5
  Home-page: https://github.com/kiwitcms/tcms-api
6
6
  Maintainer: Kiwi TCMS
@@ -24,8 +24,21 @@ Requires-Python: >=3.6
24
24
  Description-Content-Type: text/x-rst
25
25
  License-File: LICENSE
26
26
  Requires-Dist: requests
27
+ Requires-Dist: setuptools
27
28
  Provides-Extra: gssapi
28
29
  Requires-Dist: gssapi; extra == "gssapi"
30
+ Dynamic: classifier
31
+ Dynamic: description
32
+ Dynamic: description-content-type
33
+ Dynamic: home-page
34
+ Dynamic: license
35
+ Dynamic: license-file
36
+ Dynamic: maintainer
37
+ Dynamic: maintainer-email
38
+ Dynamic: provides-extra
39
+ Dynamic: requires-dist
40
+ Dynamic: requires-python
41
+ Dynamic: summary
29
42
 
30
43
  Python API for Kiwi TCMS
31
44
  ========================
@@ -69,6 +82,21 @@ https://tcms-api.readthedocs.io/en/latest/modules/tcms_api.html
69
82
  CHANGELOG
70
83
  ---------
71
84
 
85
+ v15.0 (22 Sep 2025)
86
+ ~~~~~~~~~~~~~~~~~~~
87
+
88
+ - Include host URL in Referer header
89
+ - Updates for newer pylint
90
+ - Updates for newer Sphynx
91
+ - Update GitHub actions
92
+
93
+
94
+ v13.3 (10 Jun 2024)
95
+ ~~~~~~~~~~~~~~~~~~~
96
+
97
+ - Update requirements and imports for the ``strtobool()`` function
98
+
99
+
72
100
  v13.2 (27 Apr 2024)
73
101
  ~~~~~~~~~~~~~~~~~~~
74
102
 
@@ -1,4 +1,5 @@
1
1
  requests
2
+ setuptools
2
3
 
3
4
  [gssapi]
4
5
  gssapi
@@ -1 +0,0 @@
1
- requests
@@ -1 +0,0 @@
1
- __version__ = "13.2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes