egglog 11.0.0__cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 11.1.0__cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.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 egglog might be problematic. Click here for more details.

egglog/builtins.py CHANGED
@@ -91,7 +91,7 @@ class String(BuiltinExpr):
91
91
  def eval(self) -> str:
92
92
  return self.value
93
93
 
94
- @method(preserve=True) # type: ignore[misc]
94
+ @method(preserve=True) # type: ignore[prop-decorator]
95
95
  @property
96
96
  def value(self) -> str:
97
97
  if (value := get_literal_value(self)) is not None:
@@ -122,7 +122,7 @@ class Bool(BuiltinExpr, egg_sort="bool"):
122
122
  def eval(self) -> bool:
123
123
  return self.value
124
124
 
125
- @method(preserve=True) # type: ignore[misc]
125
+ @method(preserve=True) # type: ignore[prop-decorator]
126
126
  @property
127
127
  def value(self) -> bool:
128
128
  if (value := get_literal_value(self)) is not None:
@@ -165,7 +165,7 @@ class i64(BuiltinExpr): # noqa: N801
165
165
  def eval(self) -> int:
166
166
  return self.value
167
167
 
168
- @method(preserve=True) # type: ignore[misc]
168
+ @method(preserve=True) # type: ignore[prop-decorator]
169
169
  @property
170
170
  def value(self) -> int:
171
171
  if (value := get_literal_value(self)) is not None:
@@ -239,14 +239,14 @@ class i64(BuiltinExpr): # noqa: N801
239
239
  def __invert__(self) -> i64: ...
240
240
 
241
241
  @method(egg_fn="<")
242
- def __lt__(self, other: i64Like) -> Unit: # type: ignore[empty-body,has-type]
242
+ def __lt__(self, other: i64Like) -> Unit: # type: ignore[has-type]
243
243
  ...
244
244
 
245
245
  @method(egg_fn=">")
246
246
  def __gt__(self, other: i64Like) -> Unit: ...
247
247
 
248
248
  @method(egg_fn="<=")
249
- def __le__(self, other: i64Like) -> Unit: # type: ignore[empty-body,has-type]
249
+ def __le__(self, other: i64Like) -> Unit: # type: ignore[has-type]
250
250
  ...
251
251
 
252
252
  @method(egg_fn=">=")
@@ -292,7 +292,7 @@ class f64(BuiltinExpr): # noqa: N801
292
292
  def eval(self) -> float:
293
293
  return self.value
294
294
 
295
- @method(preserve=True) # type: ignore[misc]
295
+ @method(preserve=True) # type: ignore[prop-decorator]
296
296
  @property
297
297
  def value(self) -> float:
298
298
  if (value := get_literal_value(self)) is not None:
@@ -341,14 +341,14 @@ class f64(BuiltinExpr): # noqa: N801
341
341
  def __rmod__(self, other: f64Like) -> f64: ...
342
342
 
343
343
  @method(egg_fn="<")
344
- def __lt__(self, other: f64Like) -> Unit: # type: ignore[empty-body,has-type]
344
+ def __lt__(self, other: f64Like) -> Unit: # type: ignore[has-type]
345
345
  ...
346
346
 
347
347
  @method(egg_fn=">")
348
348
  def __gt__(self, other: f64Like) -> Unit: ...
349
349
 
350
350
  @method(egg_fn="<=")
351
- def __le__(self, other: f64Like) -> Unit: # type: ignore[empty-body,has-type]
351
+ def __le__(self, other: f64Like) -> Unit: # type: ignore[has-type]
352
352
  ...
353
353
 
354
354
  @method(egg_fn=">=")
@@ -387,7 +387,7 @@ class Map(BuiltinExpr, Generic[T, V]):
387
387
  def eval(self) -> dict[T, V]:
388
388
  return self.value
389
389
 
390
- @method(preserve=True) # type: ignore[misc]
390
+ @method(preserve=True) # type: ignore[prop-decorator]
391
391
  @property
392
392
  def value(self) -> dict[T, V]:
393
393
  d = {}
@@ -457,7 +457,7 @@ class Set(BuiltinExpr, Generic[T]):
457
457
  def eval(self) -> set[T]:
458
458
  return self.value
459
459
 
460
- @method(preserve=True) # type: ignore[misc]
460
+ @method(preserve=True) # type: ignore[prop-decorator]
461
461
  @property
462
462
  def value(self) -> set[T]:
463
463
  if (args := get_callable_args(self, Set[T])) is not None:
@@ -527,7 +527,7 @@ class MultiSet(BuiltinExpr, Generic[T]):
527
527
  def eval(self) -> list[T]:
