pyspiral 0.7.2__cp312-abi3-macosx_11_0_arm64.whl → 0.7.4__cp312-abi3-macosx_11_0_arm64.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.

Potentially problematic release.


This version of pyspiral might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyspiral
3
- Version: 0.7.2
3
+ Version: 0.7.4
4
4
  Classifier: Intended Audience :: Science/Research
5
5
  Classifier: Operating System :: OS Independent
6
6
  Classifier: Programming Language :: Python
@@ -1,8 +1,8 @@
1
- pyspiral-0.7.2.dist-info/METADATA,sha256=f9Q9zUpltwDCVkaY3jVW_spoFHDt0PwAFYaRePg-joU,1874
2
- pyspiral-0.7.2.dist-info/WHEEL,sha256=KQvxBiy7GLcML6Ad3w_ZPrgSvER1uXd7aYb6wy6b44Y,103
3
- pyspiral-0.7.2.dist-info/entry_points.txt,sha256=R96Y3FpYX6XbQu9qMPfUTgiCcf4qM9OBQQZTDdBkZwA,74
4
- spiral/__init__.py,sha256=gAysTwG_oEeKVMdCOfOzDhl0bM2miiK8Ds2vvUihBWw,1153
5
- spiral/_lib.abi3.so,sha256=HD0QUi6SdaOO9F3MbS2jrcgXg8oE7pBrwPfhWOClOt4,70358864
1
+ pyspiral-0.7.4.dist-info/METADATA,sha256=dkmwzJEE-q1T5D2wSLTcYa2KdV64EVtMvJjGIpCp8vA,1874
2
+ pyspiral-0.7.4.dist-info/WHEEL,sha256=KQvxBiy7GLcML6Ad3w_ZPrgSvER1uXd7aYb6wy6b44Y,103
3
+ pyspiral-0.7.4.dist-info/entry_points.txt,sha256=R96Y3FpYX6XbQu9qMPfUTgiCcf4qM9OBQQZTDdBkZwA,74
4
+ spiral/__init__.py,sha256=PwaYBWFBtB7cYi7peMmhk_Lm5XzjRoLwOtLbUhc1ZDo,1449
5
+ spiral/_lib.abi3.so,sha256=3jvgq3GBMi_jBj_CSs7y2WbhRIwL6-lh7ynxTy1wvgo,70424960
6
6
  spiral/adbc.py,sha256=7IxfWIeQN-fh0W5OdN_PP2x3pzQYg6ZUOLsHg3jktqw,14842
7
7
  spiral/api/__init__.py,sha256=ULBlVq3PnfNOO6T5naE_ULmmii-83--qTuN2PpAUQN0,2241
8
8
  spiral/api/admin.py,sha256=A1iVR1XYJSObZivPAD5UzmPuMgupXc9kaHNYYa_kwfs,585
@@ -106,4 +106,4 @@ spiral/table.py,sha256=ep8ZYtl6POebkPViR2FrekhFazNmAbOAESoLUODlup8,12242
106
106
  spiral/text_index.py,sha256=FQ9rgIEGLSJryS9lFdMhKtPFey18BXoWbPXyvZPJJ04,442
107
107
  spiral/transaction.py,sha256=KQhx3DvQyxG2C8md-YGsF_PgBRfayI0r_7ebMItDHdI,3938
108
108
  spiral/types_.py,sha256=W_jyO7F6rpPiH69jhgSgV7OxQZbOlb1Ho3InpKUP6Eo,155
109
- pyspiral-0.7.2.dist-info/RECORD,,
109
+ pyspiral-0.7.4.dist-info/RECORD,,
spiral/__init__.py CHANGED
@@ -1,6 +1,8 @@
1
1
  """Python client for Spiral"""
2
2
 
3
3
  import importlib
4
+ import os
5
+ import warnings
4
6
 
5
7
  # This is here to make sure we load the native extension first
6
8
  from spiral import _lib
@@ -40,3 +42,14 @@ __all__ = [
40
42
  ]
41
43
 
42
44
  __version__ = importlib.metadata.version("pyspiral")
45
+
46
+
47
+ def _warn_msg():
48
+ warnings.warn(
49
+ "Spiral does not support forking, and it may cause undefined behavior. \
50
+ Please use `spawn` or `forkserver` multiprocessing."
51
+ )
52
+
53
+
54
+ if hasattr(os, "register_at_fork"):
55
+ os.register_at_fork(before=_warn_msg)
spiral/_lib.abi3.so CHANGED
Binary file