Test on non-ascii working directory in CI #8
Annotations
20 errors
Windows / 3.8:
ä\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 0x000001BD738191C0>('\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 0x000001BD738191C0> = "\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\\\\tmpwby_4xnw\\\\.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_installer.py#L1173
test_installer_with_pypi_repository
assert 1 == 0
|
Windows / 3.8:
ä\tests\installation\test_executor.py#L1313
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess[True-exception0-build]
assert False
+ where False = <built-in method startswith of str object at 0x000001BD735173C0>('\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 0x000001BD735173C0> = "\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\\\\tmp6t0bv30d\\\\.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[False-exception0-build]
assert False
+ where False = <built-in method startswith of str object at 0x000001BD73518ED0>('\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 0x000001BD73518ED0> = "\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\\\\tmp9z5k021d\\\\.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[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\\\\tmpft7ck4gb\\\\.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\\\\tmpft7ck4gb\\\\.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,
|
Windows / 3.8:
ä\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 0x000001BD73513DA0>('\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 0x000001BD73513DA0> = "\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\\\\tmpwmrlckz9\\\\.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\\\\tmpc7_yzdgr\\\\.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\\\\tmpc7_yzdgr\\\\.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#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\\\\tmp_d4xfqb_\\\\.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\\\\tmp_d4xfqb_\\\\.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
|
Windows / 3.8:
ä\tests\installation\test_executor.py#L1355
test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding[None-latin-1]
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\\\\tmp18zujaih\\\\.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\\\\tmp18zujaih\\\\.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
|
Windows / 3.8:
ä\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_chef.py#L137
test_prepare_directory_with_extensions
poetry.installation.chef.ChefInstallError: Failed to install poetry-core>=1.5.0, setuptools>=67.6.1.
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\\tmpy3pd6t0r\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .__exit__ does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpy3pd6t0r\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see https://peps.python.org/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 setuptools.
CalledProcessError
Command '['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpy3pd6t0r\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .__exit__ does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpy3pd6t0r\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see https://peps.python.org/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_f
|
Windows / 3.12:
ä\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\\tmpdnoul3a0\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .__exit__ does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpdnoul3a0\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see https://peps.python.org/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.12:
ä\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\\tmplmqva_3f\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .__exit__ does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmplmqva_3f\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see https://peps.python.org/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.12:
ä\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\\tmpt9j3eael\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .__exit__ does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpt9j3eael\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see https://peps.python.org/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.12:
ä\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\\tmpjw3wogqa\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-']' returned non-zero exit status 1.
at C:\hostedtoolcache\windows\Python\3.12.0\x64\Lib\subprocess.py:571 in run
567│ # We don't call process.wait() as .__exit__ does that for us.
568│ raise
569│ retcode = process.poll()
570│ if check and retcode:
→ 571│ raise CalledProcessError(retcode, process.args,
572│ output=stdout, stderr=stderr)
573│ return CompletedProcess(process.args, retcode, stdout, stderr)
574│
575│
The following error occurred when trying to handle this error:
EnvCommandError
Command ['C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpjw3wogqa\\.venv\\Scripts\\python.exe', '-I', '-W', 'ignore', '-'] errored with the following return code 1
Error output:
SyntaxError: Non-UTF-8 code starting with '\xe4' in file <stdin> on line 9, but no encoding declared; see https://peps.python.org/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.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\\\\tmpfut1f9j8\\\\.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\\\\tmpfut1f9j8\\\\.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-get_requires_for_build]
assert False
+ where False = <built-in method startswith of str object at 0x00000221A9858030>('\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 0x00000221A9858030> = "\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\\\\tmpqd55awos\\\\.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 0x00000221A9858030>('\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 0x00000221A9858030> = "\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\\\\tmpqgylymj6\\\\.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-exception1-build]
assert False
+ where False = <built-in method startswith of str object at 0x00000221A9793020>('\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 0x00000221A9793020> = "\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\\\\tmptqnptf10\\\\.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-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\\\\tmp4glorquu\\\\.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\\\\tmp4glorquu\\\\.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
|