revert initial try #16
Annotations
10 errors
Run poetry run pytest --integration -v:
tests\console\commands\test_add.py#L157
test_add_replace_by_constraint
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
|
Run poetry run pytest --integration -v:
tests\repositories\test_legacy_repository.py#L455
test_get_package_retrieves_packages_with_no_hashes
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Run poetry run pytest --integration -v:
tests\repositories\test_legacy_repository.py#L138
test_get_package_information_fallback_read_setup
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Run poetry run pytest --integration -v:
tests\repositories\test_legacy_repository.py#L501
test_package_partial_yank
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
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#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 0x0000016CE5C9AAB0>('\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 0x0000016CE5C9AAB0> = '\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* BOOL_OP\n \t* R_PAREN\n \t* SINGLE_QUOTED_STRING\n \t* L_PAREN\n \t* MARKER_NAME\n \t* MARKER_OP\n \t* ESCAPED_STRING\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.10/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_... 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* SINGLE_QUOTED_STRING\n \t* ESCAPED_STRING\n \t* MARKER_NAME\n \t* L_PAREN\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.10/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#L718
test_executor_should_write_pep610_url_references_for_non_wheel_files
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 0x0000016CE5C9D0D0>('\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 0x0000016CE5C9D0D0> = '\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* BOOL_OP\n \t* R_PAREN\n \t* SINGLE_QUOTED_STRING\n \t* L_PAREN\n \t* MARKER_NAME\n \t* MARKER_OP\n \t* ESCAPED_STRING\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.10/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_... 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* SINGLE_QUOTED_STRING\n \t* ESCAPED_STRING\n \t* MARKER_NAME\n \t* L_PAREN\n \n\n at C:\\Users/runneradmin/AppData/Local/pypoetry/Cache/virtualenvs/poetry-irm2WMyr-py3.10/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\packages\test_locker.py#L1090
test_locker_dumps_dependency_extras_in_correct_order
assert '# This file ...6277f8c1d8"\n' == '# This file ...6277f8c1d8"\n'
# This file is automatically @generated by Poetry 1.9.0.dev0 and should not be changed by hand.
[[package]]
name = "A"
version = "1.0.0"
description = ""
optional = false
python-versions = "*"
- marker = ""
+ marker = "{}"
? ++
groups = ["main"]
files = []
[package.extras]
b = ["first (==1.0.0)", "second (==1.0.0)", "third (==1.0.0)"]
c = ["first (==1.0.0)", "second (==1.0.0)", "third (==1.0.0)"]
[metadata]
lock-version = "2.1"
python-versions = "*"
content-hash = "115cf985d932e9bf5f540555bbdd75decbb62cac81e399375fc19f6277f8c1d8"
|
Run poetry run pytest --integration -v:
tests\packages\test_locker.py#L752
test_locking_legacy_repository_package_should_include_source_section
assert '# This file ...6277f8c1d8"\n' == '# This file ...6277f8c1d8"\n'
# This file is automatically @generated by Poetry 1.9.0.dev0 and should not be changed by hand.
[[package]]
name = "A"
version = "1.0.0"
description = ""
optional = false
python-versions = "*"
- marker = ""
+ marker = "{}"
? ++
groups = ["main"]
files = []
[package.source]
type = "legacy"
url = "https://foo.bar"
reference = "legacy"
[metadata]
lock-version = "2.1"
python-versions = "*"
content-hash = "115cf985d932e9bf5f540555bbdd75decbb62cac81e399375fc19f6277f8c1d8"
|
Loading