Skip to content

Merge branch 'add-encoding-to-script' into non-ascii-working-directory #14

Merge branch 'add-encoding-to-script' into non-ascii-working-directory

Merge branch 'add-encoding-to-script' into non-ascii-working-directory #14

Triggered via push October 22, 2023 08:30
Status Failure
Total duration 4m 50s
Artifacts

main.yml

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

Annotations

11 errors
Windows / 3.12
Process completed with exit code 1.
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) StopIteration 0 at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:353 in raw_decode 349│ have extraneous data at the end. 350│ 351│ """ 352│ try: → 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ The following error occurred when trying to handle this error: JSONDecodeError Expecting value: line 1 column 1 (char 0) at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ Cannot install setuptools. StopIteration 0 at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:353 in raw_decode 349│ have extraneous data at the end. 350│ 351│ """ 352│ try: → 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ The following error occurred when trying to handle this error: JSONDecodeError Expecting value: line 1 column 1 (char 0) at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ 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) StopIteration 0 at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:353 in raw_decode 349│ have extraneous data at the end. 350│ 351│ """ 352│ try: → 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ The following error occurred when trying to handle this error: JSONDecodeError Expecting value: line 1 column 1 (char 0) at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ Cannot install poetry-core. Error:
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) StopIteration 0 at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:353 in raw_decode 349│ have extraneous data at the end. 350│ 351│ """ 352│ try: → 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ The following error occurred when trying to handle this error: JSONDecodeError Expecting value: line 1 column 1 (char 0) at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ 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) StopIteration 0 at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:353 in raw_decode 349│ have extraneous data at the end. 350│ 351│ """ 352│ try: → 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ The following error occurred when trying to handle this error: JSONDecodeError Expecting value: line 1 column 1 (char 0) at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ 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) StopIteration 0 at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:353 in raw_decode 349│ have extraneous data at the end. 350│ 351│ """ 352│ try: → 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ The following error occurred when trying to handle this error: JSONDecodeError Expecting value: line 1 column 1 (char 0) at C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\json\decoder.py:355 in raw_decode 351│ """ 352│ try: 353│ obj, end = self.scan_once(s, idx) 354│ except StopIteration as err: → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None 356│ return obj, end 357│ Cannot install poetry-core. Error:
Windows / 3.8: ä\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.8: ä\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 0x000001B089F18770>('\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 0x000001B089F18770> = '\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 StopIteration\n \n 0\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:353 in raw_decode\n 349│ have extraneous data at the end.\n 350│ \n 351│ """\n 352│ try:\n → 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \n \n The following error occurred when trying to handle this error:\n \n \n JSONDecodeError\n \n Expecting value: line 1 column 1 (char 0)\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:355 in raw_decode\n 351│ """\n 352│ try:\n 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \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 0x000001B089E07230>('\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 0x000001B089E07230> = '\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 StopIteration\n \n 0\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:353 in raw_decode\n 349│ have extraneous data at the end.\n 350│ \n 351│ """\n 352│ try:\n → 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \n \n The following error occurred when trying to handle this error:\n \n \n JSONDecodeError\n \n Expecting value: line 1 column 1 (char 0)\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:355 in raw_decode\n 351│ """\n 352│ try:\n 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \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 StopIteration\n \n 0\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:353 in raw_decode\n 349│ have extraneous data at the end.\n 350│ \n 351│ """\n 352│ try:\n → 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \n \n The following error occurred when trying to handle this error:\n \n \n JSONDecodeError\n \n Expecting value: line 1 column 1 (char 0)\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:355 in raw_decode\n 351│ """\n 352│ try:\n 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \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 StopIteration\n \n 0\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:353 in raw_decode\n 349│ have extraneous data at the end.\n 350│ \n 351│ """\n 352│ try:\n → 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \n \n The following error occurred when trying to handle this error:\n \n \n JSONDecodeError\n \n Expecting value: line 1 column 1 (char 0)\n \n at C:\\hostedtoolcache\\windows\\Python\\3.8.10\\x64\\lib\\json\\decoder.py:355 in raw_decode\n 351│ """\n 352│ try:\n 353│ obj, end = self.scan_once(s, idx)\n 354│ except StopIteration as err:\n → 355│ raise JSONDecodeError("Expecting value", s, err.value) from None\n 356│ return obj, end\n 357│ \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-sy