Skip to content

[1.8] python 3.13 in workflows (#9523) #9452

[1.8] python 3.13 in workflows (#9523)

[1.8] python 3.13 in workflows (#9523) #9452

Triggered via pull request October 12, 2024 12:55
Status Failure
Total duration 6m 49s
Artifacts

main.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
Windows / 3.13: tests\inspection\test_info.py#L351
test_info_setup_missing_mandatory_should_trigger_pep517[install_requires] assert 2 == 1 + where 2 = <function run at 0x000001C20DE374C0>.call_count
Windows / 3.13: tests\inspection\test_info.py#L351
test_info_setup_missing_mandatory_should_trigger_pep517[name] assert 2 == 1 + where 2 = <function run at 0x000001C20E09EC00>.call_count
Windows / 3.13: tests\inspection\test_info.py#L330
test_info_setup_complex_calls_script poetry.inspection.info.PackageInfoError: Unable to determine package info for path: C:\Users\runneradmin\AppData\Local\Temp\pytest-of-runneradmin\pytest-0\popen-gw0\test_info_setup_complex_calls_0\source Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpettlcbms\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-c', "import build\nimport build.env\nimport pyproject_hooks\n\nsource = 'C:/Users/runneradmin/AppData/Local/Temp/pytest-of-runneradmin/pytest-0/popen-gw0/test_info_setup_complex_calls_0/source'\ndest = 'C:/Users/RUNNER~1/AppData/Local/Temp/tmpettlcbms/dist'\n\nwith build.env.DefaultIsolatedEnv() as env:\n builder = build.ProjectBuilder.from_isolated_env(\n env, source, runner=pyproject_hooks.quiet_subprocess_runner\n )\n env.install(builder.build_system_requires)\n env.install(builder.get_requires_for_build('wheel'))\n builder.metadata_path(dest)\n"] errored with the following return code 1 Error output: Could not find platform independent libraries <prefix> Fatal Python error: Failed to import encodings module Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x0000170c (most recent call first): <no Python frame> Traceback (most recent call last): File "<string>", line 12, in <module> env.install(builder.build_system_requires) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\RUNNER~1\AppData\Local\Temp\tmpettlcbms\.venv\Lib\site-packages\build\env.py", line 143, in install _subprocess(cmd) ~~~~~~~~~~~^^^^^ File "C:\Users\RUNNER~1\AppData\Local\Temp\tmpettlcbms\.venv\Lib\site-packages\build\env.py", line 64, in _subprocess subprocess.run(cmd, check=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\hostedtoolcache\windows\Python\3.13.0\x64\Lib\subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\build-env-i8_54syx\\Scripts\\python.exe', '-Im', 'pip', 'install', '--use-pep517', '--no-warn-script-location', '-r', 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\build-reqs-92q2z20k.txt']' returned non-zero exit status 1. Fallback egg_info generation failed. Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpettlcbms\\.venv\\Scripts\\python.exe', 'setup.py', 'egg_info'] errored with the following return code 1 Output: Traceback (most recent call last): File "C:\Users\runneradmin\AppData\Local\Temp\pytest-of-runneradmin\pytest-0\popen-gw0\test_info_setup_complex_calls_0\source\setup.py", line 3, in <module> if subprocess.call(["exit-code"]) != 42: ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "C:\hostedtoolcache\windows\Python\3.13.0\x64\Lib\subprocess.py", line 395, in call with Popen(*popenargs, **kwargs) as p: ~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "C:\hostedtoolcache\windows\Python\3.13.0\x64\Lib\subprocess.py", line 1036, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pass_fds, cwd, env, ^^^^^^^^^^^^^^^^^^^ ...<5 lines>... gid, gids, uid, umask, ^^^^^^^^^^^^^^^^^^^^^^ start_new_session, process_group) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\hostedtoolcache\windows\Python\3.13.0\x64\Lib\subprocess.py", line 1548, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ # no special security ^^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... cwd, ^^^^ startupinfo) ^^^^^^^^^
Windows / 3.13: tests\inspection\test_info.py#L351
test_info_setup_missing_mandatory_should_trigger_pep517[version] assert 2 == 1 + where 2 = <function run at 0x000001C20DFD0680>.call_count
Windows / 3.13
Process completed with exit code 1.
macOS / 3.11
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721
macOS / 3.10
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721
macOS / 3.8
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721
macOS / 3.12
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721
macOS / 3.13
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721
macOS / 3.9
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721