Skip to content

[3.14] gh-132775: Add _PyFunction_GetXIData() (gh-133481) - #133955

Merged
ericsnowcurrently merged 1 commit into
python:3.14from
miss-islington:backport-8cf4947-3.14
May 12, 2025
Merged

[3.14] gh-132775: Add _PyFunction_GetXIData() (gh-133481)#133955
ericsnowcurrently merged 1 commit into
python:3.14from
miss-islington:backport-8cf4947-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented May 12, 2025

Copy link
Copy Markdown
Contributor

(cherry picked from commit 8cf4947)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

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

Hi! The buildbot AMD64 Debian root 3.14 (tier-1) has failed when building commit 3467656.

What do you need to do:

  1. Don't panic.
  2. Check the 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/1742/builds/53) and take a look at the build logs.
  4. Check if the failure is related to this commit (3467656) 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/1742/builds/53

Failed tests:

  • test_math
  • test_runpy
  • test_regrtest
  • test_statistics
  • test_decimal

Failed subtests:

  • test_coverage - test.test_regrtest.ArgsTestCase.test_coverage
  • test_run_namespace_package_in_namespace_package - test.test_runpy.RunModuleTestCase.test_run_namespace_package_in_namespace_package

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

==

Click to see traceback logs
Traceback (most recent call last):
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/runpy.py", line 198, in _run_module_as_mainreturn _run_code(code, main_globals, None,
"__main__", mod_spec)
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/runpy.py", line 88, in _run_codeexec(code, run_globals)
~~~~^^^^^^^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/__main__.py", line 2, in <module>
main(_add_python_opts=True)
~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 776, in main
Regrtest(ns, _add_python_opts=_add_python_opts).main(tests=tests)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 768, in main
exitcode =self.run_tests(selected, tests)
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 596, in run_testsreturnself._run_tests(selected, tests)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 576, in _run_testsself.finalize_tests(coverage)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 463, in finalize_tests
coverage.write_results(show_missing=True, summary=True, # type:ignore[call-arg]~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
coverdir=self.coverage_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
ignore_missing_files=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/trace.py", line 272, in write_results
lnotab = _find_executable_linenos(filename)
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/trace.py", line 387, in _find_executable_linenos
strs = _find_strings(filename, encoding)
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/trace.py", line 366, in _find_stringsfor ttype, tstr, start, end, line in tok:
^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/tokenize.py", line 583, in _generate_tokens_from_c_tokenizeryield TokenInfo._make(info)
~~~~~~~~~~~~~~~^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/collections/__init__.py", line 455, in _make
result = tuple_new(cls, iterable)
^^^^^^^^^UnboundLocalError: cannot access local variable 'cls' where it is not associated with a value
Traceback (most recent call last):
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/test_regrtest.py", line 1152, in test_coverage
output =self.run_tests("--coverage", test)
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/test_regrtest.py", line 927, in run_testsreturnself.run_python(cmdargs, **kw)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/test_regrtest.py", line 777, in run_python
proc =self.run_command(args, **kw)
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/test_regrtest.py", line 768, in run_commandself.fail(msg)
~~~~~~~~~^^^^^AssertionError: Command ['/root/buildarea/3.14.angelico-debian-amd64/build/python', '-X', 'faulthandler', '-I', '-m', 'test', '--testdir=/tmp/test_python_xvjsb_87/tmph5_hxumb', '--coverage', 'test_regrtest_coverage'] failed with exit code 1, but exit code 0 expected!
Traceback (most recent call last):
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/test_runpy.py", line 521, in test_run_namespace_package_in_namespace_packageself._check_package(depth, namespace=True, parent_namespaces=True)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/test_runpy.py", line 364, in _check_package__import__(mod_name)
~~~~~~~~~~^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 924, in _load_unlocked
File "<frozen importlib._bootstrap>", line 822, in module_from_spec
File "<frozen importlib._bootstrap>", line 801, in _init_module_attrs
File "<frozen importlib._bootstrap>", line 641, in cached
File "<frozen importlib._bootstrap_external>", line 375, in _get_cached
File "<frozen importlib._bootstrap_external>", line 274, in cache_from_sourceTypeError: 'str' object is not callable

@miss-islington
miss-islington deleted the backport-8cf4947-3.14 branch January 2, 2026 16:56
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@bedevere-bot@ericsnowcurrently