Title: dmypy crashes since version 1.11.0 / "normal" mypy runs without problems · Issue #17574 · python/mypy · GitHub
Open Graph Title: dmypy crashes since version 1.11.0 / "normal" mypy runs without problems · Issue #17574 · python/mypy
X Title: dmypy crashes since version 1.11.0 / "normal" mypy runs without problems · Issue #17574 · python/mypy
Description: Crash Report 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...
Open Graph Description: Crash Report 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/stri...
X Description: Crash Report 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-pac...
Opengraph URL: https://github.com/python/mypy/issues/17574
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dmypy crashes since version 1.11.0 / \"normal\" mypy runs without problems","articleBody":"**Crash Report**\r\n\r\nRunning dmypy crashes since version 1.11.0. \r\n\"normal\" mypy is running without problems\r\n\r\n**Traceback**\r\n\r\n```\r\n❯ .venv/bin/dmypy run src\r\nDaemon started\r\n/MYPATH/.venv/lib/python3.12/site-packages/stripe/tax/_registration.py: error: INTERNAL ERROR -- Please try using mypy master on GitHub:\r\nhttps://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build\r\nPlease report a bug at https://github.com/python/mypy/issues\r\nversion: 1.11.0\r\nDaemon crashed!\r\nTraceback (most recent call last):\r\n File \"mypy/dmypy_server.py\", line 236, in serve\r\n File \"mypy/dmypy_server.py\", line 285, in run_command\r\n File \"mypy/dmypy_server.py\", line 353, in cmd_run\r\n File \"mypy/dmypy_server.py\", line 427, in check\r\n File \"mypy/dmypy_server.py\", line 466, in initialize_fine_grained\r\n File \"mypy/build.py\", line 193, in build\r\n File \"mypy/build.py\", line 268, in _build\r\n File \"mypy/build.py\", line 2950, in dispatch\r\n File \"mypy/build.py\", line 3348, in process_graph\r\n File \"mypy/build.py\", line 3453, in process_stale_scc\r\n File \"mypy/build.py\", line 2409, in finish_passes\r\n File \"mypy/build.py\", line 2467, in update_fine_grained_deps\r\n File \"mypy/build.py\", line 2455, in compute_fine_grained_deps\r\n File \"mypy/server/deps.py\", line 187, in get_dependencies\r\n File \"mypy/nodes.py\", line 372, in accept\r\n File \"mypy/server/deps.py\", line 250, in visit_mypy_file\r\n File \"mypy/traverser.py\", line 116, in visit_mypy_file\r\n File \"mypy/nodes.py\", line 1183, in accept\r\n File \"mypy/server/deps.py\", line 310, in visit_class_def\r\n File \"mypy/traverser.py\", line 152, in visit_class_def\r\n File \"mypy/nodes.py\", line 1264, in accept\r\n File \"mypy/server/deps.py\", line 429, in visit_block\r\n File \"mypy/traverser.py\", line 120, in visit_block\r\n File \"mypy/nodes.py\", line 1183, in accept\r\n File \"mypy/server/deps.py\", line 310, in visit_class_def\r\n File \"mypy/traverser.py\", line 152, in visit_class_def\r\n File \"mypy/nodes.py\", line 1264, in accept\r\n File \"mypy/server/deps.py\", line 429, in visit_block\r\n File \"mypy/traverser.py\", line 120, in visit_block\r\n File \"mypy/nodes.py\", line 1351, in accept\r\n File \"mypy/server/deps.py\", line 490, in visit_assignment_stmt\r\n File \"mypy/server/deps.py\", line 887, in add_type_dependencies\r\n File \"mypy/server/deps.py\", line 940, in get_type_triggers\r\n File \"mypy/server/deps.py\", line 947, in get_type_triggers\r\n File \"mypy/types.py\", line 2706, in accept\r\nAssertionError\r\n```\r\n\r\n**To Reproduce**\r\n\r\n- Have source which uses stripe\r\n- Run dmypy on this\r\n\r\n**Your Environment**\r\n\r\n- Mypy version used: 1.11.0\r\n- Mypy command-line flags: -\r\n- Mypy configuration options from `mypy.ini` (and other config files):\r\n```toml\r\n[tool.mypy]\r\npython_version = 3.12\r\nplugins = [\"pydantic.mypy\"]\r\nexclude = [\"notebooks\", \"seeds\"]\r\ndisallow_untyped_defs = true\r\ncheck_untyped_defs = true\r\nignore_missing_imports = true\r\n```\r\n- Python version used: 3.12.2\r\n- Operating system and version: linux 6.10.0-arch1-2\r\n- `stripe==10.3.0` (the file dmypy fails on)\r\n\r\n","author":{"url":"https://github.com/tzmara","@type":"Person","name":"tzmara"},"datePublished":"2024-07-24T06:52:11Z","url":"https://github.com/python/mypy/issues/17574"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9a68602e-500f-0d32-ccd5-b1f85746cb3a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 960C:2463C6:BC67D2:FBDB84:6B004E1B |
| html-safe-nonce | 2416403afe0affbaa6ea0d61bc317d784e2449da593327fa3a2d838cc0f827f7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjBDOjI0NjNDNjpCQzY3RDI6RkJEQjg0OjZCMDA0RTFCIiwidmlzaXRvcl9pZCI6IjY1Nzc2MzUwMDcwNzcwNDM3MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 31476b9eee1fa70a05e16feeac1bd9de157b47ab0a9d98f49da5c49088c7591f |
| hovercard-subject-tag | issue:2426743393 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/17574/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f928ab9f1358ee50d7beff81a9ebb8b6da9344be990614e32b7ef8bd2ccd96b9/python/mypy/issues/17574 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f928ab9f1358ee50d7beff81a9ebb8b6da9344be990614e32b7ef8bd2ccd96b9/python/mypy/issues/17574 |
| og:image:alt | Crash Report 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/stri... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tzmara |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width