528
528
  return self.value
529
529
 
530
- @method(preserve=True) # type: ignore[misc]
530
+ @method(preserve=True) # type: ignore[prop-decorator]
531
531
  @property
532
532
  def value(self) -> list[T]:
533
533
  if (args := get_callable_args(self, MultiSet[T])) is not None:
@@ -582,7 +582,7 @@ class Rational(BuiltinExpr):
582
582
  def eval(self) -> Fraction:
583
583
  return self.value
584
584
 
585
- @method(preserve=True) # type: ignore[misc]
585
+ @method(preserve=True) # type: ignore[prop-decorator]
586
586
  @property
587
587
  def value(self) -> Fraction:
588
588
  match get_callable_args(self, Rational):
@@ -651,11 +651,11 @@ class Rational(BuiltinExpr):
651
651
  @method(egg_fn="cbrt")
652
652
  def cbrt(self) -> Rational: ...
653
653
 
654
- @method(egg_fn="numer") # type: ignore[misc]
654
+ @method(egg_fn="numer") # type: ignore[prop-decorator]
655
655
  @property
656
656
  def numer(self) -> i64: ...
657
657
 
658
- @method(egg_fn="denom") # type: ignore[misc]
658
+ @method(egg_fn="denom") # type: ignore[prop-decorator]
659
659
  @property
660
660
  def denom(self) -> i64: ...
661
661
 
@@ -666,7 +666,7 @@ class BigInt(BuiltinExpr):
666
666
  def eval(self) -> int:
667
667
  return self.value
668
668
 
669
- @method(preserve=True) # type: ignore[misc]
669
+ @method(preserve=True) # type: ignore[prop-decorator]
670
670
  @property
671
671
  def value(self) -> int:
672
672
  match get_callable_args(self, BigInt.from_string):
@@ -744,14 +744,14 @@ class BigInt(BuiltinExpr):
744
744
  def bits(self) -> BigInt: ...
745
745
 
746
746
  @method(egg_fn="<")
747
- def __lt__(self, other: BigIntLike) -> Unit: # type: ignore[empty-body,has-type]
747
+ def __lt__(self, other: BigIntLike) -> Unit: # type: ignore[has-type]
748
748
  ...
749
749
 
750
750
  @method(egg_fn=">")
751
751
  def __gt__(self, other: BigIntLike) -> Unit: ...
752
752
 
753
753
  @method(egg_fn="<=")
754
- def __le__(self, other: BigIntLike) -> Unit: # type: ignore[empty-body,has-type]
754
+ def __le__(self, other: BigIntLike) -> Unit: # type: ignore[has-type]
755
755
  ...
756
756
 
757
757
  @method(egg_fn=">=")
@@ -793,7 +793,7 @@ class BigRat(BuiltinExpr):
793
793
  def eval(self) -> Fraction:
794
794
  return self.value
795
795
 
796
- @method(preserve=True) # type: ignore[misc]
796
+ @method(preserve=True) # type: ignore[prop-decorator]
797
797
  @property
798
798
  def value(self) -> Fraction:
799
799
  match get_callable_args(self, BigRat):
@@ -862,11 +862,11 @@ class BigRat(BuiltinExpr):
862
862
  @method(egg_fn="cbrt")
863
863
  def cbrt(self) -> BigRat: ...
864
864
 
865
- @method(egg_fn="numer") # type: ignore[misc]
865
+ @method(egg_fn="numer") # type: ignore[prop-decorator]
866
866
  @property
867
867
  def numer(self) -> BigInt: ...
868
868
 
869
- @method(egg_fn="denom") # type: ignore[misc]
869
+ @method(egg_fn="denom") # type: ignore[prop-decorator]
870
870
  @property
871
871
  def denom(self) -> BigInt: ...
872
872
 
@@ -893,7 +893,7 @@ class Vec(BuiltinExpr, Generic[T]):
893
893
  def eval(self) -> tuple[T, ...]:
894
894
  return self.value
895
895
 
896
- @method(preserve=True) # type: ignore[misc]
896
+ @method(preserve=True) # type: ignore[prop-decorator]
897
897
  @property
898
898
  def value(self) -> tuple[T, ...]:
899
899
  if get_callable_args(self, Vec.empty) is not None:
@@ -972,7 +972,7 @@ class PyObject(BuiltinExpr):
972
972
  def eval(self) -> object:
973
973
  return self.value
974
974
 
975
- @method(preserve=True) # type: ignore[misc]
975
+ @method(preserve=True) # type: ignore[prop-decorator]
976
976
  @property
977
977
  def value(self) -> object:
978
978
  expr = cast("RuntimeExpr", self).__egg_typed_expr__.expr
