suite-py 1.41.0__py3-none-any.whl → 1.41.1__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.
suite_py/__version__.py CHANGED
@@ -1,2 +1,2 @@
1
1
  # -*- encoding: utf-8 -*-
2
- __version__ = "1.41.0"
2
+ __version__ = "1.41.1"
@@ -56,9 +56,16 @@ class Metrics:
56
56
 
57
57
  self.upload()
58
58
 
59
- p = multiprocessing.Process(target=child)
60
- p.start()
61
- p.join()
59
+ # Fall back to a sync upload if async fails
60
+ try:
61
+ p = multiprocessing.Process(target=child)
62
+ p.start()
63
+ p.join()
64
+ except Exception:
65
+ logger.debug(
66
+ "Error uploading metrics asynchronously, trying sync:", exc_info=True
67
+ )
68
+ self.upload()
62
69
 
63
70
  def upload(self):
64
71
  captainhook = CaptainHook(self._config)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: suite-py
3
- Version: 1.41.0
3
+ Version: 1.41.1
4
4
  Summary:
5
5
  Author: larrywax, EugenioLaghi, michelangelomo
6
6
  Author-email: devops@prima.it
@@ -1,5 +1,5 @@
1
1
  suite_py/__init__.py,sha256=REmi3D0X2G1ZWnYpKs8Ffm3NIj-Hw6dMuvz2b9NW344,142
2
- suite_py/__version__.py,sha256=seJVAFcmzoI2GXp_IIFP2bBp0fkLI--ZyGmTA2GB_Ek,49
2
+ suite_py/__version__.py,sha256=QVX2FgKuN1mAfnqMbQHnZFcn7VYFoFOT6sna6gRSbAE,49
3
3
  suite_py/cli.py,sha256=Rpt93UMFkcgzXlFG_zeDZn_roWRrP6eByyT9XclQi-w,17491
4
4
  suite_py/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  suite_py/commands/aggregator.py,sha256=2bPjtg0p_2oBLR5-wzy0borjiNSv93rsiirgRFqSXUg,5839
@@ -34,7 +34,7 @@ suite_py/lib/handler/drone_handler.py,sha256=rmtzu30OQyG3vRPlbZKsQhHN9zbguPtXO0R
34
34
  suite_py/lib/handler/frequent_reviewers_handler.py,sha256=EIJX5FEMWzrxuXS9A17hu1vfxgJSOHSBX_ahCEZ2FVA,2185
35
35
  suite_py/lib/handler/git_handler.py,sha256=boxhl9lQz6fjEJ10ib1KrDW-geCVjhA_6nKwv2ll01g,11333
36
36
  suite_py/lib/handler/github_handler.py,sha256=AnFL54yOZ5GDIU91wQat4s-d1WTcmg_B_5M7-Rop3wA,2900
37
- suite_py/lib/handler/metrics_handler.py,sha256=fYOsLwFtp3g6DbK37AOBeMzxelfO5Aj9YLJzPLTez0k,2706
37
+ suite_py/lib/handler/metrics_handler.py,sha256=huJoNvJOu_Tl5t_L6zbB4vq9vSMSh0RHV-qUlQz9OGE,2961
38
38
  suite_py/lib/handler/prompt_utils.py,sha256=vgk1O7h-iYEAZv1sXtMh8xIgH1djI398rzxRIgZWZcg,2474
39
39
  suite_py/lib/handler/qainit_handler.py,sha256=F1sDQ7ktvSkQ73xH7DlZO3J728BSGQ8l5pJabniQniw,8632
40
40
  suite_py/lib/handler/vault_handler.py,sha256=r4osw7qwz3ZFmLg2U1oFPdtRFcXzDXiaWBZC01cYK_w,871
@@ -47,7 +47,7 @@ suite_py/lib/requests/auth.py,sha256=wN_WtGFmDUWRFilWzOmUaRBvP2n3EPpPMqex9Zjddko
47
47
  suite_py/lib/requests/session.py,sha256=P32H3cWnCWunu91WIj2iDM5U3HzaBglg60VN_C9JBL4,267
48
48
  suite_py/lib/symbol.py,sha256=z3QYBuNIwD3qQ3zF-cLOomIr_-C3bO_u5UIDAHMiyTo,60
49
49
  suite_py/lib/tokens.py,sha256=BPmNEP8-YGwyE6EK4vBgLwc-AU3wwqpsM2a1xJYtz7g,5449
50
- suite_py-1.41.0.dist-info/METADATA,sha256=syJ9AR2HvNXZeKwO7CW9XB7gFVEvIJHYeqVo8T4TFlY,1596
51
- suite_py-1.41.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
52
- suite_py-1.41.0.dist-info/entry_points.txt,sha256=dVKLC-9Infy-dHJT_MkK6LcDjOgBCJ8lfPkURJhBjxE,46
53
- suite_py-1.41.0.dist-info/RECORD,,
50
+ suite_py-1.41.1.dist-info/METADATA,sha256=1BseewR9jZ9k54z8UKcr4tlvxrsGXbAE_Ps5iplrW1c,1596
51
+ suite_py-1.41.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
52
+ suite_py-1.41.1.dist-info/entry_points.txt,sha256=dVKLC-9Infy-dHJT_MkK6LcDjOgBCJ8lfPkURJhBjxE,46
53
+ suite_py-1.41.1.dist-info/RECORD,,