René's URL Explorer Experiment


Title: [mypyc] Enable incremental self-compilation by VaggelisD · Pull Request #21369 · python/mypy · GitHub

Open Graph Title: [mypyc] Enable incremental self-compilation by VaggelisD · Pull Request #21369 · python/mypy

X Title: [mypyc] Enable incremental self-compilation by VaggelisD · Pull Request #21369 · python/mypy

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

Open Graph Description: Six fixes on top of #21299, all required to self-compile mypy or to install a separate=True wheel via pip. mypyc/build.py: pip invokes setup.py twice when building a wheel. On the second invocati...

X Description: Six fixes on top of #21299, all required to self-compile mypy or to install a separate=True wheel via pip. mypyc/build.py: pip invokes setup.py twice when building a wheel. On the second invocati...

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

X: @github

direct link

Domain: github.com

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:b0cbaff8-d82e-0dcd-01b9-c0033034ff13
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC48C:183B23:C9EC1:116705:6A4D1C91
html-safe-noncea1f8687c086c9b097e23ee4a916d3f87fd3d3faf8cd004ec6912bcc341d69930
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDhDOjE4M0IyMzpDOUVDMToxMTY3MDU6NkE0RDFDOTEiLCJ2aXNpdG9yX2lkIjoiNDg5NDc3MjQ4MTUzNTg0MzQ3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac436fb330744899636d478b78bc86e9823d7a5814a8d3e24978ae4b7930f22c0b
hovercard-subject-tagpull_request:3602013956
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/21369/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/919ea916bfbee350536ed79abf3650ef9e0b7712a6202b79e8a62df7d24efde6/python/mypy/pull/21369
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/919ea916bfbee350536ed79abf3650ef9e0b7712a6202b79e8a62df7d24efde6/python/mypy/pull/21369
og:image:altSix fixes on top of #21299, all required to self-compile mypy or to install a separate=True wheel via pip. mypyc/build.py: pip invokes setup.py twice when building a wheel. On the second invocati...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVaggelisD
hostnamegithub.com
expected-hostnamegithub.com
Nonebcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c
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
releasefb70bd3c4b2bec429781b65419e912c66e2d5581
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/21369#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
Sign up https://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/21369
Reloadhttps://github.com/python/mypy/pull/21369
Reloadhttps://github.com/python/mypy/pull/21369
Please reload this pagehttps://github.com/python/mypy/pull/21369
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/21369
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.2k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.5k https://github.com/login?return_to=%2Fpython%2Fmypy
Code https://github.com/python/mypy
Issues 2.7k https://github.com/python/mypy/issues
Pull requests 459 https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality 0 https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
Code https://github.com/python/mypy
Issues https://github.com/python/mypy/issues
Pull requests https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
p-sawickihttps://github.com/p-sawicki
python:masterhttps://github.com/python/mypy/tree/master
VaggelisD:mypyc-separate-self-compilehttps://github.com/VaggelisD/sqlglot-mypy/tree/mypyc-separate-self-compile
Conversationhttps://github.com/python/mypy/pull/21369
Commits5 (5)https://github.com/python/mypy/pull/21369/commits
Checkshttps://github.com/python/mypy/pull/21369/checks
Files changedhttps://github.com/python/mypy/pull/21369/files
[mypyc] Enable incremental self-compilationhttps://github.com/python/mypy/pull/21369#top
p-sawickihttps://github.com/p-sawicki
python:masterhttps://github.com/python/mypy/tree/master
VaggelisD:mypyc-separate-self-compilehttps://github.com/VaggelisD/sqlglot-mypy/tree/mypyc-separate-self-compile
https://github.com/VaggelisD
VaggelisDhttps://github.com/VaggelisD
Apr 29, 2026https://github.com/python/mypy/pull/21369#issue-4350241325
#21299https://github.com/python/mypy/pull/21299
mypy issuehttps://github.com/mypyc/mypyc/issues/1068
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
https://github.com/VaggelisD
[mypyc] Make separate=True work for mypy self-compilehttps://github.com/python/mypy/pull/21369/commits/5aea6ec85bf047365eb6c233cf174d0606ea1b31
5aea6echttps://github.com/python/mypy/pull/21369/commits/5aea6ec85bf047365eb6c233cf174d0606ea1b31
python#21299https://github.com/python/mypy/pull/21299
https://github.com/VaggelisD
VaggelisDhttps://github.com/VaggelisD
force-pushedhttps://github.com/python/mypy/compare/22d53516129952332d1e43294b0b4603bd77eaa3..5aea6ec85bf047365eb6c233cf174d0606ea1b31
22d5351https://github.com/python/mypy/commit/22d53516129952332d1e43294b0b4603bd77eaa3
5aea6echttps://github.com/python/mypy/commit/5aea6ec85bf047365eb6c233cf174d0606ea1b31
Compare https://github.com/python/mypy/compare/22d53516129952332d1e43294b0b4603bd77eaa3..5aea6ec85bf047365eb6c233cf174d0606ea1b31
April 29, 2026 15:32https://github.com/python/mypy/pull/21369#event-24997420359
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
May 1, 2026 https://github.com/python/mypy/pull/21369#pullrequestreview-4211639216
View reviewed changes https://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31
mypyc/irbuild/prepare.pyhttps://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31#diff-9c5c6c024ba4db8c423913c59e48b338e5646569fe54c31996a3cb53bcfcd9ad
p-sawickihttps://github.com/p-sawicki
May 1, 2026https://github.com/python/mypy/pull/21369#discussion_r3173645152
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
VaggelisDhttps://github.com/VaggelisD
May 5, 2026https://github.com/python/mypy/pull/21369#discussion_r3186923724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
p-sawickihttps://github.com/p-sawicki
May 5, 2026https://github.com/python/mypy/pull/21369#discussion_r3190284825
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
mypyc/lib-rt/misc_ops.chttps://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31#diff-b4fca6b7c67e69039b9cf96207c5011012e0b2df162a00995453be5a52e256a5
Please reload this pagehttps://github.com/python/mypy/pull/21369
mypyc/lib-rt/misc_ops.chttps://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31#diff-b4fca6b7c67e69039b9cf96207c5011012e0b2df162a00995453be5a52e256a5
Please reload this pagehttps://github.com/python/mypy/pull/21369
mypyc/build.pyhttps://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31#diff-bd7b342526d73693a18b49dc614c80d5ef7affb87ffa302e67cff36772119fa2
Please reload this pagehttps://github.com/python/mypy/pull/21369
mypyc/build.pyhttps://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31#diff-bd7b342526d73693a18b49dc614c80d5ef7affb87ffa302e67cff36772119fa2
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/VaggelisD
[mypyc] Address review feedback on separate=True self-compile fixeshttps://github.com/python/mypy/pull/21369/commits/9a6b559885215f98fe82c2eccdcd5170cc214ab5
9a6b559https://github.com/python/mypy/pull/21369/commits/9a6b559885215f98fe82c2eccdcd5170cc214ab5
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
May 5, 2026 https://github.com/python/mypy/pull/21369#pullrequestreview-4230196482
View reviewed changes https://github.com/python/mypy/pull/21369/files/9a6b559885215f98fe82c2eccdcd5170cc214ab5
mypyc/irbuild/prepare.pyhttps://github.com/python/mypy/pull/21369/files/5aea6ec85bf047365eb6c233cf174d0606ea1b31#diff-9c5c6c024ba4db8c423913c59e48b338e5646569fe54c31996a3cb53bcfcd9ad
p-sawickihttps://github.com/p-sawicki
May 5, 2026https://github.com/python/mypy/pull/21369#discussion_r3190284825
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
mypyc/build.pyhttps://github.com/python/mypy/pull/21369/files/9a6b559885215f98fe82c2eccdcd5170cc214ab5#diff-bd7b342526d73693a18b49dc614c80d5ef7affb87ffa302e67cff36772119fa2
p-sawickihttps://github.com/p-sawicki
May 5, 2026https://github.com/python/mypy/pull/21369#discussion_r3190326976
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
VaggelisDhttps://github.com/VaggelisD
May 6, 2026https://github.com/python/mypy/pull/21369#discussion_r3194159086
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
p-sawickihttps://github.com/p-sawicki
May 6, 2026https://github.com/python/mypy/pull/21369#discussion_r3194731700
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
VaggelisDhttps://github.com/VaggelisD
May 6, 2026https://github.com/python/mypy/pull/21369#discussion_r3195205172
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/VaggelisD
[mypyc] Scope build_ext patch to mypyc-generated extensionshttps://github.com/python/mypy/pull/21369/commits/f9df01388e9d6ae5d9d2c4b525ac917688484142
f9df013https://github.com/python/mypy/pull/21369/commits/f9df01388e9d6ae5d9d2c4b525ac917688484142
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
https://github.com/VaggelisD
[mypyc] Delegate non-skipped work to original copy_extensions_to_sourcehttps://github.com/python/mypy/pull/21369/commits/e86f2d3f6b00b1ec59d09631e738237f25bceb72
e86f2d3https://github.com/python/mypy/pull/21369/commits/e86f2d3f6b00b1ec59d09631e738237f25bceb72
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F21369
https://github.com/VaggelisD
[mypyc] Simplify the copy_extensions_to_source patchhttps://github.com/python/mypy/pull/21369/commits/a2c896db0582f1187273f25868c9aa726c5043f9
a2c896dhttps://github.com/python/mypy/pull/21369/commits/a2c896db0582f1187273f25868c9aa726c5043f9
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 6, 2026https://github.com/python/mypy/pull/21369#issuecomment-4387471281
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/VaggelisD
VaggelisDhttps://github.com/VaggelisD
p-sawickihttps://github.com/p-sawicki
May 8, 2026 06:34https://github.com/python/mypy/pull/21369#event-25293545704
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
May 8, 2026 https://github.com/python/mypy/pull/21369#pullrequestreview-4254049442
View reviewed changes https://github.com/python/mypy/pull/21369/files/a2c896db0582f1187273f25868c9aa726c5043f9
p-sawickihttps://github.com/p-sawicki
https://github.com/python/mypy/pull/21369#pullrequestreview-4254049442
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/p-sawicki
p-sawickihttps://github.com/p-sawicki
db297c5https://github.com/python/mypy/commit/db297c5f14415ffdb8352fb3aafd34cbb4254b19
May 8, 2026https://github.com/python/mypy/pull/21369#event-25315934558
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
May 10, 2026 https://github.com/python/mypy/pull/21369#ref-issue-4412790554
2.1 release planning #21450 https://github.com/python/mypy/issues/21450
JukkaLhttps://github.com/JukkaL
May 10, 2026 https://github.com/python/mypy/pull/21369#ref-commit-2b1eb58
https://github.com/VaggelisD
https://github.com/JukkaL
[mypyc] Enable incremental self-compilation (https://github.com/python/mypy/commit/2b1eb58a250c5f1eb4ef5fb1f312ff528c5a1d4e
#21369https://github.com/python/mypy/pull/21369
)https://github.com/python/mypy/commit/2b1eb58a250c5f1eb4ef5fb1f312ff528c5a1d4e
2b1eb58https://github.com/python/mypy/commit/2b1eb58a250c5f1eb4ef5fb1f312ff528c5a1d4e
#21299https://github.com/python/mypy/pull/21299
mypyc/mypyc#1068https://github.com/mypyc/mypyc/issues/1068
https://github.com/georgesittas
georgesittashttps://github.com/georgesittas
May 20, 2026 https://github.com/python/mypy/pull/21369#ref-pullrequest-4488704880
[mypyc] Add test for incremental builtin_base class construction across groups #21524 https://github.com/python/mypy/pull/21524
p-sawickihttps://github.com/p-sawicki
May 22, 2026 https://github.com/python/mypy/pull/21369#ref-commit-e61adea
https://github.com/georgesittas
[mypyc] Add test for incremental builtin_base class construction acro…https://github.com/python/mypy/commit/e61adeaa67d0cdf4b177b835aa17a57de8e1f18e
e61adeahttps://github.com/python/mypy/commit/e61adeaa67d0cdf4b177b835aa17a57de8e1f18e
#21524https://github.com/python/mypy/pull/21524
#21369https://github.com/python/mypy/pull/21369
georgesittashttps://github.com/georgesittas
Jun 4, 2026 https://github.com/python/mypy/pull/21369#ref-commit-5a936cd
https://github.com/georgesittas
[mypyc] Add test for incremental builtin_base class construction acro…https://github.com/VaggelisD/sqlglot-mypy/commit/5a936cddaf50210d0b5187125030169cc80e6726
5a936cdhttps://github.com/VaggelisD/sqlglot-mypy/commit/5a936cddaf50210d0b5187125030169cc80e6726
python#21524https://github.com/python/mypy/pull/21524
python#21369https://github.com/python/mypy/pull/21369
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%2F21369
https://github.com/p-sawicki
p-sawicki https://github.com/p-sawicki
https://github.com/python/mypy/pull/21369/files/a2c896db0582f1187273f25868c9aa726c5043f9
Please reload this pagehttps://github.com/python/mypy/pull/21369
https://github.com/VaggelisD
https://github.com/p-sawicki
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.