Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-145273: warn when we can't find the standard library#145274

Merged
FFY00 merged 12 commits intopython:mainfrom
FFY00:gh-145273
Mar 2, 2026
Merged

GH-145273: warn when we can't find the standard library#145274
FFY00 merged 12 commits intopython:mainfrom
FFY00:gh-145273

Conversation

@FFY00
Copy link
Member

@FFY00FFY00 commentedFeb 26, 2026
edited by bedevere-appbot
Loading

Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00
Copy link
MemberAuthor

The main issue with this is that we don't have a way to disable these warnings, which is resolved byGH-145277.

Signed-off-by: Filipe Laíns <lains@riseup.net>
ifnotstdlib_dirornotisdir(stdlib_dir):
hint=home_hintifhomeelsef'sys.prefix is set to{prefix}, is this correct?'
warn('WARN: Could not find the standard library directory! '+hint)
elif (notplatstdlib_dirandnotbuild_prefix)ornotisdir(platstdlib_dir):
Copy link
MemberAuthor

@FFY00FFY00Feb 26, 2026
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I fixed the tests, but unless we skip theplatstdlib_dir check when running from source, the warning will show up onmake, during thepybuilddir.txt generation.

I would prefer to drop thebuild_prefix check, and instead add-X pathconfig_warnings=0 to the-m sysconfig --generate-posix-vars call in the makefile.

Suggested change
elif(notplatstdlib_dirandnotbuild_prefix)ornotisdir(platstdlib_dir):
elifnotplatstdlib_dirornotisdir(platstdlib_dir):

Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00
Copy link
MemberAuthor

I was thinking the symlink tests were failing on Windows because thegetpath implementation ofisdir/isfile didn't follow the link, but looking at theGetFileAttributesW documentation, it says it does follow symlinks.

This means the tests were failing because the symlink target did not exist, but intest_platform,PlatformTest.test_architecture_via_symlink for eg. I cannot see how that's possible? It usestest.support.PythonSymlink, which checks for it.

ifos.path.lexists(self.real)andnotos.path.exists(self.real):
# App symlink appears to not exist, but we want the
# real executable here anyway
self.real=_winapi.GetModuleFileName(0)

This reverts commit3a67467.Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00
Copy link
MemberAuthor

Ah,test.support.PythonSymlink is not settingPYTHONHOME correctly. It sets it based on the executable, and it knows this is incorrect on source builds, so it setsPYTHONPATH as a workaround.

self._env["PYTHONHOME"]=os.path.dirname(self.real)
ifsysconfig.is_python_build():
self._env["PYTHONPATH"]=STDLIB_DIR

I am not familiar with the build on Windows, but looking atgetpath I see that on source builds it set the prefix toVPATH.

@FFY00
Copy link
MemberAuthor

It's weird that it needs to setPYTHONHOME though. Didgetpath perhaps not resolve the executable symlink in the past?

Anyway, the CI is still finishing, buttest_platform has passed, so I guess it is fixed. That's enough debugging through CI for the day 😅

Signed-off-by: Filipe Laíns <lains@riseup.net>
amber278872659683-crypto

This comment was marked as spam.

Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00
Copy link
MemberAuthor

The tests look good now.

@FFY00FFY00enabled auto-merge (squash)March 2, 2026 18:36
@FFY00
Copy link
MemberAuthor

I'll remove thebuild_prefix check afterGH-145277 is merged.

