Title: mypy errors every other run · Issue #10644 · python/mypy · GitHub
Open Graph Title: mypy errors every other run · Issue #10644 · python/mypy
X Title: mypy errors every other run · Issue #10644 · python/mypy
Description: Started getting this when upgrading from 0.812 to 0.902. This is using Poetry and namespace_packages set to True. Otherwise, a pretty minimal mypy.ini. python % poetry run mypy --strict ~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUi...
Open Graph Description: Started getting this when upgrading from 0.812 to 0.902. This is using Poetry and namespace_packages set to True. Otherwise, a pretty minimal mypy.ini. python % poetry run mypy --strict ~/Library/C...
X Description: Started getting this when upgrading from 0.812 to 0.902. This is using Poetry and namespace_packages set to True. Otherwise, a pretty minimal mypy.ini. python % poetry run mypy --strict ~/Library/C...
Opengraph URL: https://github.com/python/mypy/issues/10644
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy errors every other run","articleBody":"Started getting this when upgrading from `0.812` to `0.902`.\r\n\r\nThis is using Poetry and namespace_packages set to True. Otherwise, a pretty minimal mypy.ini.\r\n\r\n```\r\npython % poetry run mypy --strict\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: error: Library stubs not installed for \"backports\" (or incompatible with Python 3.8)\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: note: Hint: \"python3 -m pip install types-backports\"\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: note: (or run \"mypy --install-types\" to install all missing stub packages)\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports\r\nFound 1 error in 1 file (checked 88 source files)\r\npython % poetry run mypy --strict\r\nSuccess: no issues found in 88 source files\r\npython % poetry run mypy --strict\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: error: Library stubs not installed for \"backports\" (or incompatible with Python 3.8)\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: note: Hint: \"python3 -m pip install types-backports\"\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: note: (or run \"mypy --install-types\" to install all missing stub packages)\r\n~/Library/Caches/pypoetry/virtualenvs/hos-dev-C-FUiXg3-py3.8/lib/python3.8/site-packages/google/fhir/_primitive_time_utils.py:34: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports\r\nFound 1 error in 1 file (checked 88 source files)\r\npython % poetry run mypy --strict\r\nSuccess: no issues found in 88 source files\r\n```\r\n\r\nYou can see how every other run it picks up that error. Very weird, not sure what to make of it.","author":{"url":"https://github.com/gitpushdashf","@type":"Person","name":"gitpushdashf"},"datePublished":"2021-06-14T19:00:24Z","url":"https://github.com/python/mypy/issues/10644"}
| 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:91974f57-0111-4e7a-271f-8393671d0bd3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D062:1008AA:7D3BC:A9DC1:6B001902 |
| html-safe-nonce | abff2122906dff9a7931d360dadb93d60a2bd5892a1562b167c6b86200e6880d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDYyOjEwMDhBQTo3RDNCQzpBOURDMTo2QjAwMTkwMiIsInZpc2l0b3JfaWQiOiI4MDg5Mjg3MTk0NDI4MTExMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5717bdc7f39ed527a9cebdb14ea5ddf87d8812202a896b39a86ce5724b5bf967 |
| hovercard-subject-tag | issue:920691110 |
| 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/10644/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f93540f495158b4294da6b17a4ac7da096650b2e3acabc3564e54e6e4b73b89/python/mypy/issues/10644 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f93540f495158b4294da6b17a4ac7da096650b2e3acabc3564e54e6e4b73b89/python/mypy/issues/10644 |
| og:image:alt | Started getting this when upgrading from 0.812 to 0.902. This is using Poetry and namespace_packages set to True. Otherwise, a pretty minimal mypy.ini. python % poetry run mypy --strict ~/Library/C... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gitpushdashf |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width