Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 12, 2025

(cherry picked from commit 8cf4947)

Co-authored-by: Eric Snow [email protected]

@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) May 12, 2025 22:14
@ericsnowcurrently ericsnowcurrently merged commit 3467656 into python:3.14 May 12, 2025
44 checks passed
@bedevere-bot
Copy link

⚠️⚠️⚠️ 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_main
    return _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_code
    exec(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_tests
    return self._run_tests(selected, tests)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/root/buildarea/3.14.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 576, in _run_tests
    self.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_strings
    for 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_tokenizer
    yield 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_tests
    return self.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_command
    self.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_package
    self._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_source
TypeError: 'str' object is not callable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants