[1.8] python 3.13 in workflows (#9523) #9450
Annotations
5 errors
Run pytest:
tests\inspection\test_info.py#L351
test_info_setup_missing_mandatory_should_trigger_pep517[name]
assert 2 == 1
+ where 2 = <function run at 0x00000218C8133740>.call_count
|
Run pytest:
tests\inspection\test_info.py#L351
test_info_setup_missing_mandatory_should_trigger_pep517[version]
assert 2 == 1
+ where 2 = <function run at 0x00000218C80AC180>.call_count
|
Run pytest:
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\\tmp32rhenzr\\.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/tmp32rhenzr/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 0x00001a70 (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\tmp32rhenzr\.venv\Lib\site-packages\build\env.py", line 143, in install
_subprocess(cmd)
~~~~~~~~~~~^^^^^
File "C:\Users\RUNNER~1\AppData\Local\Temp\tmp32rhenzr\.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-7xbm2txc\\Scripts\\python.exe', '-Im', 'pip', 'install', '--use-pep517', '--no-warn-script-location', '-r', 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\build-reqs-cv21w6rp.txt']' returned non-zero exit status 1.
Fallback egg_info generation failed.
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp32rhenzr\\.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)
^^^^^^^^^
|
Run pytest:
tests\inspection\test_info.py#L351
test_info_setup_missing_mandatory_should_trigger_pep517[install_requires]
assert 2 == 1
+ where 2 = <function run at 0x00000218C812EDE0>.call_count
|
Run pytest
Process completed with exit code 1.
|
Loading