jsonatapy 2.2.15__tar.gz → 2.2.16__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 (134) hide show
  1. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/CHANGELOG.md +29 -0
  2. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/Cargo.lock +25 -27
  3. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/Cargo.toml +18 -1
  4. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/PKG-INFO +4 -4
  5. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/README.md +3 -3
  6. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/pyproject.toml +5 -1
  7. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/allocator.rs +7 -0
  8. jsonatapy-2.2.16/vendor/libmimalloc-sys/Cargo.toml +79 -0
  9. jsonatapy-2.2.16/vendor/libmimalloc-sys/LICENSE.txt +25 -0
  10. jsonatapy-2.2.16/vendor/libmimalloc-sys/VENDORED.md +28 -0
  11. jsonatapy-2.2.16/vendor/libmimalloc-sys/build.rs +140 -0
  12. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/LICENSE +21 -0
  13. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/atomic.h +560 -0
  14. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/bits.h +354 -0
  15. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/internal.h +1387 -0
  16. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/prim-tls.h +483 -0
  17. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/prim.h +136 -0
  18. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/track.h +150 -0
  19. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc/types.h +755 -0
  20. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc-new-delete.h +66 -0
  21. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc-override.h +68 -0
  22. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc-stats.h +168 -0
  23. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/include/mimalloc.h +705 -0
  24. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/alloc-aligned.c +462 -0
  25. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/alloc-override.c +407 -0
  26. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/alloc-posix.c +190 -0
  27. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/alloc.c +970 -0
  28. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/arena-meta.c +183 -0
  29. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/arena.c +2616 -0
  30. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/bitmap.c +1971 -0
  31. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/bitmap.h +344 -0
  32. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/free.c +710 -0
  33. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/heap.c +296 -0
  34. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/init.c +1258 -0
  35. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/libc.c +499 -0
  36. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/options.c +696 -0
  37. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/os.c +931 -0
  38. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/page-map.c +478 -0
  39. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/page-queue.c +423 -0
  40. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/page.c +1045 -0
  41. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/emscripten/prim.c +263 -0
  42. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/osx/alloc-override-zone.c +497 -0
  43. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/osx/prim.c +9 -0
  44. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/prim.c +76 -0
  45. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/readme.md +9 -0
  46. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/unix/prim.c +1067 -0
  47. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/wasi/prim.c +297 -0
  48. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/windows/etw-mimalloc.wprp +61 -0
  49. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/windows/etw.h +905 -0
  50. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/windows/etw.man +0 -0
  51. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/windows/prim.c +1202 -0
  52. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/prim/windows/readme.md +17 -0
  53. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/random.c +260 -0
  54. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/static.c +43 -0
  55. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/stats.c +830 -0
  56. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/theap.c +676 -0
  57. jsonatapy-2.2.16/vendor/libmimalloc-sys/c_src/mimalloc/v3/src/threadlocal.c +308 -0
  58. jsonatapy-2.2.16/vendor/libmimalloc-sys/src/extended.rs +1126 -0
  59. jsonatapy-2.2.16/vendor/libmimalloc-sys/src/lib.rs +139 -0
  60. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.gitignore +0 -0
  61. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.gitmodules +0 -0
  62. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/.gitignore +0 -0
  63. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/architecture.md +0 -0
  64. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/conventions.md +0 -0
  65. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/core.md +0 -0
  66. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/memory_maintenance.md +0 -0
  67. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/suggested_commands.md +0 -0
  68. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/task_completion.md +0 -0
  69. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/.serena/memories/tech_stack.md +0 -0
  70. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/CONTRIBUTORS.md +0 -0
  71. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/LICENSE +0 -0
  72. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/SECURITY.md +0 -0
  73. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/benches/evaluator_bench.rs +0 -0
  74. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/bindings/c/README.md +0 -0
  75. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/bindings/c/examples/smoke.c +0 -0
  76. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/bindings/c/jsonata.h +0 -0
  77. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/examples/evaluator_demo.rs +0 -0
  78. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/examples/host_functions.rs +0 -0
  79. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/examples/parser_demo.rs +0 -0
  80. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/examples/simd_json_bench.rs +0 -0
  81. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/__init__.py +0 -0
  82. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/__main__.py +0 -0
  83. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/_cli/__init__.py +0 -0
  84. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/_cli/bindings.py +0 -0
  85. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/_cli/error_format.py +0 -0
  86. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/_cli/mcp_server.py +0 -0
  87. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/_cli/resolve.py +0 -0
  88. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/_cli/run.py +0 -0
  89. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/python/jsonatapy/py.typed +0 -0
  90. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/ast.rs +0 -0
  91. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/ast_transform.rs +0 -0
  92. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/bin/jsonata/bindings.rs +0 -0
  93. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/bin/jsonata/error_format.rs +0 -0
  94. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/bin/jsonata/main.rs +0 -0
  95. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/bin/jsonata/resolve.rs +0 -0
  96. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/builtins.rs +0 -0
  97. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/capi.rs +0 -0
  98. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/compiler.rs +0 -0
  99. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/datetime.rs +0 -0
  100. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/evaluator.rs +0 -0
  101. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/expression.rs +0 -0
  102. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/functions.rs +0 -0
  103. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/lazy.rs +0 -0
  104. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/lib.rs +0 -0
  105. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/parser.rs +0 -0
  106. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/pystack.rs +0 -0
  107. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/signature.rs +0 -0
  108. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/value.rs +0 -0
  109. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/src/vm.rs +0 -0
  110. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/study/cli_fixtures.json +0 -0
  111. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/study/cli_fixtures_testdata.json +0 -0
  112. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/study/cli_spec.md +0 -0
  113. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/array_flags_test.rs +0 -0
  114. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/cli_fixtures_test.rs +0 -0
  115. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/cli_test.rs +0 -0
  116. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/common/mod.rs +0 -0
  117. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/datetime_picture_suite.rs +0 -0
  118. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/deep_value_drop_test.rs +0 -0
  119. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/evaluator_reuse_test.rs +0 -0
  120. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/array_flags_differential.json +0 -0
  121. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/builtin_arity.json +0 -0
  122. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/builtin_differential.json +0 -0
  123. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/builtin_signatures.json +0 -0
  124. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/fastpath_differential.json +0 -0
  125. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/fastpath_known_divergences.json +0 -0
  126. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/path_semantics_combinations.json +0 -0
  127. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/path_semantics_combinations_known.json +0 -0
  128. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/fixtures/path_semantics_differential.json +0 -0
  129. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/host_functions_test.rs +0 -0
  130. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/integration_test.rs +0 -0
  131. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/lambda_closure_suite.rs +0 -0
  132. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/parent_and_focus_binding_suite.rs +0 -0
  133. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/path_semantics_test.rs +0 -0
  134. {jsonatapy-2.2.15 → jsonatapy-2.2.16}/tests/step_cache_test.rs +0 -0
