hmr 0.6.2.1__tar.gz → 0.6.2.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hmr
3
- Version: 0.6.2.1
3
+ Version: 0.6.2.2
4
4
  Summary: Hot Module Reload for Python
5
5
  Keywords: reactive-programming,reload,signals,hmr
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -20,7 +20,7 @@ description = "Hot Module Reload for Python"
20
20
  dependencies = [
21
21
  "watchfiles>=0.21,<2 ; sys_platform != 'emscripten'",
22
22
  ]
23
- version = "0.6.2.1"
23
+ version = "0.6.2.2"
24
24
 
25
25
  [project.scripts]
26
26
  hmr = "reactivity.hmr:cli"
@@ -335,4 +335,4 @@ def cli():
335
335
  reloader.keep_watching_until_interrupt()
336
336
 
337
337
 
338
- __version__ = "0.6.2.1"
338
+ __version__ = "0.6.2.2"
@@ -15,8 +15,8 @@ def _equal(a, b):
15
15
  comparison_result = a == b
16
16
  if comparison_result:
17
17
  return True
18
- except ValueError as e:
19
- if ".all()" in str(e) and hasattr(comparison_result, "all"): # array-like instances
18
+ except (ValueError, RuntimeError) as e:
19
+ if "is ambiguous" in str(e) and hasattr(comparison_result, "all"): # array-like instances
20
20
  comparison_result = comparison_result.all()
21
21
  else:
22
22
  return False
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes