You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running dmypy crashes since version 1.11.0.
"normal" mypy is running without problems
Traceback
❯ .venv/bin/dmypy run src
Daemon started
/MYPATH/.venv/lib/python3.12/site-packages/stripe/tax/_registration.py: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
Please report a bug at https://github.com/python/mypy/issues
version: 1.11.0
Daemon crashed!
Traceback (most recent call last):
File "mypy/dmypy_server.py", line 236, in serve
File "mypy/dmypy_server.py", line 285, in run_command
File "mypy/dmypy_server.py", line 353, in cmd_run
File "mypy/dmypy_server.py", line 427, in check
File "mypy/dmypy_server.py", line 466, in initialize_fine_grained
File "mypy/build.py", line 193, in build
File "mypy/build.py", line 268, in _build
File "mypy/build.py", line 2950, in dispatch
File "mypy/build.py", line 3348, in process_graph
File "mypy/build.py", line 3453, in process_stale_scc
File "mypy/build.py", line 2409, in finish_passes
File "mypy/build.py", line 2467, in update_fine_grained_deps
File "mypy/build.py", line 2455, in compute_fine_grained_deps
File "mypy/server/deps.py", line 187, in get_dependencies
File "mypy/nodes.py", line 372, in accept
File "mypy/server/deps.py", line 250, in visit_mypy_file
File "mypy/traverser.py", line 116, in visit_mypy_file
File "mypy/nodes.py", line 1183, in accept
File "mypy/server/deps.py", line 310, in visit_class_def
File "mypy/traverser.py", line 152, in visit_class_def
File "mypy/nodes.py", line 1264, in accept
File "mypy/server/deps.py", line 429, in visit_block
File "mypy/traverser.py", line 120, in visit_block
File "mypy/nodes.py", line 1183, in accept
File "mypy/server/deps.py", line 310, in visit_class_def
File "mypy/traverser.py", line 152, in visit_class_def
File "mypy/nodes.py", line 1264, in accept
File "mypy/server/deps.py", line 429, in visit_block
File "mypy/traverser.py", line 120, in visit_block
File "mypy/nodes.py", line 1351, in accept
File "mypy/server/deps.py", line 490, in visit_assignment_stmt
File "mypy/server/deps.py", line 887, in add_type_dependencies
File "mypy/server/deps.py", line 940, in get_type_triggers
File "mypy/server/deps.py", line 947, in get_type_triggers
File "mypy/types.py", line 2706, in accept
AssertionError
To Reproduce
Have source which uses stripe
Run dmypy on this
Your Environment
Mypy version used: 1.11.0
Mypy command-line flags: -
Mypy configuration options from mypy.ini (and other config files):
)
Commit 1072c78 (#17148) converted all
quoted types into `RawExpressionType`, which raised an `AssertionError`
when `accept`ing a `TypeTriggersVisitor`.
- Fixes#17574.
- Fixes#17587.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Crash Report
Running dmypy crashes since version 1.11.0.
"normal" mypy is running without problems
Traceback
To Reproduce
Your Environment
mypy.ini
(and other config files):stripe==10.3.0
(the file dmypy fails on)The text was updated successfully, but these errors were encountered: