Test on non-ascii working directory in CI #10
Annotations
20 errors
Windows / 3.8:
ä\tests\installation\test_installer.py#L1173
test_installer_with_pypi_repository
assert 1 == 0
|
Windows / 3.8:
ä\tests\installation\test_chef.py#L137
test_prepare_directory_with_extensions
poetry.installation.chef.ChefInstallError: Failed to install setuptools>=67.6.1, poetry-core>=1.5.0.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 2 installs, 0 updates, 0 removals
• Installing poetry-core (1.5.0)
• Installing setuptools (67.6.1)
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpzwrite3e\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\subprocess.py:516 in run
512│ # We don't call process.wait() as .__exit__ does that for us.
513│ raise
514│ retcode = process.poll()
515│ if check and retcode:
→ 516│ raise CalledProcessError(retcode, process.args,
517│ output=stdout, stderr=stderr)
518│ return CompletedProcess(process.args, retcode, stdout, stderr)
519│
520│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpzwrite3e\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
File "<stdin>", line 9
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Input:
import importlib.util
import json
import sys
from pathlib import Path
spec = importlib.util.spec_from_file_location(
"packaging", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\__init__.py")
)
packaging = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = packaging
spec = importlib.util.spec_from_file_location(
"packaging.tags", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\tags.py")
)
packaging_tags = importlib.util.module_from_spec(spec)
spec.loader.exec_module(packaging_tags)
print(
json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])
)
at src\poetry\utils\env\base_env.py:366 in _run
362│ output = subprocess.check_output(
363│ cmd, stderr=stderr, env=env, text=True, **kwargs
364│ )
365│ except CalledProcessError as e:
→ 366│ raise EnvCommandError(e, input=input_)
367│
368│ return output
369│
370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install poetry-core.
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpzwrite3e\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\subprocess.py:516 in run
512│ # We don't call process.wait() as .__exit__ does that for us.
513│ raise
514│ retcode = process.poll()
515│ if check and retcode:
→ 516│ raise CalledProcessError(retcode, process.args,
517│ output=stdout, stderr=stderr)
518│ return CompletedProcess(process.args, retcode, stdout, stderr)
519│
520│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpzwrite3e\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
File "<stdin>", line 9
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Input:
import importlib.util
import json
import sys
from pathlib import Path
spec = importlib.util.spec_from_file_location(
"packaging", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\pack
|
Windows / 3.8:
ä\tests\installation\test_chef.py#L117
test_prepare_directory
poetry.installation.chef.ChefInstallError: Failed to install poetry-core>=1.1.0a7.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
• Installing poetry-core (1.5.0)
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpg6tkmtz4\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\subprocess.py:516 in run
512│ # We don't call process.wait() as .__exit__ does that for us.
513│ raise
514│ retcode = process.poll()
515│ if check and retcode:
→ 516│ raise CalledProcessError(retcode, process.args,
517│ output=stdout, stderr=stderr)
518│ return CompletedProcess(process.args, retcode, stdout, stderr)
519│
520│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpg6tkmtz4\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
File "<stdin>", line 9
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Input:
import importlib.util
import json
import sys
from pathlib import Path
spec = importlib.util.spec_from_file_location(
"packaging", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\__init__.py")
)
packaging = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = packaging
spec = importlib.util.spec_from_file_location(
"packaging.tags", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\tags.py")
)
packaging_tags = importlib.util.module_from_spec(spec)
spec.loader.exec_module(packaging_tags)
print(
json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])
)
at src\poetry\utils\env\base_env.py:366 in _run
362│ output = subprocess.check_output(
363│ cmd, stderr=stderr, env=env, text=True, **kwargs
364│ )
365│ except CalledProcessError as e:
→ 366│ raise EnvCommandError(e, input=input_)
367│
368│ return output
369│
370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install poetry-core.
Error:
|
Windows / 3.8:
ä\tests\installation\test_chef.py#L99
test_prepare_sdist
poetry.installation.chef.ChefInstallError: Failed to install poetry-core>=1.1.0rc1.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
• Installing poetry-core (1.5.0)
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpfx7_17y3\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\subprocess.py:516 in run
512│ # We don't call process.wait() as .__exit__ does that for us.
513│ raise
514│ retcode = process.poll()
515│ if check and retcode:
→ 516│ raise CalledProcessError(retcode, process.args,
517│ output=stdout, stderr=stderr)
518│ return CompletedProcess(process.args, retcode, stdout, stderr)
519│
520│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpfx7_17y3\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
File "<stdin>", line 9
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Input:
import importlib.util
import json
import sys
from pathlib import Path
spec = importlib.util.spec_from_file_location(
"packaging", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\__init__.py")
)
packaging = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = packaging
spec = importlib.util.spec_from_file_location(
"packaging.tags", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\tags.py")
)
packaging_tags = importlib.util.module_from_spec(spec)
spec.loader.exec_module(packaging_tags)
print(
json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])
)
at src\poetry\utils\env\base_env.py:366 in _run
362│ output = subprocess.check_output(
363│ cmd, stderr=stderr, env=env, text=True, **kwargs
364│ )
365│ except CalledProcessError as e:
→ 366│ raise EnvCommandError(e, input=input_)
367│
368│ return output
369│
370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install poetry-core.
Error:
|
Windows / 3.8:
ä\tests\installation\test_chef.py#L55
test_isolated_env_install_success
poetry.installation.chef.ChefInstallError: Failed to install poetry-core.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
• Installing poetry-core (1.5.0)
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp28zlqlwa\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\subprocess.py:516 in run
512│ # We don't call process.wait() as .__exit__ does that for us.
513│ raise
514│ retcode = process.poll()
515│ if check and retcode:
→ 516│ raise CalledProcessError(retcode, process.args,
517│ output=stdout, stderr=stderr)
518│ return CompletedProcess(process.args, retcode, stdout, stderr)
519│
520│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp28zlqlwa\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
File "<stdin>", line 9
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Input:
import importlib.util
import json
import sys
from pathlib import Path
spec = importlib.util.spec_from_file_location(
"packaging", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\__init__.py")
)
packaging = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = packaging
spec = importlib.util.spec_from_file_location(
"packaging.tags", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\tags.py")
)
packaging_tags = importlib.util.module_from_spec(spec)
spec.loader.exec_module(packaging_tags)
print(
json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])
)
at src\poetry\utils\env\base_env.py:366 in _run
362│ output = subprocess.check_output(
363│ cmd, stderr=stderr, env=env, text=True, **kwargs
364│ )
365│ except CalledProcessError as e:
→ 366│ raise EnvCommandError(e, input=input_)
367│
368│ return output
369│
370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install poetry-core.
Error:
|
Windows / 3.8:
ä\tests\installation\test_chef.py#L158
test_prepare_directory_editable
poetry.installation.chef.ChefInstallError: Failed to install poetry-core>=1.1.0a7.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
• Installing poetry-core (1.5.0)
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp2s4zmidx\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\subprocess.py:516 in run
512│ # We don't call process.wait() as .__exit__ does that for us.
513│ raise
514│ retcode = process.poll()
515│ if check and retcode:
→ 516│ raise CalledProcessError(retcode, process.args,
517│ output=stdout, stderr=stderr)
518│ return CompletedProcess(process.args, retcode, stdout, stderr)
519│
520│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmp2s4zmidx\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
File "<stdin>", line 9
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Input:
import importlib.util
import json
import sys
from pathlib import Path
spec = importlib.util.spec_from_file_location(
"packaging", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\__init__.py")
)
packaging = importlib.util.module_from_spec(spec)
sys.modules[spec.name] = packaging
spec = importlib.util.spec_from_file_location(
"packaging.tags", Path(r"D:\a\poetry\poetry\ä\.venv\lib\site-packages\packaging\tags.py")
)
packaging_tags = importlib.util.module_from_spec(spec)
spec.loader.exec_module(packaging_tags)
print(
json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])
)
at src\poetry\utils\env\base_env.py:366 in _run
362│ output = subprocess.check_output(
363│ cmd, stderr=stderr, env=env, text=True, **kwargs
364│ )
365│ except CalledProcessError as e:
→ 366│ raise EnvCommandError(e, input=input_)
367│
368│ return output
369│
370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install poetry-core.
Error:
|
Windows / 3.8:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[True-exception1-get_requires_for_build]
assert False
+ where False = <built-in method startswith of str object at 0x0000022CCE6EF080>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022CCE6EF080> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmppvcafa1r\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\subprocess.py:516 in run\n 512│ # We don't call process.wait() as .__exit__ does that for us.\n 513│ raise\n 514│ retcode = process.poll()\n 515│ if check and retcode:\n → 516│ raise CalledProcessError(retcode, process.args,\n 517│ output=stdout, stderr=stderr)\n 518│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 519│ \n 520│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.8:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[True-exception1-build]
assert False
+ where False = <built-in method startswith of str object at 0x0000022CCE8F06E0>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022CCE8F06E0> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmp2pfc5q3p\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\subprocess.py:516 in run\n 512│ # We don't call process.wait() as .__exit__ does that for us.\n 513│ raise\n 514│ retcode = process.poll()\n 515│ if check and retcode:\n → 516│ raise CalledProcessError(retcode, process.args,\n 517│ output=stdout, stderr=stderr)\n 518│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 519│ \n 520│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.8:
ä\tests\installation\test_executor.py#L1355
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding[Err\xf6r on stderr-latin-1]
assert (('Errör on stderr')) in "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpv9ij4z81\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\subprocess.py:516 in run\n 512│ # We don't call process.wait() as .__exit__ does that for us.\n 513│ raise\n 514│ retcode = process.poll()\n 515│ if check and retcode:\n → 516│ raise CalledProcessError(retcode, process.args,\n 517│ output=stdout, stderr=stderr)\n 518│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 519│ \n 520│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n"
+ where "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpv9ij4z81\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\subprocess.py:516 in run\n 512│ # We don't call process.wait() as .__exit__ does that for us.\n 513│ raise\n 514│ retcode = process.poll()\n 515│ if check and retcode:\n → 516│ raise CalledProcessError(retcode, process.args,\n 517│ output=stdout, stderr=stderr)\n 518│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 519│ \n 520│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, e
|
Windows / 3.8:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[False-exception1-get_requires_for_build]
assert False
+ where False = <built-in method startswith of str object at 0x0000022CCE8F21F0>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022CCE8F21F0> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpzph2ekdl\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\subprocess.py:516 in run\n 512│ # We don't call process.wait() as .__exit__ does that for us.\n 513│ raise\n 514│ retcode = process.poll()\n 515│ if check and retcode:\n → 516│ raise CalledProcessError(retcode, process.args,\n 517│ output=stdout, stderr=stderr)\n 518│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 519│ \n 520│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L858
test_executor_should_write_pep610_url_references_for_wheel_urls[False]
assert 0 == 1
+ where 0 = len([])
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1355
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding[Err\xf6r on stderr-latin-1]
assert (('Errör on stderr')) in "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpw_oqm8yv\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n"
+ where "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpw_oqm8yv\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, e
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L748
test_executor_should_write_pep610_url_references_for_non_wheel_files
assert 0 == 1
+ where 0 = len([])
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[False-exception1-get_requires_for_build]
assert False
+ where False = <built-in method startswith of str object at 0x00000202E40DC240>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x00000202E40DC240> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmp9co8jaj0\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[False-exception0-get_requires_for_build]
assert False
+ where False = <built-in method startswith of str object at 0x00000202E45236C0>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x00000202E45236C0> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmp3yyhnpqa\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[False-exception0-build]
assert False
+ where False = <built-in method startswith of str object at 0x00000202E40DC240>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x00000202E40DC240> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpvjawk1cl\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1355
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding[None-utf-8]
assert ((None or 'Errör on stdout')) in "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpkc_p88mf\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n"
+ where "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpkc_p88mf\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env,
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[True-exception0-get_requires_for_build]
assert False
+ where False = <built-in method startswith of str object at 0x00000202E3EA3060>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x00000202E3EA3060> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpq7kj8647\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1355
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding[Err\xf6r on stderr-utf-8]
assert (('Errör on stderr')) in "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpo546ewwp\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n"
+ where "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpo546ewwp\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env
|
Windows / 3.12:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[False-exception1-build]
assert False
+ where False = <built-in method startswith of str object at 0x00000202E3CA4600>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x00000202E3CA4600> = "\nPackage operations: 1 install, 0 updates, 0 removals\n\n • Installing simple-project (1.2.3 D:/a/poetry/poetry/ä/tests/fixtures/simple_project)\n\n ChefInstallError\n\n Failed to install poetry-core>=1.1.0a7.\n \n Output:\n Updating dependencies\n Resolving dependencies...\n \n Package operations: 1 install, 0 updates, 0 removals\n \n • Installing poetry-core (1.5.0)\n \n CalledProcessError\n \n Command '['C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\tmpn04sfpo5\\\\.venv\\\\Scripts\\\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.\n \n at C:\\hostedtoolcache\\windows\\Python\\3.12.0\\x64\\Lib\\subprocess.py:571 in run\n 567│ # We don't call process.wait() as .__exit__ does that for us.\n 568│ raise\n 569│ retcode = process.poll()\n 570│ if check and retcode:\n → 571│ raise CalledProcessError(retcode, process.args,\n 572│ output=stdout, stderr=stderr)\n 573│ return CompletedProcess(process.args, retcode, stdout, stderr)\n 574│ \n 575│ \n \n The following ...c.loader.exec_module(packaging_tags)\n \n print(\n json.dumps([(t.interpreter, t.abi, t.platform) for t in packaging_tags.sys_tags()])\n )\n \n \n at src\\poetry\\utils\\env\\base_env.py:366 in _run\n 362│ output = subprocess.check_output(\n 363│ cmd, stderr=stderr, env=env, text=True, **kwargs\n 364│ )\n 365│ except CalledProcessError as e:\n → 366│ raise EnvCommandError(e, input=input_)\n 367│ \n 368│ return output\n 369│ \n 370│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:\n \n Cannot install poetry-core.\n \n \n \n Error:\n \n\n at src\\poetry\\installation\\chef.py:102 in install\n 98│ InstalledRepository.load(self._env),\n 99│ )\n 100│ installer.update(True)\n 101│ if installer.run() != 0:\n → 102│ raise ChefInstallError(requirements, io.fetch_output(), io.fetch_error())\n 103│ \n 104│ \n 105│ class Chef:\n 106│ def __init__(\n\nCannot install build-system.requires for simple-project.\n\n".startswith
|