spot-sdk-python 2.2.0b1__py3-none-any.whl → 2.2.0b2__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.
spot_sdk/mime.py CHANGED
@@ -1757,8 +1757,12 @@ def _decoded(label: str) -> str:
1757
1757
  def _addresses(value: str, cut: _Cutter, punycode: _Punycode) -> Iterator[Address]:
1758
1758
  """The mailboxes of an address header, each string cut to its budget, each
1759
1759
  domain's A-labels decoded within ``punycode``; a value that does not parse
1760
- is kept whole."""
1761
- mailboxes = getaddresses([value])
1760
+ is kept whole, as is one whose comments or groups nest deeper than
1761
+ ``getaddresses`` can recurse (spot/sdk#33)."""
1762
+ try:
1763
+ mailboxes = getaddresses([value])
1764
+ except RecursionError:
1765
+ mailboxes = []
1762
1766
  if not mailboxes or not all("@" in address for _, address in mailboxes):
1763
1767
  value = value.strip()
1764
1768
  if value:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spot-sdk-python
3
- Version: 2.2.0b1
3
+ Version: 2.2.0b2
4
4
  Summary: SPOT plugin SDK: the plugin contract, the plugin runtime, its clients and test helpers
5
5
  Author: SPOT Project
6
6
  Author-email: SPOT Project <spot@sonn.lu>
@@ -13,7 +13,7 @@ spot_sdk/knowledge_tags.py,sha256=BGhDsNeF8Q0MMNEIZjWrgQWjwH_Vf7dGBNN_hlBqTXs,97
13
13
  spot_sdk/llm.py,sha256=IEWhBbEat-7oHSNDg9_QOb7ylzv2g0B9uACpZq9-vMk,18610
14
14
  spot_sdk/logging.py,sha256=Tn_InLtrmy0NBFbkVXreVeXBazaz2bSdqEL1gxQa_Oo,10772
15
15
  spot_sdk/manifest.py,sha256=P38sJ0lPzAeAcd1hY2Qa9QSPrlLSVLpE6mTt-3l7j1Q,12245
16
- spot_sdk/mime.py,sha256=cq93SPA6GLX-okjbNZQ9hVHbPmG4LUTbCzhyK48wE6E,121652
16
+ spot_sdk/mime.py,sha256=iO6Lu2NGtESFn7h_9KWj0Q6Aki6nCIzXNGzLxaksJ4o,121815
17
17
  spot_sdk/model_input.py,sha256=9sWrix9rH2h1oe49GWDOTy9zwsxWLSXtBfyhcYXsZh4,7469
18
18
  spot_sdk/orchestrator.py,sha256=r_-SWCrDLEjBcb_zn7KdMXttzbFvf1LhLx4FW8kq3q4,2665
19
19
  spot_sdk/proxy.py,sha256=HJUPnzxw3e2aZQXMBZmQEGDRPEnFI3Kyh0zaSPJcE5g,3529
@@ -37,6 +37,6 @@ spot_sdk/testing/views.py,sha256=Su45wOqCQG_O2WcpZhFnCZCLEc8yd9KsUl3YkjvvM9g,164
37
37
  spot_sdk/urls.py,sha256=pAz5Zara9UkNRoN2Vtx-33pARfBDy3JIA8xi-bkFdmk,1637
38
38
  spot_sdk/verdict.py,sha256=FUtAcsajJKgO_LaAfEJtHYq1K9BwG7a6sfpVkITjs_w,4429
39
39
  spot_sdk/workflow.py,sha256=sxD_Ms-t8Emv2vn4vf7ftJRIsPR9Fy7LumwFji60LP0,6993
40
- spot_sdk_python-2.2.0b1.dist-info/WHEEL,sha256=rp-k_VZaX8oABFEtLwG_Df95p8LSKt9-uPyQ4jKH0P4,81
41
- spot_sdk_python-2.2.0b1.dist-info/METADATA,sha256=9Fo_3t1E7NO4fbQy6p1v39ROAzhKM7TMotYqzyDHwVE,4078
42
- spot_sdk_python-2.2.0b1.dist-info/RECORD,,
40
+ spot_sdk_python-2.2.0b2.dist-info/WHEEL,sha256=rp-k_VZaX8oABFEtLwG_Df95p8LSKt9-uPyQ4jKH0P4,81
41
+ spot_sdk_python-2.2.0b2.dist-info/METADATA,sha256=qnx5AQ4N68iJ6eJYaB2Qtx_TurAQ24u9k32LSIzLqH8,4078
42
+ spot_sdk_python-2.2.0b2.dist-info/RECORD,,