René's URL Explorer Experiment


Title: `test_embed.test_init_pyvenv_cfg()` fails · Issue #128690 · python/cpython · GitHub

Open Graph Title: `test_embed.test_init_pyvenv_cfg()` fails · Issue #128690 · python/cpython

X Title: `test_embed.test_init_pyvenv_cfg()` fails · Issue #128690 · python/cpython

Description: Bug report Bug description: Trying to build Python from main branch and running tests on MacOS 15.2 fails on test_embed.test_init_pyvenv_cfg. ./configure && make -j && ./python.exe -m test test_embed FAIL: test_init_pyvenv_cfg (test.test...

Open Graph Description: Bug report Bug description: Trying to build Python from main branch and running tests on MacOS 15.2 fails on test_embed.test_init_pyvenv_cfg. ./configure && make -j && ./python.exe -m test test_emb...

X Description: Bug report Bug description: Trying to build Python from main branch and running tests on MacOS 15.2 fails on test_embed.test_init_pyvenv_cfg. ./configure && make -j && ./python.exe ...

Opengraph URL: https://github.com/python/cpython/issues/128690

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_embed.test_init_pyvenv_cfg()` fails","articleBody":"# Bug report\n\n### Bug description:\n\nTrying to build Python from main branch and running tests on MacOS 15.2 fails on `test_embed.test_init_pyvenv_cfg`.\n\n```bash\n./configure \u0026\u0026 make -j \u0026\u0026 ./python.exe -m test test_embed\n```\n\n```bash\nFAIL: test_init_pyvenv_cfg (test.test_embed.InitConfigTests.test_init_pyvenv_cfg)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/Users/yyanchii/Desktop/cpython/Lib/test/test_embed.py\", line 1671, in test_init_pyvenv_cfg\n    self.check_all_configs(\"test_init_compat_config\", config,\n    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                           api=API_COMPAT, env=env,\n                           ^^^^^^^^^^^^^^^^^^^^^^^^\n                           ignore_stderr=True, cwd=tmpdir)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/yyanchii/Desktop/cpython/Lib/test/test_embed.py\", line 939, in check_all_configs\n    self.check_config(configs, expected_config)\n    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/yyanchii/Desktop/cpython/Lib/test/test_embed.py\", line 865, in check_config\n    self.assertEqual(config, expected)\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\nAssertionError: {'argv': [''], 'base_exec_prefix': '/usr/lo[2028 chars]None} != {'_config_init': 1, 'isolated': False, 'use[2128 chars]alse}\n  {'_config_init': 1,\n   '_init_main': True,\n   '_install_importlib': True,\n   'argv': [''],\n-  'base_exec_prefix': '/usr/local',\n+  'base_exec_prefix': '/var/folders/z9/tt4sxxm159zbh6xlm2mhrg4r0000gp/T/tmp_o9bmpp_',\n   'base_executable': '/var/folders/z9/tt4sxxm159zbh6xlm2mhrg4r0000gp/T/tmp_o9bmpp_/_testembed',\n   'base_prefix': '/usr/local',\n   'buffered_stdio': True,\n   'bytes_warning': 0,\n   'check_hash_pycs_mode': 'default',\n   'code_debug_ranges': True,\n   'configure_c_stdio': False,\n   'cpu_count': -1,\n   'dev_mode': False,\n   'dump_refs': False,\n   'dump_refs_file': None,\n   'exec_prefix': '/private/var/folders/z9/tt4sxxm159zbh6xlm2mhrg4r0000gp/T/tmp_7n79vly',\n   'executable': '/private/var/folders/z9/tt4sxxm159zbh6xlm2mhrg4r0000gp/T/tmp_7n79vly/_testembed',\n   'faulthandler': False,\n   'hash_seed': 0,\n   'home': None,\n   'import_time': False,\n   'inspect': False,\n   'install_signal_handlers': True,\n   'int_max_str_digits': 4300,\n   'interactive': False,\n   'isolated': False,\n   'malloc_stats': False,\n   'module_search_paths': ['/usr/local/lib/python314.zip',\n                           '/Users/yyanchii/Desktop/cpython/Lib',\n                           '/Users/yyanchii/Desktop/cpython/build/lib.macosx-15.2-arm64-3.14',\n                           '/usr/local/lib/python314.zip',\n                           '/usr/local/lib/python3.14',\n-                          '/usr/local/lib/python3.14/lib-dynload'],\n+                          '/var/folders/z9/tt4sxxm159zbh6xlm2mhrg4r0000gp/T/tmp_o9bmpp_/lib/python3.14/lib-dynload'],\n   'module_search_paths_set': True,\n   'optimization_level': 0,\n   'orig_argv': [],\n   'parse_argv': False,\n   'parser_debug': False,\n   'pathconfig_warnings': True,\n   'perf_profiling': 0,\n   'platlibdir': 'lib',\n   'prefix': '/private/var/folders/z9/tt4sxxm159zbh6xlm2mhrg4r0000gp/T/tmp_7n79vly',\n   'program_name': './_testembed',\n   'pycache_prefix': None,\n   'pythonpath_env': '/usr/local/lib/python314.zip:/Users/yyanchii/Desktop/cpython/Lib:/Users/yyanchii/Desktop/cpython/build/lib.macosx-15.2-arm64-3.14',\n   'quiet': False,\n   'run_command': None,\n   'run_filename': None,\n   'run_module': None,\n   'run_presite': None,\n   'safe_path': False,\n   'show_ref_count': False,\n   'site_import': True,\n   'skip_source_first_line': False,\n   'sys_path_0': None,\n   'tracemalloc': 0,\n   'use_environment': True,\n   'use_frozen_modules': False,\n   'use_hash_seed': False,\n   'use_system_logger': False,\n   'user_site_directory': True,\n   'verbose': 0,\n   'warn_default_encoding': False,\n   'warnoptions': [],\n   'write_bytecode': True,\n   'xoptions': {}}\n\n----------------------------------------------------------------------\nRan 82 tests in 5.051s\n\nFAILED (failures=1, skipped=3)\ntest test_embed failed\ntest_embed failed (1 failure)\n\n== Tests result: FAILURE ==\n\n1 test failed:\n    test_embed\n\nTotal duration: 5.1 sec\nTotal tests: run=82 failures=1 skipped=3\nTotal test files: run=1/1 failed=1\nResult: FAILURE\n```\nAfter bisecting found out [34e840f9ddd](https://github.com/python/cpython/commit/34e840f9ddd9c04991cf004e2594c6a1e0e278d3) commit to be the reason. cc @FFY00 \n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-128724\n* gh-128771\n* gh-129137\n* gh-129377\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/WolframAlph","@type":"Person","name":"WolframAlph"},"datePublished":"2025-01-09T20:31:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/128690/cpython/issues/128690"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cfd6298e-6e5f-a3f0-7919-6816e06c3dc0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB074:CD887:2733470:35D10AC:6A4EF072
html-safe-nonce4440cca5243957574a7a4c12d95469e5dfd41df40255a34b37e05ce7d77eccba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDc0OkNEODg3OjI3MzM0NzA6MzVEMTBBQzo2QTRFRjA3MiIsInZpc2l0b3JfaWQiOiIzMjc4MjQ2MzAxNDE4ODQ0Mjc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5950617c1e3ac89ddef9ed2eedfeea0c657c53519e33cfb2e61e00889412c96f
hovercard-subject-tagissue:2778702853
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/128690/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fa57dcd724d51c3e19389829f0a5b4cafa4944774a774753fc858dee48225b63/python/cpython/issues/128690
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fa57dcd724d51c3e19389829f0a5b4cafa4944774a774753fc858dee48225b63/python/cpython/issues/128690
og:image:altBug report Bug description: Trying to build Python from main branch and running tests on MacOS 15.2 fails on test_embed.test_init_pyvenv_cfg. ./configure && make -j && ./python.exe -m test test_emb...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameWolframAlph
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release00d04d6b867d2f16ab50bebae8ccc56e07c8988b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/128690#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F128690
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2Fissues%2F128690
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/128690
Reloadhttps://github.com/python/cpython/issues/128690
Reloadhttps://github.com/python/cpython/issues/128690
Please reload this pagehttps://github.com/python/cpython/issues/128690
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/128690
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
test_embed.test_init_pyvenv_cfg() failshttps://github.com/python/cpython/issues/128690#top
deferred-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22deferred-blocker%22
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/WolframAlph
WolframAlphhttps://github.com/WolframAlph
on Jan 9, 2025https://github.com/python/cpython/issues/128690#issue-2778702853
34e840f9dddhttps://github.com/python/cpython/commit/34e840f9ddd9c04991cf004e2594c6a1e0e278d3
@FFY00https://github.com/FFY00
GH-128690: skip test_init_pyvenv_cfg on shared builds #128724https://github.com/python/cpython/pull/128724
gh-128690: temporarily do not use test_embed in PGO profile builds #128771https://github.com/python/cpython/pull/128771
gh-128690: Update test_embed for getpath.py exec_prefix change #129137https://github.com/python/cpython/pull/129137
gh-128690: Use test_embed in PGO profile builds again #129377https://github.com/python/cpython/pull/129377
deferred-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22deferred-blocker%22
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
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.