@@ -19,6 +19,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
 
20
20
  ### Security
21
21
 
22
+ ## [2.2.16] - 2026-11-27
23
+
24
+ ### Added
25
+
26
+ ### Changed
27
+
28
+ - Updated Rust dependencies: `regex` 1.13.1 → 1.13.2, `regex-syntax` 0.8.11 → 0.8.12,
29
+ `rand` 0.10.3 → 0.10.4 and `clap` 4.6.7 → 4.6.9. (#297)
30
+
31
+ ### Deprecated
32
+
33
+ ### Removed
34
+
35
+ ### Fixed
36
+
37
+ - Python wheels now build mimalloc v3.4.5 (vendored `libmimalloc-sys` with
38
+ updated sources) instead of v3.3.2, fixing two allocator crashes (#298). On
39
+ macOS, v3.3.2 kept its thread heap in fixed thread-specific-data slots that
40
+ every mimalloc v3 copy in the process shares, so importing jsonatapy before
41
+ pyarrow 24.0.0 (or chdb) made the first `compile()` segfault or hang. On
42
+ every platform, a crash followed once the first thread that used jsonatapy
43
+ had exited (microsoft/mimalloc#1287). Only the PyPI wheels and sdist get the
44
+ vendored copy: Rust users who enable the optional `mimalloc` feature from
45
+ crates.io still build v3.3.2 until `libmimalloc-sys` ships mimalloc >= 3.4.5.
46
+ Thanks to @dotsonwells-vynca for the report, whose clean reproduction and
47
+ import-order and version matrix made the cause quick to find.
48
+
49
+ ### Security
50
+
22
51
  ## [2.2.15] - 2026-11-18
23
52
 
24
53
  ### Added
@@ -164,7 +164,7 @@ dependencies = [
164
164
  "proc-macro-crate",
165
165
  "proc-macro2",
166
166
  "quote",
167
- "syn 3.0.2",
167
+ "syn 3.0.10",
168
168
  ]
169
169
 
170
170
  [[package]]
@@ -258,9 +258,9 @@ dependencies = [
258
258
 
259
259
  [[package]]
260
260
  name = "clap"
261
- version = "4.6.7"
261
+ version = "4.6.9"
262
262
  source = "registry+https://github.com/rust-lang/crates.io-index"
263
- checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
263
+ checksum = "844c5c0b65be192cb68d570cca1b21a6444431d24e39c084dc0336177015337c"
264
264
  dependencies = [
265
265
  "clap_builder",
266
266
  "clap_derive",
@@ -280,14 +280,14 @@ dependencies = [
280
280
 
281
281
  [[package]]
282
282
  name = "clap_derive"
283
- version = "4.6.7"
283
+ version = "4.6.9"
284
284
  source = "registry+https://github.com/rust-lang/crates.io-index"
285
- checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
285
+ checksum = "b4c174f11f949b9ca8c60580925e282b9cbd5454750e506f08648b2038080cd7"
286
286
  dependencies = [
287
287
  "heck",
288
288
  "proc-macro2",
289
289
  "quote",
290
- "syn 3.0.2",
290
+ "syn 3.0.10",
291
291
  ]
292
292
 
293
293
  [[package]]
@@ -568,7 +568,7 @@ dependencies = [
568
568
 
569
569
  [[package]]
570
570
  name = "jsonata-core"
571
- version = "2.2.15"
571
+ version = "2.2.16"
572
572
  dependencies = [
573
573
  "assert_cmd",
574
574
  "base64",
@@ -601,8 +601,6 @@ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
601
601
  [[package]]
602
602
  name = "libmimalloc-sys"
603
603
  version = "0.1.49"
604
- source = "registry+https://github.com/rust-lang/crates.io-index"
605
- checksum = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9"
606
604
  dependencies = [
607
605
  "cc",
608
606
  ]
@@ -767,9 +765,9 @@ dependencies = [
767
765
 
768
766
  [[package]]
769
767
  name = "proc-macro2"
770
- version = "1.0.106"
768
+ version = "1.0.107"
771
769
  source = "registry+https://github.com/rust-lang/crates.io-index"
772
- checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
770
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
773
771
  dependencies = [
774
772
  "unicode-ident",
775
773
  ]
@@ -846,7 +844,7 @@ dependencies = [
846
844
  "proc-macro2",
847
845
  "pyo3-macros-backend",
848
846
  "quote",
849
- "syn 3.0.2",
847
+ "syn 3.0.10",
850
848
  ]
851
849
 
852
850
  [[package]]
@@ -858,7 +856,7 @@ dependencies = [
858
856
  "heck",
859
857
  "proc-macro2",
860
858
  "quote",
861
- "syn 3.0.2",
859
+ "syn 3.0.10",
862
860
  ]
863
861
 
864
862
  [[package]]
@@ -869,9 +867,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
869
867
 
870
868
  [[package]]
871
869
  name = "quote"
872
- version = "1.0.46"
870
+ version = "1.0.47"
873
871
  source = "registry+https://github.com/rust-lang/crates.io-index"
874
- checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
872
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
875
873
  dependencies = [
876
874
  "proc-macro2",
877
875
  ]
@@ -884,9 +882,9 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
884
882
 
885
883
  [[package]]
886
884
  name = "rand"
887
- version = "0.10.3"
885
+ version = "0.10.4"
888
886
  source = "registry+https://github.com/rust-lang/crates.io-index"
889
- checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
887
+ checksum = "8f6fa277c67e6ea590466f04c3fe82cb509f0864fe470643e5570de9514a9b11"
890
888
  dependencies = [
891
889
  "chacha20",
892
890
  "getrandom",
@@ -930,9 +928,9 @@ dependencies = [
930
928
 
931
929
  [[package]]
932
930
  name = "regex"
933
- version = "1.13.1"
931
+ version = "1.13.2"
934
932
  source = "registry+https://github.com/rust-lang/crates.io-index"
935
- checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
933
+ checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857"
936
934
  dependencies = [
937
935
  "aho-corasick",
938
936
  "memchr",
@@ -942,9 +940,9 @@ dependencies = [
942
940
 
943
941
  [[package]]
944
942
  name = "regex-automata"
945
- version = "0.4.16"
943
+ version = "0.4.19"
946
944
  source = "registry+https://github.com/rust-lang/crates.io-index"
947
- checksum = "8fcfdb36bda0c880c5931cdc7a2bcdc8ba4556847b9d912bca70bc94708711ad"
945
+ checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158"
948
946
  dependencies = [
949
947
  "aho-corasick",
950
948
  "memchr",
@@ -953,9 +951,9 @@ dependencies = [
953
951
 
954
952
  [[package]]
955
953
  name = "regex-syntax"
956
- version = "0.8.11"
954
+ version = "0.8.12"
957
955
  source = "registry+https://github.com/rust-lang/crates.io-index"
958
- checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
956
+ checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
959
957
 
960
958
  [[package]]
961
959
  name = "rustix"
@@ -1030,7 +1028,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
1030
1028
  dependencies = [
1031
1029
  "proc-macro2",
1032
1030
  "quote",
1033
- "syn 3.0.2",
1031
+ "syn 3.0.10",
1034
1032
  ]
1035
1033
 
1036
1034
  [[package]]
@@ -1111,9 +1109,9 @@ dependencies = [
1111
1109
 
1112
1110
  [[package]]
1113
1111
  name = "syn"
1114
- version = "3.0.2"
1112
+ version = "3.0.10"
1115
1113
  source = "registry+https://github.com/rust-lang/crates.io-index"
1116
- checksum = "a207d6d6a2b7fc470b80443726053f18a2481b7e1eee970597051596567987a3"
1114
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
1117
1115
  dependencies = [
1118
1116
  "proc-macro2",
1119
1117
  "quote",
@@ -1162,7 +1160,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
1162
1160
  dependencies = [
1163
1161
  "proc-macro2",
1164
1162
  "quote",
1165
- "syn 3.0.2",
1163
+ "syn 3.0.10",
1166
1164
  ]
1167
1165
 
1168
1166
  [[package]]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "jsonata-core"
3
- version = "2.2.15"
3
+ version = "2.2.16"
4
4
  edition = "2021"
5
5
  authors = ["txjmb <txjmb@users.noreply.github.com>"]
6
6
  description = "High-performance Rust implementation of JSONata query and transformation language"
@@ -13,6 +13,7 @@ categories = ["parsing", "data-structures"]
13
13
  readme = "README.md"
14
14
  rust-version = "1.70"
15
15
  exclude = [
16
+ "vendor/*",
16
17
  "tests/jsonata-js/*",
17
18
  "tests/python/*",
18
19
  "python/*",
@@ -65,6 +66,10 @@ python = ["dep:pyo3"]
65
66
  cli = ["dep:clap"]
66
67
  bench = [] # exposes _bench facade for Criterion benchmarks
67
68
  capi = []
69
+ # Note for crates.io users: the vendored mimalloc 3.4.5 (see [patch.crates-io]
70
+ # below) only applies when building from this repository or the sdist; a
71
+ # crates.io build of this feature gets libmimalloc-sys 0.1.49's mimalloc 3.3.2,
72
+ # which can crash after the first thread that allocated exits (#298).
68
73
  mimalloc = ["dep:mimalloc", "dep:libmimalloc-sys"]
69
74
 
70
75
  [dev-dependencies]
@@ -93,3 +98,15 @@ opt-level = 0
93
98
  [package.metadata.maturin]
94
99
  python-source = "python"
95
100
  module-name = "jsonatapy._jsonatapy"
101
+
102
+ # libmimalloc-sys 0.1.49 bundles mimalloc v3.3.2, which crashes next to other
103
+ # mimalloc v3 copies on macOS (fixed TLS slots, e.g. pyarrow 24) and once the
104
+ # first thread that allocated has exited (microsoft/mimalloc#1287). The
105
+ # vendored copy is that crate unchanged except for mimalloc v3.4.5 sources,
106
+ # which fix both (see vendor/libmimalloc-sys/VENDORED.md and GitHub #298).
107
+ # Remove this patch and vendor/ once a libmimalloc-sys release bundles
108
+ # mimalloc >= 3.4.5 (purpleprotocol/mimalloc_rust#169). `[patch]` does not
109
+ # apply to crates.io dependents, who still get v3.3.2 with the `mimalloc`
110
+ # feature.
111
+ [patch.crates-io]
112
+ libmimalloc-sys = { path = "vendor/libmimalloc-sys" }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jsonatapy
3
- Version: 2.2.15
3
+ Version: 2.2.16
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -75,7 +75,7 @@ Project-URL: Repository, https://github.com/txjmb/jsonata-core
75
75
  <source media="(prefers-color-scheme: dark)"
76
76
  srcset="https://raw.githubusercontent.com/txjmb/jsonata-core/main/docs/assets/realistic-workload-dark.svg">
77
77
  <img width="880"
78
- alt="Realistic-workload benchmark on a 100-product dataset, lower is better: jsonatapy is 8.0x faster than the jsonata-js reference on the geometric mean of 5 e-commerce queries, and the pure-Rust jsonata-core engine is faster still."
78
+ alt="Realistic-workload benchmark on a 100-product dataset, lower is better: jsonatapy is 8.1x faster than the jsonata-js reference on the geometric mean of 5 e-commerce queries, and the pure-Rust jsonata-core engine is faster still."
79
79
  src="https://raw.githubusercontent.com/txjmb/jsonata-core/main/docs/assets/realistic-workload-light.svg">
80
80
  </picture>
81
81
  </a>
@@ -156,10 +156,10 @@ let result = Evaluator::new().evaluate(&ast, &data)?;
156
156
  ```toml
157
157
  # Cargo.toml
158
158
  [dependencies]
159
- jsonata-core = "2.2.15" # pure Rust, no Python dependency
159
+ jsonata-core = "2.2.16" # pure Rust, no Python dependency
160
160
 
161
161
  # Optional: disable SIMD for constrained targets
162
- jsonata-core = { version = "2.2.15", default-features = false }
162
+ jsonata-core = { version = "2.2.16", default-features = false }
163
163
  ```
164
164
 
165
165
  ---
@@ -26,7 +26,7 @@
26
26
  <source media="(prefers-color-scheme: dark)"
27
27
  srcset="https://raw.githubusercontent.com/txjmb/jsonata-core/main/docs/assets/realistic-workload-dark.svg">
28
28
  <img width="880"
29
- alt="Realistic-workload benchmark on a 100-product dataset, lower is better: jsonatapy is 8.0x faster than the jsonata-js reference on the geometric mean of 5 e-commerce queries, and the pure-Rust jsonata-core engine is faster still."
29
+ alt="Realistic-workload benchmark on a 100-product dataset, lower is better: jsonatapy is 8.1x faster than the jsonata-js reference on the geometric mean of 5 e-commerce queries, and the pure-Rust jsonata-core engine is faster still."
30
30
  src="https://raw.githubusercontent.com/txjmb/jsonata-core/main/docs/assets/realistic-workload-light.svg">
31
31
  </picture>
32
32
  </a>
@@ -107,10 +107,10 @@ let result = Evaluator::new().evaluate(&ast, &data)?;
107
107
  ```toml
108
108
  # Cargo.toml
109
109
  [dependencies]
110
- jsonata-core = "2.2.15" # pure Rust, no Python dependency
110
+ jsonata-core = "2.2.16" # pure Rust, no Python dependency
111
111
 
112
112
  # Optional: disable SIMD for constrained targets
113
- jsonata-core = { version = "2.2.15", default-features = false }
113
+ jsonata-core = { version = "2.2.16", default-features = false }
114
114
  ```
115
115
 
116
116
  ---
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "jsonatapy"
7
- version = "2.2.15"
7
+ version = "2.2.16"
8
8
  description = "High-performance Python/Rust implementation of JSONata query and transformation language"
9
9
  authors = [
10
10
  {name = "txjmb", email = "txjmb@users.noreply.github.com"}
@@ -74,6 +74,10 @@ Repository = "https://github.com/txjmb/jsonata-core"
74
74
  python-source = "python"
75
75
  module-name = "jsonatapy._jsonatapy"
76
76
  features = ["pyo3/extension-module", "python", "mimalloc"]
77
+ # Cargo.toml excludes vendor/ from the crates.io package, which maturin
78
+ # honours too, but the sdist needs the vendored libmimalloc-sys that
79
+ # `[patch.crates-io]` points at (GitHub #298).
80
+ include = [{ path = "vendor/**/*", format = "sdist" }]
77
81
 
78
82
  [dependency-groups]
79
83
  dev = [
@@ -13,6 +13,13 @@
13
13
  //! [`SmallAlignMiMalloc`] calls `mi_malloc` directly for the alignments it
14
14
  //! guarantees, which is nearly every Rust allocation, and hands the rest to
15
15
  //! `MiMalloc`.
16
+ //!
17
+ //! The mimalloc C sources come from `vendor/libmimalloc-sys` (mimalloc
18
+ //! v3.4.5, via `[patch.crates-io]` in Cargo.toml) rather than the v3.3.2 that
19
+ //! `libmimalloc-sys` 0.1.49 bundles: v3.3.2 kept its thread heap in fixed
20
+ //! macOS TLS slots shared with other mimalloc copies such as pyarrow 24's, and
21
+ //! crashed once the first thread that allocated had exited. See GitHub #298
22
+ //! and `vendor/libmimalloc-sys/VENDORED.md`.
16
23
 
17
24
  use std::alloc::{GlobalAlloc, Layout};
18
25
 
@@ -0,0 +1,79 @@
1
+ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2
+ #
3
+ # When uploading crates to the registry Cargo will automatically
4
+ # "normalize" Cargo.toml files for maximal compatibility
5
+ # with all versions of Cargo and also rewrite `path` dependencies
6
+ # to registry (e.g., crates.io) dependencies.
7
+ #
8
+ # If you are reading this file be aware that the original Cargo.toml
9
+ # will likely look very different (and much more reasonable).
10
+ # See Cargo.toml.orig for the original contents.
11
+
12
+ [package]
13
+ edition = "2018"
14
+ name = "libmimalloc-sys"
15
+ version = "0.1.49"
16
+ authors = ["Octavian Oncescu <octavonce@gmail.com>"]
17
+ build = "build.rs"
18
+ links = "mimalloc"
19
+ exclude = [
20
+ "/c_src/mimalloc/v2/bin",
21
+ "/c_src/mimalloc/v2/cmake",
22
+ "/c_src/mimalloc/v2/doc",
23
+ "/c_src/mimalloc/v2/docs",
24
+ "/c_src/mimalloc/v2/ide",
25
+ "/c_src/mimalloc/v2/test",
26
+ "/c_src/mimalloc/v3/bin",
27
+ "/c_src/mimalloc/v3/cmake",
28
+ "/c_src/mimalloc/v3/doc",
29
+ "/c_src/mimalloc/v3/docs",
30
+ "/c_src/mimalloc/v3/ide",
31
+ "/c_src/mimalloc/v3/test",
32
+ ]
33
+ autolib = false
34
+ autobins = false
35
+ autoexamples = false
36
+ autotests = false
37
+ autobenches = false
38
+ description = "Sys crate wrapping the mimalloc allocator"
39
+ readme = false
40
+ keywords = [
41
+ "allocator",
42
+ "encrypted-heap",
43
+ "performance",
44
+ ]
45
+ categories = [
46
+ "memory-management",
47
+ "api-bindings",
48
+ ]
49
+ license = "MIT"
50
+ repository = "https://github.com/purpleprotocol/mimalloc_rust/tree/master/libmimalloc-sys"
51
+
52
+ [package.metadata.docs.rs]
53
+ features = ["extended"]
54
+
55
+ [features]
56
+ arena = []
57
+ debug = []
58
+ debug_in_debug = []
59
+ extended = ["cty"]
60
+ local_dynamic_tls = []
61
+ no_thp = []
62
+ override = []
63
+ secure = []
64
+ v2 = []
65
+ win_direct_tls = []
66
+
67
+ [lib]
68
+ name = "libmimalloc_sys"
69
+ path = "src/lib.rs"
70
+
71
+ [dependencies.cty]
72
+ version = "0.2"
73
+ optional = true
74
+
75
+ [dev-dependencies.libc]
76
+ version = "0.2"
77
+
78
+ [build-dependencies.cc]
79
+ version = "1.2"
@@ -0,0 +1,25 @@
1
+ Copyright 2019 Octavian Oncescu
2
+
3
+ Permission is hereby granted, free of charge, to any
4
+ person obtaining a copy of this software and associated
5
+ documentation files (the "Software"), to deal in the
6
+ Software without restriction, including without
7
+ limitation the rights to use, copy, modify, merge,
8
+ publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software
10
+ is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice
14
+ shall be included in all copies or substantial portions
15
+ of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
18
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
19
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
20
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
21
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
24
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
+ DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,28 @@
1
+ # Vendored libmimalloc-sys
2
+
3
+ This is `libmimalloc-sys` 0.1.49 from crates.io (MIT, purpleprotocol/mimalloc_rust),
4
+ used through `[patch.crates-io]` in the root `Cargo.toml`. It is unchanged except:
5
+
6
+ - `c_src/mimalloc/v3` holds mimalloc **v3.4.5** (microsoft/mimalloc tag `v3.4.5`,
7
+ commit `acf2fdd329f9dc2a7ffe3f12a133fe7175e39378`): only `include/`, `src/` and
8
+ `LICENSE`, the files the build script compiles.
9
+ - `c_src/mimalloc/v2` is removed; this project never enables the `v2` feature,
10
+ and `build.rs` panics with a pointer here if something does.
11
+
12
+ Why (GitHub #298): the crate's bundled mimalloc v3.3.2 keeps its thread heap in
13
+ fixed macOS TLS slots shared by every mimalloc v3 copy in the process, so it
14
+ crashed next to pyarrow 24.0.0, and on every platform it segfaults once the
15
+ first thread that allocated has exited (microsoft/mimalloc#1287). mimalloc
16
+ 3.4.5 uses pthread keys on macOS by default and fixes the thread-exit crash.
17
+
18
+ Remove this directory and the `[patch.crates-io]` entry once a `libmimalloc-sys`
19
+ release bundles mimalloc >= 3.4.5 (purpleprotocol/mimalloc_rust#169), then
20
+ check that `tests/python/test_allocator_coexistence.py` still passes.
21
+
22
+ To check the C sources still match upstream:
23
+
24
+ ```sh
25
+ git clone --depth 1 --branch v3.4.5 https://github.com/microsoft/mimalloc /tmp/mimalloc
26
+ for d in include src; do diff -r /tmp/mimalloc/$d vendor/libmimalloc-sys/c_src/mimalloc/v3/$d; done
27
+ diff /tmp/mimalloc/LICENSE vendor/libmimalloc-sys/c_src/mimalloc/v3/LICENSE
28
+ ```
@@ -0,0 +1,140 @@
1
+ use std::env;
2
+ use std::fs;
3
+ use std::path::{Path, PathBuf};
4
+
5
+ fn main() {
6
+ let mut build = cc::Build::new();
7
+
8
+ // Vendored copy (see VENDORED.md): only the v3 sources are kept.
9
+ if env::var("CARGO_FEATURE_V2").is_ok() {
10
+ panic!(
11
+ "the `v2` feature is not available in jsonata-core's vendored libmimalloc-sys \
12
+ (c_src/mimalloc/v2 was removed); see vendor/libmimalloc-sys/VENDORED.md"
13
+ );
14
+ }
15
+ let version = "v3";
16
+
17
+ let cargo_manifest_dir = env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR not set");
18
+ let include_root = Path::new(&cargo_manifest_dir)
19
+ .join("c_src")
20
+ .join("mimalloc")
21
+ .join(version);
22
+ let include_dir = include_root
23
+ .join("include")
24
+ .to_str()
25
+ .expect("include path is not valid UTF-8")
26
+ .to_string();
27
+ let static_source = include_root.join("src").join("static.c");
28
+
29
+ // Make the include directory available to consumers via the `DEP_MIMALLOC_INCLUDE_DIR`
30
+ // environment variable.
31
+ println!("cargo:INCLUDE_DIR={include_dir}");
32
+
33
+ build.include(format!("c_src/mimalloc/{version}/include"));
34
+ build.include(format!("c_src/mimalloc/{version}/src"));
35
+
36
+ let target_os = env::var("CARGO_CFG_TARGET_OS").expect("target_os not defined!");
37
+ let target_family = env::var("CARGO_CFG_TARGET_FAMILY").expect("target_family not defined!");
38
+ let target_env = env::var("CARGO_CFG_TARGET_ENV").unwrap_or_default();
39
+ let target_vendor = env::var("CARGO_CFG_TARGET_VENDOR").expect("target_vendor not defined!");
40
+ let target_arch = env::var("CARGO_CFG_TARGET_ARCH").expect("target_arch not defined!");
41
+ let cargo_debug = env::var("DEBUG")
42
+ .map(|value| value == "true" || value == "1")
43
+ .unwrap_or(false);
44
+ let debug_enabled = env::var_os("CARGO_FEATURE_DEBUG").is_some()
45
+ || (env::var_os("CARGO_FEATURE_DEBUG_IN_DEBUG").is_some() && cargo_debug);
46
+
47
+ if target_family != "windows" {
48
+ build.flag("-Wno-error=date-time");
49
+ }
50
+
51
+ if target_env == "msvc" {
52
+ // Mimalloc expects the MSVC/clang-cl build to use the C++ atomics path.
53
+ build.cpp(true);
54
+ build.std("c++17");
55
+ build.flag_if_supported("/Zc:__cplusplus");
56
+
57
+ let wrapper =
58
+ PathBuf::from(env::var("OUT_DIR").expect("OUT_DIR not set")).join("mimalloc-static.cc");
59
+ let include = static_source.to_string_lossy().replace('\\', "/");
60
+ fs::write(&wrapper, format!("#include \"{include}\"\n"))
61
+ .expect("failed to write mimalloc C++ wrapper");
62
+ build.file(wrapper);
63
+ } else {
64
+ build.file(&static_source);
65
+ }
66
+
67
+ let compiler = build.get_compiler();
68
+
69
+ if env::var_os("CARGO_FEATURE_OVERRIDE").is_some() {
70
+ // Overriding malloc is only available on windows in shared mode, but we
71
+ // only ever build a static lib.
72
+ if target_family != "windows" {
73
+ build.define("MI_MALLOC_OVERRIDE", None);
74
+ }
75
+ if target_vendor == "apple" {
76
+ build.define("MI_OSX_ZONE", Some("1"));
77
+ build.define("MI_OSX_INTERPOSE", Some("1"));
78
+ }
79
+ if !compiler.is_like_msvc() {
80
+ build.flag_if_supported("-fno-builtin-malloc");
81
+ }
82
+ }
83
+
84
+ if env::var_os("CARGO_FEATURE_SECURE").is_some() {
85
+ build.define("MI_SECURE", "4");
86
+ }
87
+
88
+ if target_os == "windows" && env::var_os("CARGO_FEATURE_WIN_DIRECT_TLS").is_some() {
89
+ build.define("MI_WIN_DIRECT_TLS", "1");
90
+ }
91
+
92
+ let dynamic_tls = env::var("CARGO_FEATURE_LOCAL_DYNAMIC_TLS").is_ok();
93
+
94
+ if target_family == "unix" && target_os != "haiku" {
95
+ if dynamic_tls {
96
+ build.flag_if_supported("-ftls-model=local-dynamic");
97
+ } else {
98
+ build.flag_if_supported("-ftls-model=initial-exec");
99
+ }
100
+ }
101
+
102
+ if (target_os == "linux" || target_os == "android")
103
+ && env::var_os("CARGO_FEATURE_NO_THP").is_some()
104
+ {
105
+ build.define("MI_NO_THP", "1");
106
+ }
107
+
108
+ if debug_enabled {
109
+ build.define("MI_DEBUG", "3");
110
+ build.define("MI_SHOW_ERRORS", "1");
111
+ } else {
112
+ // Remove heavy debug assertions etc.
113
+ build.define("MI_DEBUG", "0");
114
+ if !cargo_debug {
115
+ build.define("MI_BUILD_RELEASE", None);
116
+ build.define("NDEBUG", None);
117
+ }
118
+ }
119
+
120
+ build.compile("mimalloc");
121
+
122
+ // on armv6 we need to link with libatomic
123
+ if target_os == "linux" && target_arch == "arm" {
124
+ // Embrace the atomic capability library across various platforms.
125
+ // For instance, on certain platforms, llvm has relocated the atomic of the arm32 architecture to libclang_rt.builtins.a
126
+ // while some use libatomic.a, and others use libatomic_ops.a.
127
+ let atomic_name = env::var("DEP_ATOMIC").unwrap_or("atomic".to_owned());
128
+ println!("cargo:rustc-link-lib={}", atomic_name);
129
+ }
130
+
131
+ // Link with libs needed on Windows
132
+ if target_os == "windows" {
133
+ // https://github.com/microsoft/mimalloc/blob/af21001f7a65eafb8fb16460b018ebf9d75e2ad8/CMakeLists.txt#L487
134
+ let libs = ["psapi", "shell32", "user32", "advapi32", "bcrypt"];
135
+
136
+ for lib in libs {
137
+ println!("cargo:rustc-link-lib={}", lib);
138
+ }
139
+ }
140
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018-2025 Microsoft Corporation, Daan Leijen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.