@FFY00FFY00 merged commit3ab39d2 intopython:mainMar 2, 2026
47 checks passed
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotx86 Debian Installed with X 3.x (no tier) has failed when building commit3ab39d2.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1244/builds/7583) and take a look at the build logs.
  4. Check if the failure is related to this commit (3ab39d2) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1244/builds/7583

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/datetimetester.py"�[0m, line �[35m7475�[0m, in �[35mtest_concurrent_initialization_subinterpreter�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b"")�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[1315 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2394�[0m, in �[35mtest_multi_init_extension_compat�[0m    �[31mself.check_compatible_fresh�[0m�[1;31m(module, strict=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2313�[0m, in �[35mcheck_compatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/support/__init__.py"�[0m, line �[35m3049�[0m, in �[35mwrapper�[0mreturn func(*args,**kwargs)  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_api.py"�[0m, line �[35m938�[0m, in �[35mtest_display_preserved_exception�[0m    �[31mself.assertEqual�[0m�[1;31m(stderr, dedent(f"""\�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31mTraceback (most recent call last):�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m...<18 lines>...        �[1;31mRuntimeError: uh-oh!�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31m"""))�[0m        �[1;31m^^^^^�[0m�[1;35mAssertionError�[0m:�[35m'WARN: Could not find the platform standar[939 chars]h!\n' != 'Traceback (most recent call last):\n  Fil[769 chars]h!\n'- WARN: Could not find the platform standard library directory! sys.exec_prefix is set to /buildbot/buildarea/3.x.ware-debian-x86.installed/build/target, is this correct?  Traceback (most recent call last):    File"/tmp/test_python_59d_k399/tmp9_m98wlo/script.py", line10,in<module>      interp.exec(script)~~~~~~~~~~~^^^^^^^^    File"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/concurrent/interpreters/__init__.py", line217,inexecraise ExecutionFailed(excinfo)  concurrent.interpreters.ExecutionFailed: RuntimeError: uh-oh!    Uncaught in the interpreter:    Traceback (most recent call last):    File"/tmp/test_python_59d_k399/tmp9_m98wlo/script.py", line6,in script      spam.eggs()~~~~~~~~~^^    File"/tmp/test_python_59d_k399/tmp9_m98wlo/spam.py", line6,in eggs      ham()~~~^^    File"/tmp/test_python_59d_k399/tmp9_m98wlo/spam.py", line3,in hamraiseRuntimeError('uh-oh!')  RuntimeError: uh-oh!�[0mTracebackTests.test_exec_failure) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2380�[0m, in �[35mtest_single_init_extension_compat�[0m    �[31mself.check_incompatible_fresh�[0m�[1;31m(module, isolated=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2338�[0m, in �[35mcheck_incompatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2466�[0m, in �[35mtest_python_compat�[0m    �[31mself.check_compatible_fresh�[0m�[1;31m(module, strict=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2313�[0m, in �[35mcheck_compatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_lifecycle.py"�[0m, line �[35m29�[0m, in �[35msubTest�[0myield ctx  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_lifecycle.py"�[0m, line �[35m158�[0m, in �[35mtest_sys_path_0�[0m    out=self.run_python(argv,cwd=cwd)  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_lifecycle.py"�[0m, line �[35m109�[0m, in �[35mrun_python�[0massert �[1;31mproc.stderr==''or proc.returncode!=0�[0m, proc.stderr           �[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mWARN: Could not find the platform standard library directory! sys.exec_prefix is set to /buildbot/buildarea/3.x.ware-debian-x86.installed/build/target, is this correct?�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/support/__init__.py"�[0m, line �[35m3049�[0m, in �[35mwrapper�[0mreturn func(*args,**kwargs)  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_api.py"�[0m, line �[35m938�[0m, in �[35mtest_display_preserved_exception�[0m    �[31mself.assertEqual�[0m�[1;31m(stderr, dedent(f"""\�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31mTraceback (most recent call last):�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m...<18 lines>...        �[1;31mRuntimeError: uh-oh!�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31m"""))�[0m        �[1;31m^^^^^�[0m�[1;35mAssertionError�[0m:�[35m'WARN: Could not find the platform standar[939 chars]h!\n' != 'Traceback (most recent call last):\n  Fil[769 chars]h!\n'- WARN: Could not find the platform standard library directory! sys.exec_prefix is set to /buildbot/buildarea/3.x.ware-debian-x86.installed/build/target, is this correct?  Traceback (most recent call last):    File"/tmp/test_python_ykrmgwg9/tmpw67f80o1/script.py", line10,in<module>      interp.exec(script)~~~~~~~~~~~^^^^^^^^    File"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/concurrent/interpreters/__init__.py", line217,inexecraise ExecutionFailed(excinfo)  concurrent.interpreters.ExecutionFailed: RuntimeError: uh-oh!    Uncaught in the interpreter:    Traceback (most recent call last):    File"/tmp/test_python_ykrmgwg9/tmpw67f80o1/script.py", line6,in script      spam.eggs()~~~~~~~~~^^    File"/tmp/test_python_ykrmgwg9/tmpw67f80o1/spam.py", line6,in eggs      ham()~~~^^    File"/tmp/test_python_ykrmgwg9/tmpw67f80o1/spam.py", line3,in hamraiseRuntimeError('uh-oh!')  RuntimeError: uh-oh!�[0mTracebackTests.test_broken_submodule) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2510�[0m, in �[35mtest_isolated_config�[0m    �[31mself.check_compatible_fresh�[0m�[1;31m(module, strict=True, isolated=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2313�[0m, in �[35mcheck_compatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTracebackTests.test_broken_parent) ... �[32mok�[0mTracebackTests.test_broken_parent_from) ... �[32mok�[0mTracebackTests.test_nonexistent_module_nested) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2378�[0m, in �[35mtest_single_init_extension_compat�[0m    �[31mself.check_incompatible_fresh�[0m�[1;31m(module)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2338�[0m, in �[35mcheck_incompatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTracebackTests.test_syntax_error) ... �[32mok�[0mTracebackTests.test_exec_failure_nested) ... �[32mok�[0mTracebackTests.test_broken_from) ... �[32mok�[0mTracebackTests.test_unencodable_filename) ... �[32mok�[0mTracebackTests.test_import_bug) ... �[32mok�[0mTracebackTests.test_nonexistent_module) ... �[32mok�[0m

FFY00 added a commit to FFY00/cpython that referenced this pull requestMar 2, 2026
Signed-off-by: Filipe Laíns <lains@riseup.net>
@FFY00
Copy link
MemberAuthor

I was able to reproduce the buildbot failure locally. I'm working on a fix.

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotx86 Debian Installed with X 3.x (no tier) has failed when building commit3ab39d2.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1244/builds/7584) and take a look at the build logs.
  4. Check if the failure is related to this commit (3ab39d2) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1244/builds/7584

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/datetimetester.py"�[0m, line �[35m7475�[0m, in �[35mtest_concurrent_initialization_subinterpreter�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b"")�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[1315 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2394�[0m, in �[35mtest_multi_init_extension_compat�[0m    �[31mself.check_compatible_fresh�[0m�[1;31m(module, strict=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2313�[0m, in �[35mcheck_compatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTracebackTests.test_exec_failure) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2380�[0m, in �[35mtest_single_init_extension_compat�[0m    �[31mself.check_incompatible_fresh�[0m�[1;31m(module, isolated=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2338�[0m, in �[35mcheck_incompatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2466�[0m, in �[35mtest_python_compat�[0m    �[31mself.check_compatible_fresh�[0m�[1;31m(module, strict=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2313�[0m, in �[35mcheck_compatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_lifecycle.py"�[0m, line �[35m29�[0m, in �[35msubTest�[0myield ctx  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_lifecycle.py"�[0m, line �[35m158�[0m, in �[35mtest_sys_path_0�[0m    out=self.run_python(argv,cwd=cwd)  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_lifecycle.py"�[0m, line �[35m109�[0m, in �[35mrun_python�[0massert �[1;31mproc.stderr==''or proc.returncode!=0�[0m, proc.stderr           �[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mWARN: Could not find the platform standard library directory! sys.exec_prefix is set to /buildbot/buildarea/3.x.ware-debian-x86.installed/build/target, is this correct?�[0mTracebackTests.test_broken_submodule) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2510�[0m, in �[35mtest_isolated_config�[0m    �[31mself.check_compatible_fresh�[0m�[1;31m(module, strict=True, isolated=True)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2313�[0m, in �[35mcheck_compatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTracebackTests.test_broken_parent) ... �[32mok�[0mTracebackTests.test_broken_parent_from) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/support/__init__.py"�[0m, line �[35m3049�[0m, in �[35mwrapper�[0mreturn func(*args,**kwargs)  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_api.py"�[0m, line �[35m938�[0m, in �[35mtest_display_preserved_exception�[0m    �[31mself.assertEqual�[0m�[1;31m(stderr, dedent(f"""\�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31mTraceback (most recent call last):�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m...<18 lines>...        �[1;31mRuntimeError: uh-oh!�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31m"""))�[0m        �[1;31m^^^^^�[0m�[1;35mAssertionError�[0m:�[35m'WARN: Could not find the platform standar[939 chars]h!\n' != 'Traceback (most recent call last):\n  Fil[769 chars]h!\n'- WARN: Could not find the platform standard library directory! sys.exec_prefix is set to /buildbot/buildarea/3.x.ware-debian-x86.installed/build/target, is this correct?  Traceback (most recent call last):    File"/tmp/test_python_qv5ah4vx/tmpvisefb29/script.py", line10,in<module>      interp.exec(script)~~~~~~~~~~~^^^^^^^^    File"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/concurrent/interpreters/__init__.py", line217,inexecraise ExecutionFailed(excinfo)  concurrent.interpreters.ExecutionFailed: RuntimeError: uh-oh!    Uncaught in the interpreter:    Traceback (most recent call last):    File"/tmp/test_python_qv5ah4vx/tmpvisefb29/script.py", line6,in script      spam.eggs()~~~~~~~~~^^    File"/tmp/test_python_qv5ah4vx/tmpvisefb29/spam.py", line6,in eggs      ham()~~~^^    File"/tmp/test_python_qv5ah4vx/tmpvisefb29/spam.py", line3,in hamraiseRuntimeError('uh-oh!')  RuntimeError: uh-oh!�[0mTracebackTests.test_nonexistent_module_nested) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2378�[0m, in �[35mtest_single_init_extension_compat�[0m    �[31mself.check_incompatible_fresh�[0m�[1;31m(module)�[0m    �[31m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^�[0m  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_import/__init__.py"�[0m, line �[35m2338�[0m, in �[35mcheck_incompatible_fresh�[0m    �[31mself.assertEqual�[0m�[1;31m(err,b'')�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^�[0m�[1;35mAssertionError�[0m:�[35mb'WARN: Could not find the platform standar[125 chars]t?\n' != b''�[0mTracebackTests.test_syntax_error) ... �[32mok�[0mTracebackTests.test_exec_failure_nested) ... �[32mok�[0mTracebackTests.test_broken_from) ... �[32mok�[0mTracebackTests.test_unencodable_filename) ... �[32mok�[0mTracebackTests.test_import_bug) ... �[32mok�[0mTracebackTests.test_nonexistent_module) ... �[32mok�[0mTraceback (most recent call last):  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/support/__init__.py"�[0m, line �[35m3049�[0m, in �[35mwrapper�[0mreturn func(*args,**kwargs)  File �[35m"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/test/test_interpreters/test_api.py"�[0m, line �[35m938�[0m, in �[35mtest_display_preserved_exception�[0m    �[31mself.assertEqual�[0m�[1;31m(stderr, dedent(f"""\�[0m    �[31m~~~~~~~~~~~~~~~~�[0m�[1;31m^^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31mTraceback (most recent call last):�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m...<18 lines>...        �[1;31mRuntimeError: uh-oh!�[0m        �[1;31m^^^^^^^^^^^^^^^^^^^^�[0m        �[1;31m"""))�[0m        �[1;31m^^^^^�[0m�[1;35mAssertionError�[0m:�[35m'WARN: Could not find the platform standar[939 chars]h!\n' != 'Traceback (most recent call last):\n  Fil[769 chars]h!\n'- WARN: Could not find the platform standard library directory! sys.exec_prefix is set to /buildbot/buildarea/3.x.ware-debian-x86.installed/build/target, is this correct?  Traceback (most recent call last):    File"/tmp/test_python_ckbktvie/tmp8u5u3u2d/script.py", line10,in<module>      interp.exec(script)~~~~~~~~~~~^^^^^^^^    File"/buildbot/buildarea/3.x.ware-debian-x86.installed/build/target/lib/python3.15/concurrent/interpreters/__init__.py", line217,inexecraise ExecutionFailed(excinfo)  concurrent.interpreters.ExecutionFailed: RuntimeError: uh-oh!    Uncaught in the interpreter:    Traceback (most recent call last):    File"/tmp/test_python_ckbktvie/tmp8u5u3u2d/script.py", line6,in script      spam.eggs()~~~~~~~~~^^    File"/tmp/test_python_ckbktvie/tmp8u5u3u2d/spam.py", line6,in eggs      ham()~~~^^    File"/tmp/test_python_ckbktvie/tmp8u5u3u2d/spam.py", line3,in hamraiseRuntimeError('uh-oh!')  RuntimeError: uh-oh!�[0m

@FFY00
Copy link
MemberAuthor

GH-145442 should fix the buildbot failure.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@amber278872659683-cryptoamber278872659683-cryptoamber278872659683-crypto left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@FFY00@bedevere-bot@amber278872659683-crypto

[8]ページ先頭

©2009-2026 Movatter.jp