revert initial try #16
Annotations
10 errors
Run poetry run pytest --integration -v:
tests\installation\test_executor.py#L1290
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 0x0000022E9800EF90>('\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 IsolatedBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022E9800EF90> = '\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 UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* MARKER_OP\n \t* R_PAREN\n \t* L_PAREN\n \t* ESCAPED_STRING\n \t* BOOL_OP\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_b... value, type_ = res\n\nThe following error occurred when trying to handle this error:\n\n\n UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* ESCAPED_STRING\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \t* L_PAREN\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_by_name)\n 601│ \n 602│ value, type_ = res\n\nCannot install simple-project.\n\n'.startswith
|
Run poetry run pytest --integration -v:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files0-expected_url_reference0]
assert 0 == 1
+ where 0 = len([])
|
Run poetry run pytest --integration -v:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files1-expected_url_reference1]
assert 0 == 1
+ where 0 = len([])
|
Run poetry run pytest --integration -v:
tests\installation\test_executor.py#L1290
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 0x0000022E99820670>('\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 IsolatedBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022E99820670> = '\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 UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* MARKER_OP\n \t* R_PAREN\n \t* L_PAREN\n \t* ESCAPED_STRING\n \t* BOOL_OP\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_b... value, type_ = res\n\nThe following error occurred when trying to handle this error:\n\n\n UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* ESCAPED_STRING\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \t* L_PAREN\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_by_name)\n 601│ \n 602│ value, type_ = res\n\nCannot install simple-project.\n\n'.startswith
|
Run poetry run pytest --integration -v:
tests\installation\test_executor.py#L1290
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 0x0000022E9B3C4080>('\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 IsolatedBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022E9B3C4080> = '\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 UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* MARKER_OP\n \t* R_PAREN\n \t* L_PAREN\n \t* ESCAPED_STRING\n \t* BOOL_OP\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_b... value, type_ = res\n\nThe following error occurred when trying to handle this error:\n\n\n UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* ESCAPED_STRING\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \t* L_PAREN\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_by_name)\n 601│ \n 602│ value, type_ = res\n\nCannot install simple-project.\n\n'.startswith
|
Run poetry run pytest --integration -v:
tests\installation\test_chef.py#L165
test_prepare_directory_script
poetry.utils.isolated_build.IsolatedBuildInstallError: Failed to install scripts @ file:///C:/Users/runneradmin/AppData/Local/Temp/pytest-of-runneradmin/pytest-0/popen-gw1/test_prepare_directory_script0/scripts, setuptools.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 2 installs, 0 updates, 0 removals
- Installing scripts (0.1.0 C:/Users/runneradmin/AppData/Local/Temp/pytest-of-runneradmin/pytest-0/popen-gw1/test_prepare_directory_script0/scripts)
- Installing setuptools (67.6.1)
UnexpectedCharacters
No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* R_PAREN
* BOOL_OP
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_OP
at C:\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\lark\lexer.py:598 in next_token
594│ if not res:
595│ allowed = self.scanner.allowed_types - self.ignore_types
596│ if not allowed:
597│ allowed = {"<END-OF-FILE>"}
→ 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,
599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],
600│ state=parser_state, terminals_by_name=self.terminals_by_name)
601│
602│ value, type_ = res
The following error occurred when trying to handle this error:
UnexpectedCharacters
No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
at C:\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\lark\lexer.py:598 in next_token
594│ if not res:
595│ allowed = self.scanner.allowed_types - self.ignore_types
596│ if not allowed:
597│ allowed = {"<END-OF-FILE>"}
→ 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,
599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],
600│ state=parser_state, terminals_by_name=self.terminals_by_name)
601│
602│ value, type_ = res
Cannot install scripts.
Error:
|
Run poetry run pytest --integration -v:
tests\installation\test_chef.py#L116
test_prepare_directory_editable
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Run poetry run pytest --integration -v:
tests\installation\test_chef.py#L57
test_prepare_sdist
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Run poetry run pytest --integration -v:
tests\installation\test_executor.py#L1290
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 0x0000022E9B344070>('\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 IsolatedBuildError\n\n hide the original error\n \n original error\n')
+ where <built-in method startswith of str object at 0x0000022E9B344070> = '\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 UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* MARKER_OP\n \t* R_PAREN\n \t* L_PAREN\n \t* ESCAPED_STRING\n \t* BOOL_OP\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_b... value, type_ = res\n\nThe following error occurred when trying to handle this error:\n\n\n UnexpectedCharacters\n\n No terminal matches \'{\' in the current parser context, at line 1 col 1\n \n {\'main\': <AnyMarker>}\n ^\n Expected one of: \n \t* ESCAPED_STRING\n \t* SINGLE_QUOTED_STRING\n \t* MARKER_NAME\n \t* L_PAREN\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.8/lib/site-packages/poetry/core/_vendor\\lark\\lexer.py:598 in next_token\n 594│ if not res:\n 595│ allowed = self.scanner.allowed_types - self.ignore_types\n 596│ if not allowed:\n 597│ allowed = {"<END-OF-FILE>"}\n → 598│ raise UnexpectedCharacters(lex_state.text, line_ctr.char_pos, line_ctr.line, line_ctr.column,\n 599│ allowed=allowed, token_history=lex_state.last_token and [lex_state.last_token],\n 600│ state=parser_state, terminals_by_name=self.terminals_by_name)\n 601│ \n 602│ value, type_ = res\n\nCannot install simple-project.\n\n'.startswith
|
Run poetry run pytest --integration -v:
tests\installation\test_chef.py#L96
test_prepare_directory_with_extensions
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Loading