René's URL Explorer Experiment


Title: bpo-45629: Add a test for the "freeze" tool. by ericsnowcurrently · Pull Request #29222 · python/cpython · GitHub

Open Graph Title: bpo-45629: Add a test for the "freeze" tool. by ericsnowcurrently · Pull Request #29222 · python/cpython

X Title: bpo-45629: Add a test for the "freeze" tool. by ericsnowcurrently · Pull Request #29222 · python/cpython

Description: The "freeze" tool has been part of the repo for a long time. However, it hasn't had any tests in the test suite to guard against regressions. We add such a test here. This is especially important as there has been a lot of change recently related to frozen modules, with more to come. Note that as part of the test we build Python out-of-tree and install it in a temp dir. https://bugs.python.org/issue45629

Open Graph Description: The "freeze" tool has been part of the repo for a long time. However, it hasn't had any tests in the test suite to guard against regressions. We add such a test here. This is espec...

X Description: The "freeze" tool has been part of the repo for a long time. However, it hasn't had any tests in the test suite to guard against regressions. We add such a test here. T...

Opengraph URL: https://github.com/python/cpython/pull/29222

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a05a0f75-82fb-2803-0b17-d40c3c6dc745
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id920E:139A69:2750491:360FCB6:696ACEE0
html-safe-nonce0eaa65eb829560e0424a23187eff60cf57fa42a91287a8ae375fb67de4532a40
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjBFOjEzOUE2OToyNzUwNDkxOjM2MEZDQjY6Njk2QUNFRTAiLCJ2aXNpdG9yX2lkIjoiMjYyOTYxNjQ3MDU5NjQzOTc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace28416fcd7e452fc95315875e1c1b896ee2fa6b5dcc76ddd377092eeb40ab359
hovercard-subject-tagpull_request:765959578
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/29222/files
twitter:imagehttps://avatars.githubusercontent.com/u/1152074?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1152074?s=400&v=4
og:image:altThe "freeze" tool has been part of the repo for a long time. However, it hasn't had any tests in the test suite to guard against regressions. We add such a test here. This is espec...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29222/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29222%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fcpython%2Fpull%2F29222%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/29222/files
Reloadhttps://github.com/python/cpython/pull/29222/files
Reloadhttps://github.com/python/cpython/pull/29222/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29222/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/29222/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:freeze-tool-testshttps://github.com/ericsnowcurrently/cpython/tree/freeze-tool-tests
Conversation 5 https://github.com/python/cpython/pull/29222
Commits 25 https://github.com/python/cpython/pull/29222/commits
Checks 0 https://github.com/python/cpython/pull/29222/checks
Files changed https://github.com/python/cpython/pull/29222/files
Please reload this pagehttps://github.com/python/cpython/pull/29222/files
bpo-45629: Add a test for the "freeze" tool. https://github.com/python/cpython/pull/29222/files#top
Show all changes 25 commits https://github.com/python/cpython/pull/29222/files
a2e4494 Ignore the tests outdir. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/a2e44948e289879ef6721ee78346a9802a458e51
9675b69 Add test helpers for the "freeze" tool. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/9675b6924a0854cd78c18a7937649a470109699b
a34dca4 Add a test for the "freeze" tool. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/a34dca450d2f8f1249547828588f19327c5d9258
77f334d Create the outdir. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/77f334ddac9a8490022a499ff8ca9c952c471364
561f8e1 Build in the source tree for tests. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/561f8e1b8f46359d49bd9d141d4b462f3045c596
bd54ddd Copy the repo during tests. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/bd54ddd8bfcf2d63ed624fcb78c17f330f181eec
5d0ec9e Force the git pull. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/5d0ec9e4a396d2b0c0060a401bff3105c401f71c
b879a3c Show the commands. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/b879a3c950b600ca3e0a32d5845f1a7eba911ae2
5639939 Fix the relfile. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/56399397b172f74a9351f046c32b638f56d24331
172a259 Only print some of the run commands. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/172a259c794f7b95a436c79e43d9c9db04b6e9b7
875cbe3 Actually print the config var. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/875cbe33beb3eee308b4040bdc4bc9b089b9da97
8e4e52e Fix a kwarg. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/8e4e52e423d0e42e541ca7c45c1987eddd171593
bf95b31 Fall back to Makefile if sysconfig fails. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/bf95b315df94c280983e2ddfa30f80ec11dfe583
a8e2cf0 Do not clean up first if there is not Makefile. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/a8e2cf0f2579ac70170fd40ffd97e7889841a896
fab3dad Clean up get_config_var(). ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/fab3dad0ce07b536f65b0c8a5965379c6c2d8d5f
ef579ac Do not duplicate configure args. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/ef579acce3349e7137b4f279f2dd0137310472e4
7338d60 Clean up the copied repo first. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/7338d60cce03cd3fc73a6b238e11f6fbfddf7128
f6a8755 Hide error text in get_config_var(). ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/f6a8755336512b0de57f47ccde21e3abf827e6c2
b12477e Skip the freeze tests if the tool is missing. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/b12477eba0801b697d0aaef03feac261525d86fe
2dd674d Be explicit about the -j option. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/2dd674df4b05c116f3fa1ba57c55b082a8238ebc
cc68b86 Do not use the -C option with git. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/cc68b8643251b2cdd515eb1909df772cae796352
9b6aee8 Simplify. ericsnowcurrently Oct 26, 2021 https://github.com/python/cpython/pull/29222/commits/9b6aee843fc67834b2e7b1ba2530ef18f0229da2
4b315b0 Skip the test if running with "-u -cpu". ericsnowcurrently Oct 27, 2021 https://github.com/python/cpython/pull/29222/commits/4b315b0dd9b899574a52a09cb3057b30fb9175d2
aa56cfc Do not run the test on buildbots. ericsnowcurrently Oct 27, 2021 https://github.com/python/cpython/pull/29222/commits/aa56cfc6462a23f8f173c788412e0b64d186b2d0
4c18103 Add test.support.skip_if_buildbot(). ericsnowcurrently Oct 27, 2021 https://github.com/python/cpython/pull/29222/commits/4c1810312372515b5a51c87042c4aabd29559b99
Clear filters https://github.com/python/cpython/pull/29222/files
Please reload this pagehttps://github.com/python/cpython/pull/29222/files
Please reload this pagehttps://github.com/python/cpython/pull/29222/files
.gitignore https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
__init__.py https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
test_freeze.py https://github.com/python/cpython/pull/29222/files#diff-d7e5f8bb28843991e46a183c3d22a3fcbb9f5b8127dad09a39c3f6be5b9cb72b
freeze.py https://github.com/python/cpython/pull/29222/files#diff-222c0f02f2b4cf0b078197ae77b5852e926ba514ab858de0f0d174805a374dde
.gitignorehttps://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29222/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
Lib/test/support/__init__.pyhttps://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
View file https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/Lib/test/support/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29222/{{ revealButtonHref }}
https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L262
Lib/test/test_tools/test_freeze.pyhttps://github.com/python/cpython/pull/29222/files#diff-d7e5f8bb28843991e46a183c3d22a3fcbb9f5b8127dad09a39c3f6be5b9cb72b
View file https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/Lib/test/test_tools/test_freeze.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29222/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L262
Tools/freeze/test/freeze.pyhttps://github.com/python/cpython/pull/29222/files#diff-222c0f02f2b4cf0b078197ae77b5852e926ba514ab858de0f0d174805a374dde
View file https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/Tools/freeze/test/freeze.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/29222/{{ revealButtonHref }}
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.