René's URL Explorer Experiment


Title: Fix caching behavior of PEP561-installed namespace packages by msullivan · Pull Request #10937 · python/mypy · GitHub

Open Graph Title: Fix caching behavior of PEP561-installed namespace packages by msullivan · Pull Request #10937 · python/mypy

X Title: Fix caching behavior of PEP561-installed namespace packages by msullivan · Pull Request #10937 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Since PEP561-installed namespace packages only show up in FindModuleCache as a side-effect, the submodules need to be listed first in the dependencies for things to work. This was handled already i...

X Description: Since PEP561-installed namespace packages only show up in FindModuleCache as a side-effect, the submodules need to be listed first in the dependencies for things to work. This was handled already i...

Opengraph URL: https://github.com/python/mypy/pull/10937

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:aaa1bb26-fc09-a981-8aec-4b29c7ef25cf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AB6:3677D1:15012B7:1B730B5:6B000B3C
html-safe-noncedcb289ee63c1e9c084e6b231977d4e06cb93900496134a51cd56f283b8608724
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUI2OjM2NzdEMToxNTAxMkI3OjFCNzMwQjU6NkIwMDBCM0MiLCJ2aXNpdG9yX2lkIjoiNDgzOTY5OTEzODExMzE3ODQyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac89b15fb303440e176e56a9e11667ac9e3479086d8cd70c08d6356ad8d16f5add
hovercard-subject-tagpull_request:705115894
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/10937/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7c3e0445bd5ff8dac10c098f2e5db740993b04ce3740d9b148ab532ac3335c55/python/mypy/pull/10937
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7c3e0445bd5ff8dac10c098f2e5db740993b04ce3740d9b148ab532ac3335c55/python/mypy/pull/10937
og:image:altSince PEP561-installed namespace packages only show up in FindModuleCache as a side-effect, the submodules need to be listed first in the dependencies for things to work. This was handled already i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemsullivan
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/10937#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F10937
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F10937
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/10937
Reloadhttps://github.com/python/mypy/pull/10937
Reloadhttps://github.com/python/mypy/pull/10937
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
hauntsaninjahttps://github.com/hauntsaninja
masterhttps://github.com/python/mypy/tree/master
flip-flophttps://github.com/python/mypy/tree/flip-flop
Conversationhttps://github.com/python/mypy/pull/10937
Commits2 (2)https://github.com/python/mypy/pull/10937/commits
Checkshttps://github.com/python/mypy/pull/10937/checks
Files changedhttps://github.com/python/mypy/pull/10937/files
Fix caching behavior of PEP561-installed namespace packageshttps://github.com/python/mypy/pull/10937#top
hauntsaninjahttps://github.com/hauntsaninja
masterhttps://github.com/python/mypy/tree/master
flip-flophttps://github.com/python/mypy/tree/flip-flop
https://github.com/msullivan
msullivanhttps://github.com/msullivan
Aug 6, 2021https://github.com/python/mypy/pull/10937#issue-962303389
#9852https://github.com/python/mypy/issues/9852
Please reload this pagehttps://github.com/python/mypy/pull/10937
https://github.com/msullivan
msullivanhttps://github.com/msullivan
emmatypinghttps://github.com/emmatyping
hauntsaninjahttps://github.com/hauntsaninja
August 6, 2021 00:58https://github.com/python/mypy/pull/10937#event-5120380808
https://github.com/msullivan
msullivanhttps://github.com/msullivan
Aug 6, 2021https://github.com/python/mypy/pull/10937#issuecomment-893936836
Please reload this pagehttps://github.com/python/mypy/pull/10937
Please reload this pagehttps://github.com/python/mypy/pull/10937
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021 https://github.com/python/mypy/pull/10937#pullrequestreview-723911871
View reviewed changes https://github.com/python/mypy/pull/10937/files
hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/10937
https://github.com/python/mypy/pull/10937#pullrequestreview-723911871
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#9636https://github.com/python/mypy/pull/9636
Please reload this pagehttps://github.com/python/mypy/pull/10937
mypy/build.pyhttps://github.com/python/mypy/pull/10937/files#diff-ea1209369af1f6691068ac958d46d42ed5ab3a6d1529f63d891ca9cab58e3998
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021https://github.com/python/mypy/pull/10937#discussion_r683884884
Please reload this pagehttps://github.com/python/mypy/pull/10937
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10937
msullivanhttps://github.com/msullivan
Aug 6, 2021https://github.com/python/mypy/pull/10937#discussion_r684458513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10937
mypy/build.pyhttps://github.com/python/mypy/pull/10937/files#diff-ea1209369af1f6691068ac958d46d42ed5ab3a6d1529f63d891ca9cab58e3998
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021https://github.com/python/mypy/pull/10937#discussion_r683887135
Please reload this pagehttps://github.com/python/mypy/pull/10937
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1292https://github.com/python/mypy/pull/1292
Please reload this pagehttps://github.com/python/mypy/pull/10937
msullivanhttps://github.com/msullivan
Aug 6, 2021https://github.com/python/mypy/pull/10937#discussion_r684453225
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10937
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021https://github.com/python/mypy/pull/10937#issuecomment-893943608
Please reload this pagehttps://github.com/python/mypy/pull/10937
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021https://github.com/python/mypy/pull/10937#event-5120551139
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021https://github.com/python/mypy/pull/10937#event-5120551285
msullivanhttps://github.com/msullivan
August 6, 2021 12:24https://github.com/python/mypy/pull/10937#commits-pushed-09a97fa
https://github.com/msullivan
Fix caching behavior of PEP561-installed namespace packageshttps://github.com/python/mypy/pull/10937/commits/09a97fa8186de95881dd7d45b3a0f481bb907b86
09a97fahttps://github.com/python/mypy/pull/10937/commits/09a97fa8186de95881dd7d45b3a0f481bb907b86
#9852https://github.com/python/mypy/issues/9852
https://github.com/msullivan
restore the old test and sink the testhttps://github.com/python/mypy/pull/10937/commits/878e32782337e73ee1b847aca7a0004f5212b17e
878e327https://github.com/python/mypy/pull/10937/commits/878e32782337e73ee1b847aca7a0004f5212b17e
https://github.com/msullivan
msullivanhttps://github.com/msullivan
force-pushedhttps://github.com/python/mypy/compare/4269071113dc754def1dbfa14e0b9befd0c21ec1..878e32782337e73ee1b847aca7a0004f5212b17e
4269071https://github.com/python/mypy/commit/4269071113dc754def1dbfa14e0b9befd0c21ec1
878e327https://github.com/python/mypy/commit/878e32782337e73ee1b847aca7a0004f5212b17e
Compare https://github.com/python/mypy/compare/4269071113dc754def1dbfa14e0b9befd0c21ec1..878e32782337e73ee1b847aca7a0004f5212b17e
August 6, 2021 19:26https://github.com/python/mypy/pull/10937#event-5124472576
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
c90026bhttps://github.com/python/mypy/commit/c90026bd867635a4efe70cdacf0caaf00a986914
Aug 6, 2021https://github.com/python/mypy/pull/10937#event-5124587202
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
August 6, 2021 20:01https://github.com/python/mypy/pull/10937#event-5124587260
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 6, 2021https://github.com/python/mypy/pull/10937#issuecomment-894488992
Please reload this pagehttps://github.com/python/mypy/pull/10937
Importing a regular package from a namespace package seems to break intermittently #10056 https://github.com/python/mypy/issues/10056
"Intermittent" import error when checking a module that import another module which imports a 3rd party package #7276 https://github.com/python/mypy/issues/7276
type: ignore only works when deleting mypy cache #9777 https://github.com/python/mypy/issues/9777
Errors depend on the existence of .mypy_cache #10906 https://github.com/python/mypy/issues/10906
Inconsistent results with from google.cloud.secretmanager #10376 https://github.com/python/mypy/issues/10376
mypy errors every other run #10644 https://github.com/python/mypy/issues/10644
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Aug 23, 2021 https://github.com/python/mypy/pull/10937#ref-issue-976799752
dmypy crashes every 2nd run when trying to update unlreated and unchanged numpy.compat #11009 https://github.com/python/mypy/issues/11009
https://github.com/PeterJCLaw
PeterJCLawhttps://github.com/PeterJCLaw
Apr 23, 2022 https://github.com/python/mypy/pull/10937#ref-issue-1213460893
Incremental parsing issue with namespace packages #12664 https://github.com/python/mypy/issues/12664
hauntsaninjahttps://github.com/hauntsaninja
Apr 11, 2025 https://github.com/python/mypy/pull/10937#ref-commit-e0b8738
https://github.com/hauntsaninja
Fix incremental issue with namespace packageshttps://github.com/hauntsaninja/mypy/commit/e0b87384ba0d32f18b722df5fe06e44c217d332b
e0b8738https://github.com/hauntsaninja/mypy/commit/e0b87384ba0d32f18b722df5fe06e44c217d332b
python#12664https://github.com/python/mypy/issues/12664
python#13124https://github.com/python/mypy/pull/13124
python#10937https://github.com/python/mypy/pull/10937
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Apr 11, 2025 https://github.com/python/mypy/pull/10937#ref-pullrequest-2987286380
Fix incremental issue with namespace packages (option 1) #18907 https://github.com/python/mypy/pull/18907
hauntsaninjahttps://github.com/hauntsaninja
Apr 11, 2025 https://github.com/python/mypy/pull/10937#ref-commit-54975a0
https://github.com/hauntsaninja
Fix incremental issue with namespace packages (option 1) (https://github.com/python/mypy/commit/54975a008f229941c29b4df5ecd755d4f5166d71
#18907https://github.com/python/mypy/pull/18907
)https://github.com/python/mypy/commit/54975a008f229941c29b4df5ecd755d4f5166d71
54975a0https://github.com/python/mypy/commit/54975a008f229941c29b4df5ecd755d4f5166d71
#12664https://github.com/python/mypy/issues/12664
#13124https://github.com/python/mypy/pull/13124
#10937https://github.com/python/mypy/pull/10937
#18908https://github.com/python/mypy/pull/18908
#6582https://github.com/python/mypy/pull/6582
#6179https://github.com/python/mypy/pull/6179
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F10937
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/10937/files/4269071113dc754def1dbfa14e0b9befd0c21ec1
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
Please reload this pagehttps://github.com/python/mypy/pull/10937
Cache causes mypy to fail every 2nd run for module importing from aws_cdk https://github.com/python/mypy/issues/9852
Please reload this pagehttps://github.com/python/mypy/pull/10937
https://github.com/msullivan
https://github.com/hauntsaninja
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.