egglog/egraph.py CHANGED
@@ -1767,7 +1767,7 @@ def _rewrite_or_rule_generator(gen: RewriteOrRuleGenerator, frame: FrameType) ->
1767
1767
  combined = {**gen.__globals__, **frame.f_locals}
1768
1768
  hints = get_type_hints(gen, combined, combined)
1769
1769
  args = [_var(p.name, hints[p.name], egg_name=None) for p in signature(gen).parameters.values()]
1770
- return list(gen(*args)) # type: ignore[misc]
1770
+ return list(gen(*args))
1771
1771
 
1772
1772
 
1773
1773
  FactLike = Fact | BaseExpr
egglog/exp/program_gen.py CHANGED
@@ -79,7 +79,7 @@ class Program(Expr):
79
79
  Triggers compilation of the program.
80
80
  """
81
81
 
82
- @method(merge=lambda old, _new: old) # type: ignore[misc]
82
+ @method(merge=lambda old, _new: old) # type: ignore[prop-decorator]
83
83
  @property
84
84
  def parent(self) -> Program:
85
85
  """
@@ -108,7 +108,7 @@ class EvalProgram(Expr):
108
108
  """
109
109
 
110
110
  # Only allow it to be set once, b/c hash of functions not stable
111
- @method(merge=lambda old, _new: old) # type: ignore[misc]
111
+ @method(merge=lambda old, _new: old) # type: ignore[prop-decorator]
112
112
  @property
113
113
  def as_py_object(self) -> PyObject:
114
114
  """
egglog/version_compat.py CHANGED
@@ -39,7 +39,7 @@ if BEFORE_3_11:
39
39
  if isinstance(t, typevar_types) and t not in tvars:
40
40
  tvars.append(t)
41
41
  # **MONKEYPATCH CHANGE HERE TO ADD RuntimeClass**
42
- if isinstance(t, (typing._GenericAlias, typing.GenericAlias, types.UnionType, RuntimeClass)): # type: ignore[name-defined]
42
+ if isinstance(t, (typing._GenericAlias, typing.GenericAlias, types.UnionType, RuntimeClass)):
43
43
  tvars.extend([t for t in t.__parameters__ if t not in tvars])
44
44
  return tuple(tvars)
45
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: egglog
3
- Version: 11.0.0
3
+ Version: 11.1.0
4
4
  Classifier: Environment :: MacOS X
5
5
  Classifier: Environment :: Win32 (MS Windows)
6
6
  Classifier: Intended Audience :: Developers
@@ -1,15 +1,15 @@
1
- egglog-11.0.0.dist-info/METADATA,sha256=VH4PDa7lqn65KluCyLOf8_o72HX-CBmdxH3Wtl4jWB0,4009
2
- egglog-11.0.0.dist-info/WHEEL,sha256=fHySsttgWqXcJCdI_MS-Pgp4-RhoEQ6J1LzB8xroE-c,131
3
- egglog-11.0.0.dist-info/licenses/LICENSE,sha256=w7VlVv5O_FPZRo8Z-4Zb_q7D5ac3YDs8JUkMZ4Gq9CE,1070
1
+ egglog-11.1.0.dist-info/METADATA,sha256=u53IcPcs6w0Rry3b4tw2IDFN0qwIOIgbGmj_3Op0FPo,4009
2
+ egglog-11.1.0.dist-info/WHEEL,sha256=fHySsttgWqXcJCdI_MS-Pgp4-RhoEQ6J1LzB8xroE-c,131
3
+ egglog-11.1.0.dist-info/licenses/LICENSE,sha256=w7VlVv5O_FPZRo8Z-4Zb_q7D5ac3YDs8JUkMZ4Gq9CE,1070
4
4
  egglog/__init__.py,sha256=0r3MzQbU-9U0fSCeAoJ3deVhZ77tI-1tf8A_WFOhbJs,344
5
- egglog/bindings.cpython-310-aarch64-linux-gnu.so,sha256=FoUWm1zdFpw__MRMCc5Dhwws6fXmWtbe5gbx1K3zc6I,200964584
5
+ egglog/bindings.cpython-310-aarch64-linux-gnu.so,sha256=3QeboH1qiWzCozSvtd7ercy54vqHIlhwEYkTyFQ2b7k,201012200
6
6
  egglog/bindings.pyi,sha256=QDgs0hKl2xl4Q6f7hXjfDANoMADRrGTYTdGYdri7Vqg,13642
