Title: Crash during cache serialization when checking select projects in mypy_primer · Issue #19844 · python/mypy · GitHub
Open Graph Title: Crash during cache serialization when checking select projects in mypy_primer · Issue #19844 · python/mypy
X Title: Crash during cache serialization when checking select projects in mypy_primer · Issue #19844 · python/mypy
Description: Crash Report I haven't been able to reproduce this locally yet, but it seems to be occurring consistently when running mypy_primer in the CI. Examples: #19832 (comment), #19073 (comment), #19486 (comment) Common factors: Occurs when chec...
Open Graph Description: Crash Report I haven't been able to reproduce this locally yet, but it seems to be occurring consistently when running mypy_primer in the CI. Examples: #19832 (comment), #19073 (comment), #19486 (c...
X Description: Crash Report I haven't been able to reproduce this locally yet, but it seems to be occurring consistently when running mypy_primer in the CI. Examples: #19832 (comment), #19073 (comment), #1948...
Opengraph URL: https://github.com/python/mypy/issues/19844
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash during cache serialization when checking select projects in mypy_primer","articleBody":"**Crash Report**\n\nI haven't been able to reproduce this locally yet, but it seems to be occurring consistently when running mypy_primer in the CI. Examples: https://github.com/python/mypy/pull/19832#issuecomment-3287625534, https://github.com/python/mypy/pull/19073#issuecomment-3288636059, https://github.com/python/mypy/pull/19486#issuecomment-3287500463\n\nCommon factors:\n* Occurs when checking the projects `scipy-stubs` and `AutoSplit` \n* Traceback ending with `Error serializing zipimport`.\n\nSee https://github.com/brianschubert/mypy/pull/4 for the full output from a primer run.\n\n\n\n**Traceback**\n\n```python-traceback\nTraceback (most recent call last):\n File \"/tmp/mypy_primer/mypy_old/venv/bin/mypy\", line 7, in \u003cmodule>\n sys.exit(console_entry())\n ~~~~~~~~~~~~~^^\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/__main__.py\", line 15, in console_entry\n main()\n ~~~~^^\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/main.py\", line 127, in main\n res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/main.py\", line 211, in run_build\n res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/build.py\", line 196, in build\n result = _build(\n sources, options, alt_lib_path, flush_errors, fscache, stdout, stderr, extra_plugins\n )\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/build.py\", line 272, in _build\n graph = dispatch(sources, manager, stdout)\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/build.py\", line 2946, in dispatch\n process_graph(graph, manager)\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/build.py\", line 3346, in process_graph\n process_stale_scc(graph, scc, manager)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/build.py\", line 3475, in process_stale_scc\n meta_tuples[id] = graph[id].write_cache()\n ~~~~~~~~~~~~~~~~~~~~~^^\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/build.py\", line 2493, in write_cache\n data = Buffer()\n File \"/tmp/mypy_primer/mypy_old/venv/lib/python3.13/site-packages/mypy/cache.py\", line 28, in __init__\n raise NotImplementedError\nNotImplementedError\nError serializing zipimport\n```\n\n","author":{"url":"https://github.com/brianschubert","@type":"Person","name":"brianschubert"},"datePublished":"2025-09-13T22:39:35Z","url":"https://github.com/python/mypy/issues/19844"}
| 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:fb15fc37-00cf-c67e-ca78-356afa397ee9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9328:1F52F6:25E23E:334E93:6B00240D |
| html-safe-nonce | 08ae8e37cecebbb1e1a06cf57eaed4de83e7168799abba0eaef7115addc96f33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzI4OjFGNTJGNjoyNUUyM0U6MzM0RTkzOjZCMDAyNDBEIiwidmlzaXRvcl9pZCI6IjY5MDM0MjA3NDQ3Njg2OTMyNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9051c09b7111dcaa6365061a7891dfd073df01dbd13d43982b122f34a6399171 |
| hovercard-subject-tag | issue:3414235998 |
| 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/19844/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7efeb11daef6edcd92eb7c248bdc4a5f61df03caeb831ef34703fc4dbd715273/python/mypy/issues/19844 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7efeb11daef6edcd92eb7c248bdc4a5f61df03caeb831ef34703fc4dbd715273/python/mypy/issues/19844 |
| og:image:alt | Crash Report I haven't been able to reproduce this locally yet, but it seems to be occurring consistently when running mypy_primer in the CI. Examples: #19832 (comment), #19073 (comment), #19486 (c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brianschubert |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width