jolt 0.9.429__py3-none-any.whl → 0.9.430__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.
jolt/tasks.py CHANGED
@@ -3360,24 +3360,21 @@ class Test(Task):
3360
3360
  """
3361
3361
  raise_error_if(type(args) is not list, "Test.parameterized() expects a list as argument")
3362
3362
 
3363
- class partialmethod(functools.partialmethod):
3364
- def __init__(self, index, func, *args):
3365
- super().__init__(func, *args)
3366
- self.__index = index
3367
-
3368
- def __get__(self, obj, cls=None):
3369
- retval = super().__get__(obj, cls)
3370
- retval.__name__ = f"{self.func.__name__}[{self.__index}]"
3371
- retval.__doc__ = self.func.__doc__
3372
- return retval
3363
+ def make_method(index, func, *args):
3364
+ def testmethod(self):
3365
+ return func(self, *args)
3366
+ testmethod.__name__ = f"{func.__name__}[{index}]"
3367
+ testmethod.__doc__ = func.__doc__
3368
+ return testmethod
3373
3369
 
3374
3370
  def decorate(method):
3375
3371
  frame = sys._getframe().f_back.f_locals
3376
3372
  for index, arg in enumerate(args):
3377
- testmethod = partialmethod(index, method, *utils.as_list(arg))
3373
+ testmethod = make_method(index, method, *utils.as_list(arg))
3378
3374
  name = f"{method.__name__}[{index}]"
3379
3375
  frame[name] = testmethod
3380
3376
  return None
3377
+
3381
3378
  return decorate
3382
3379
 
3383
3380
  def setup(self, deps, tools):
jolt/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.9.429"
1
+ __version__ = "0.9.430"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jolt
3
- Version: 0.9.429
3
+ Version: 0.9.430
4
4
  Summary: A task executor
5
5
  Home-page: https://github.com/srand/jolt
6
6
  Author: Robert Andersson
@@ -48,6 +48,7 @@ Requires-Dist: docutils==0.21.2
48
48
  Requires-Dist: fasteners==0.19
49
49
  Requires-Dist: flake8==7.1.1
50
50
  Requires-Dist: grpcio==1.66.1
51
+ Requires-Dist: id==1.5.0
51
52
  Requires-Dist: idna==3.10
52
53
  Requires-Dist: importlib_metadata==8.5.0
53
54
  Requires-Dist: importlib_metadata==8.5.0
@@ -70,7 +71,6 @@ Requires-Dist: ninja==1.11.1.1
70
71
  Requires-Dist: packaging==24.2
71
72
  Requires-Dist: patch-ng==1.18.1
72
73
  Requires-Dist: pip==25.3
73
- Requires-Dist: pkginfo==1.12.0
74
74
  Requires-Dist: pluggy==1.5.0
75
75
  Requires-Dist: pluginbase==1.0.1
76
76
  Requires-Dist: protobuf==5.28.2
@@ -94,7 +94,7 @@ Requires-Dist: setuptools==80.9.0
94
94
  Requires-Dist: six==1.16.0
95
95
  Requires-Dist: texttable==1.7.0
96
96
  Requires-Dist: tqdm==4.66.5
97
- Requires-Dist: twine==6.0.1
97
+ Requires-Dist: twine==6.2.0
98
98
  Requires-Dist: typing_extensions==4.15.0
99
99
  Requires-Dist: urllib3==1.26.20
100
100
  Requires-Dist: wheel==0.45.1
@@ -19,11 +19,11 @@ jolt/log.py,sha256=4QXILd54kYuzAWe1Ql80qw7G2g3upFc3o_XMkRM6Ybg,14941
19
19
  jolt/manifest.py,sha256=V5fkvTE-cZt0IQbA8sBdC4WEaYrz7FEXQdSt6Uj-DWc,7256
20
20
  jolt/options.py,sha256=BrsyKsj3sY5qogMreHGgbimQuyGjnyilCa8QXPVm1Y0,947
21
21
  jolt/scheduler.py,sha256=2xehPvoJDLdv211UdP2cqqQs2M2L5Ozw2_GuE556Tjg,32513
22
- jolt/tasks.py,sha256=nadFYcx5dY_FteadeQrsbca0y0I0xG4_XuvihZmK-0Q,119058
22
+ jolt/tasks.py,sha256=Lwaur_V3N-Y5dYdLtQwFQxJgA7r5pKTs2-ehPcPt8FI,118873
23
23
  jolt/timer.py,sha256=PE-7vmsqZpF73e_cKSsrhd36-A7fJ9_XGYI_oBWJn5w,644
24
24
  jolt/tools.py,sha256=3ipzEgYz9uWhKOSc8R9d1E1mG64tT5L_HYZVYB5k-OM,82417
25
25
  jolt/utils.py,sha256=1CkK3WoVvkBffmUjMZ_iFXVJOwfwNpzezXBmcwd46Ck,19397
26
- jolt/version.py,sha256=FZ-IP9l_0oE6e-m4rsFcngXFF_PixT5OgrYlBMG9y4Y,24
26
+ jolt/version.py,sha256=tDkadPjCGKms0gI2Q6ugjjYRzqignqMjGBWhKLluZjk,24
27
27
  jolt/version_utils.py,sha256=tNCGT6ZmSGFHW1aw2Hx1l19m-RR1UnTN6xJV1I54KRw,3900
28
28
  jolt/xmldom.py,sha256=SbygiDUMYczzWGxXa60ZguWS6Nztg8gDAirdbtjT15I,5982
29
29
  jolt/bin/fstree-darwin-x86_64,sha256=i4Ppbdr7CxsEhJzWpy3GMB5Gn5ikmskh41MyUwQS3-o,29549000
@@ -200,8 +200,8 @@ jolt/templates/cxxexecutable.cmake.template,sha256=f0dg1VOFlamlF8fuHFTki5dsJ2ssS
200
200
  jolt/templates/cxxlibrary.cmake.template,sha256=GMEG2G3QoY3E5fsNer52zOqgM221-abeCkV__mVbZ94,1750
201
201
  jolt/templates/export.sh.template,sha256=PKkflGXFbq70EIsowqcnLvzbnEDnqh_WgC4E_JNT0VE,1937
202
202
  jolt/templates/timeline.html.template,sha256=xdqvFBmhE8XRQaWgcIFBVbd__9HdRq6O-U0o276PyjU,1222
203
- jolt-0.9.429.dist-info/METADATA,sha256=dNmk7Jajr7h2HOa6CaLUa-i6s6BePyhiSyPcm5iwnTM,7229
204
- jolt-0.9.429.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
205
- jolt-0.9.429.dist-info/entry_points.txt,sha256=VZ-QH38Z9HJc1O57wfzr-soHn6exwc3N0TSrRum4tYg,44
206
- jolt-0.9.429.dist-info/top_level.txt,sha256=HwzVmAwUrvCUUHRi3zUfcpdKTsdNrZmPCvsrsWSFyqE,5
207
- jolt-0.9.429.dist-info/RECORD,,
203
+ jolt-0.9.430.dist-info/METADATA,sha256=0DBkJRTXUW5jBvwxZxjtgoxIOhBqCZzROk_arc39QYk,7223
204
+ jolt-0.9.430.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
205
+ jolt-0.9.430.dist-info/entry_points.txt,sha256=VZ-QH38Z9HJc1O57wfzr-soHn6exwc3N0TSrRum4tYg,44
206
+ jolt-0.9.430.dist-info/top_level.txt,sha256=HwzVmAwUrvCUUHRi3zUfcpdKTsdNrZmPCvsrsWSFyqE,5
207
+ jolt-0.9.430.dist-info/RECORD,,
File without changes