7
- egglog/builtins.py,sha256=PdZFFc1wgDdipQkM4rnwwL7CI595oHtzcvEZYrTBQU4,30110
7
+ egglog/builtins.py,sha256=bF3GanSmsrIIutvuMUmr4SnSNF0zAEwjmDYWbPEEayo,30204
8
8
  egglog/config.py,sha256=yM3FIcVCKnhWZmHD0pxkzx7ah7t5PxZx3WUqKtA9tjU,168
9
9
  egglog/conversion.py,sha256=DO76lxRbbTqHs6hRo_Lckvtwu0c6LaKoX7k5_B2AfuY,11238
10
10
  egglog/declarations.py,sha256=CA8gWolJChVt6-xDL7XvV5ORjNj3O8PREobYCzVFxDI,25784
11
11
  egglog/deconstruct.py,sha256=CovORrpROMIwOLgERPUw8doqRUDUehj6LJEB5FMbpmI,5635
12
- egglog/egraph.py,sha256=wa_lE-TiJROoeDkR3JlVKZgRQSnp1PO4szr0MgHIzg8,60623
12
+ egglog/egraph.py,sha256=niBx_EAbQhzjupJs_wZ9oIbjF7W_ttx9D0u1iB059HM,60601
13
13
  egglog/egraph_state.py,sha256=8-u0BLAHlWgoo_KiyW_aqC6nj_X0XgMFRlXWIyPjF64,28356
14
14
  egglog/examples/README.rst,sha256=ztTvpofR0eotSqGoCy_C1fPLDPCncjvcqDanXtLHNNU,232
15
15
  egglog/examples/__init__.py,sha256=wm9evUbMPfbtylXIjbDdRTAVMLH4OjT4Z77PCBFyaPU,31
@@ -30,7 +30,7 @@ egglog/exp/array_api_jit.py,sha256=Ak4QhmfYLKimjPf8ffUvPv62OhxOneJ9NEWQJuMxKJc,1
30
30
  egglog/exp/array_api_loopnest.py,sha256=-kbyorlGxvlaNsLx1nmLfEZHQM7VMEBwSKtV0l-bs0g,2444
31
31
  egglog/exp/array_api_numba.py,sha256=X3H1TnCjPL92uVm6OvcWMJ11IeorAE58zWiOX6huPv4,2696
32
32
  egglog/exp/array_api_program_gen.py,sha256=qnve8iqklRQVyGChllG8ZAjAffRpezmdxc3IdaWytoQ,21779
33
- egglog/exp/program_gen.py,sha256=oLhDEFvX9neeSTWiI7pbwEBqRHuj8cXhUCpsyVNZqCw,13013
33
+ egglog/exp/program_gen.py,sha256=CavsD70x0ERS87V4OU9zkgMvLXswGEpb1ZZFK0WyN_g,13033
34
34
  egglog/exp/siu_examples.py,sha256=yZ-sgH2Y12iTdwBUumP7D2OtCGL83M6pPW7PMobVFXc,719
35
35
  egglog/ipython_magic.py,sha256=2hs3g2cSiyDmbCvE2t1OINmu17Bb8MWV--2DpEWwO7I,1189
36
36
  egglog/pretty.py,sha256=TCkwZIecdFT5eMIy0GGAZuKvPUt0fQeh5K1srgnCJLo,20136
@@ -38,8 +38,8 @@ egglog/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  egglog/runtime.py,sha256=8y1YQ5vFuoHr9B8LGTeQBHZin7S8LYHlsR93LlNl2uo,27979
39
39
  egglog/thunk.py,sha256=MrAlPoGK36VQrUrq8PWSaJFu42sPL0yupwiH18lNips,2271
40
40
  egglog/type_constraint_solver.py,sha256=U2GjLgbebTLv5QY8_TU0As5wMKL5_NxkHLen9rpfMwI,4518
41
- egglog/version_compat.py,sha256=T1lHCmTIgGbuLcv7e6JWPxntVSSDsgxRPIq2NpKZe0I,3542
41
+ egglog/version_compat.py,sha256=EaKRMIOPcatrx9XjCofxZD6Nr5WOooiWNdoapkKleww,3512
42
42
  egglog/visualizer.css,sha256=eL0POoThQRc0P4OYnDT-d808ln9O5Qy6DizH9Z5LgWc,259398
43
43
  egglog/visualizer.js,sha256=2qZZ-9W_INJx4gZMYjnVXl27IjT_JNuQyEeI2dbjWoU,3753315
44
44
  egglog/visualizer_widget.py,sha256=LtVfzOtv2WeKtNuILQQ_9SOHWvRr8YdBYQDKQSgry_s,1319
45
- egglog-11.0.0.dist-info/RECORD,,
45
+ egglog-11.1.0.dist-info/RECORD,,