revert initial try #16
tests.yaml
on: push
Annotations
301 errors
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L140
test_export_prints_to_stdout_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L224
test_export_with_all_extras
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L140
test_export_prints_to_stdout_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev,opt-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
|
Ubuntu (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L224
test_export_with_all_extras
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L249
test_export_with_urls
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar feature_qux-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nqux==1.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L282
test_export_exports_constraints_txt_with_warnings
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main-\n]
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L140
test_export_prints_to_stdout_by_default
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev,opt-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L224
test_export_with_all_extras
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L249
test_export_with_urls
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
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
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
|
Ubuntu (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev,opt-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar feature_qux-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nqux==1.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L224
test_export_with_all_extras
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar feature_qux-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nqux==1.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.11) / pytest:
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:
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest:
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:
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest:
tests/puzzle/test_provider.py#L280
test_search_for_directory_setup_egg_info[non-canonical-name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest:
tests/puzzle/test_provider.py#L412
test_search_for_directory_setup_read_setup_with_no_dependencies
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest:
tests/puzzle/test_provider.py#L329
test_search_for_directory_setup_with_base[non-canonical-name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest:
tests/installation/test_installer.py#L1512
test_run_install_duplicate_dependencies_different_constraints
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
Ubuntu (Python 3.11) / pytest:
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:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
Ubuntu (Python 3.11) / pytest:
tests/installation/test_installer.py#L310
test_run_update_after_removing_dependencies
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.11) / pytest:
tests/installation/test_installer.py#L244
test_run_with_dependencies
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.11) / pytest:
tests/installation/test_installer.py#L875
test_run_with_python_versions
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...n': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...scription': '', 'optional': False, 'python-versions': '~2.7 || ^3.3', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '~2.7 || ^3.3', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '~2.7 || ^3.4', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '~2.7 || ^3.4',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '~2.7 || ^3.3',
+ 'version': '1.2',
+ },
+ ],
+ }
|
Ubuntu (Python 3.12) / pytest:
tests/puzzle/test_solver.py#L1236
test_solver_circular_dependency
KeyError: 'main'
|
Ubuntu (Python 3.12) / pytest:
tests/puzzle/test_solver.py#L4626
test_update_with_use_latest_vs_lock[True]
KeyError: 'main'
|
Ubuntu (Python 3.12) / pytest:
tests/puzzle/test_solver.py#L2119
test_solver_does_not_get_stuck_in_recursion_on_circular_dependency
KeyError: 'main'
|
Ubuntu (Python 3.12) / pytest:
tests/puzzle/test_solver.py#L1270
test_solver_circular_dependency_chain
KeyError: 'main'
|
Ubuntu (Python 3.12) / pytest:
tests/puzzle/test_solver.py#L4626
test_update_with_use_latest_vs_lock[False]
KeyError: 'main'
|
Ubuntu (Python 3.12) / pytest:
tests/installation/test_installer.py#L2357
test_run_with_dependencies_quiet[False]
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.12) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-True-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.12) / pytest:
tests/installation/test_installer.py#L995
test_run_with_dependencies_extras
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'dependenc...)']}, 'files': [], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'C': {'version': '^1.0', 'optional': True}}, 'extras': {'foo': ['C (>=1.0,<2.0)']}}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': {
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'foo': [
+ 'C (>=1.0,<2.0)',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ ],
+ }
|
Ubuntu (Python 3.12) / pytest:
tests/installation/test_installer.py#L1289
test_run_installs_with_local_poetry_file_transitive
assert {'metadata': ...s': [], ...}]} == {'package': [...rsions': '*'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...t': {'path': 'inner-directory-project'}}, 'description': 'This is a description', 'develop': False, 'files': [], ...}]} != {'package': <AoT [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, ...': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}]>}
Full diff:
- {'package': [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'version': '0.1.0', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}, 'source': {'type': 'file', 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl'}}, {'description': 'This is a description', 'develop': False, 'name': 'inner-directory-project', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.4', 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies/inner-directory-project'}}, {'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.4.4'}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-file-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'demo': {'path': '../../distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'inner-directory-project': {'path': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}], 'metadata': {'content-hash': '123456789', 'lock-version': '2.1', 'python-versions': '*'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'file',
+ 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'description': 'This is a description',
+ 'develop': False,
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'inner-directory-project',
+ 'optional': False,
+ 'python-versions': '*',
+ 'source': {
+ 'type': 'directory',
+ 'url': 'project_with_transitive_file_dependencies/inner-directory-project',
+ },
+ 've
|
Ubuntu (Python 3.12) / pytest:
tests/installation/test_installer.py#L1146
test_run_installs_with_local_file
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...eaaa75da31f17a'}], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'file', 'url': 'tests/fixtures/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'file',
+ 'url': 'tests/fixtures/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'pendulum',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4.4',
+ },
+ ],
+ }
|
Ubuntu (Python 3.8) / pytest:
tests/installation/test_installer.py#L1954
test_installer_required_extras_should_not_be_removed_when_updating_single_dependency_pypi_repository
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <SingleMarker extra == "filecac
^
Expected one of:
* ESCAPED_STRING
* L_PAREN
* MARKER_NAME
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.8) / pytest:
tests/installation/test_installer.py#L1477
test_run_update_with_locked_extras
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': {'optional': True, 'version': '^1.0'}, 'C': {'markers': 'python_version >= "2.7" a...ersion < "2.8">}', ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': {'version': '^1.0', 'optional': True}, 'C': {'version': '^1.0', 'markers': 'python_version >= "2.7" and python_version < "2.8"'}}, 'extras': {'foo': ['B']}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8"', 'groups': ['main'], 'files': []}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': {
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ 'C': {
+ 'markers': 'python_version >= "2.7" and python_version < "2.8"',
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'foo': [
+ 'B',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "2.7" and '
+ 'python_version < "2.8">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.8) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-True-False-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.8) / pytest:
tests/installation/test_installer.py#L1119
test_installer_with_pypi_repository
assert {'metadata': ...], ...}, ...]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': 'Classes Without Boilerplate', 'extras': {'dev': ['coverage', 'hypothesis', 'pympler', 'p...z', 'hash': 'sha256:b8fe151f3e181801dd38583a1c03818fbc662a8fce96c9063a0af624613e78f8'}], 'groups': ['dev'], ...}, ...]} != {'package': <AoT [{'name': 'attrs', 'version': '17.4.0', 'description': 'Classes Without Boilerplate', 'optional': Fal..., {'file': 'six-1.11.0.tar.gz', 'hash': 'sha256:268a4ccb159c1a2d2c79336b02e75058387b0cdbb4cea2f07846a758f48a356d'}]}]>}
Full diff:
- {'package': [{'name': 'attrs', 'version': '17.4.0', 'description': 'Classes Without Boilerplate', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'attrs-17.4.0-py2.py3-none-any.whl', 'hash': 'sha256:d38e57f381e891928357c68e300d28d3d4dcddc50486d5f8dfaf743d40477619'}, {'file': 'attrs-17.4.0.tar.gz', 'hash': 'sha256:eb7536a1e6928190b3008c5b350bdf9850d619fff212341cd096f87a27a5e564'}], 'extras': {'dev': ['coverage', 'hypothesis', 'pympler', 'pytest', 'six', 'sphinx', 'zope.interface', 'zope.interface'], 'docs': ['sphinx', 'zope.interface'], 'tests': ['coverage', 'hypothesis', 'pympler', 'pytest', 'six', 'zope.interface']}}, {'name': 'colorama', 'version': '0.3.9', 'description': 'Cross-platform colored terminal text.', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "win32"', 'groups': ['dev'], 'files': [{'file': 'colorama-0.3.9-py2.py3-none-any.whl', 'hash': 'sha256:5b632359f1ed2b7676a869812ba0edaacb99be04679b29eb56c07a5e137ab5a2'}, {'file': 'colorama-0.3.9.tar.gz', 'hash': 'sha256:4c5a15209723ce1330a5c193465fe221098f761e9640d823a2ce7c03f983137f'}]}, {'name': 'more-itertools', 'version': '4.1.0', 'description': 'More routines for operating on iterables, beyond itertools', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'more-itertools-4.1.0.tar.gz', 'hash': 'sha256:bab2dc6f4be8f9a4a72177842c5283e2dff57c167439a03e3d8d901e854f0f2e'}, {'file': 'more_itertools-4.1.0-py2-none-any.whl', 'hash': 'sha256:5dd7dfd88d2fdaea446da478ffef8d7151fdf26ee92ac7ed7b14e8d71efe4b62'}, {'file': 'more_itertools-4.1.0-py3-none-any.whl', 'hash': 'sha256:29b1e1661aaa56875ce090fa219fa84dfc13daecb52cd4fae321f6f57b419ec4'}], 'dependencies': {'six': '>=1.0.0,<2.0.0'}}, {'name': 'pluggy', 'version': '0.6.0', 'description': 'plugin and hook calling mechanisms for python', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'pluggy-0.6.0-py2-none-any.whl', 'hash': 'sha256:9b835f86bfe5498c87ace7f4899cb1b0c40e71c9277377f6851c74a307879285'}, {'file': 'pluggy-0.6.0-py3-none-any.whl', 'hash': 'sha256:8c646771f5eab7557d1f3924077c55408e86bdfb700f7d86a6d83abeabff4c66'}, {'file': 'pluggy-0.6.0.tar.gz', 'hash': 'sha256:a982e208d054867661d27c6d2a86b17ba05fbb6b1bdc01f42660732dd107f865'}]}, {'name': 'py', 'version': '1.5.3', 'description': 'library with cross-python path, ini-parsing, io, code, log facilities', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'py-1.5.3-py2.py3-none-any.whl', 'hash': 'sha256:43ee6c7f95e0ec6a906de49906b79d138d89728fff17109d49f086abc2fdd985'}, {'file': 'py-1.5.3.tar.gz', 'hash': 'sha256:2df2c513c3af11de15f58189ba5539ddc4768c6f33816dc5c03950c8bd6180fa'}]}, {'name': 'pytest', 'version': '3.5.1', 'description': 'pytest: simple powerful testing with Python', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'pytest-3.5.1-py2.py3-none-any.whl', 'hash': 'sha256:6d3e83b1c1697d220137e436980e73b3ca674f643e666d7c24b0321cb57b76a4'}, {'file': 'pytest-3.5.1.tar.gz', 'hash': 'sha256:b8fe151f3e181801dd38583a1c03818fbc662a8fce96c9063a0af624613e78f8'}], 'dependencies': {'attrs': '>=17.4.0', 'colorama': {'version': '*', 'mar
|
Ubuntu (Python 3.8) / pytest:
tests/installation/test_installer.py#L2199
test_run_installs_with_same_version_url_files[win32]
assert {'metadata': ...32">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}', ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...hon-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "win32"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "linux"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0.tar.gz', 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0.tar.gz'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}',
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'url',
+ 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0.tar.gz',
+ 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+
|
Ubuntu (Python 3.8) / pytest:
tests/installation/test_installer.py#L2357
test_run_with_dependencies_quiet[True]
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.8) / pytest:
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
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.8) / pytest:
tests/console/commands/test_lock.py#L200
test_lock_no_update_path_dependencies
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
|
Ubuntu (Python 3.8) / pytest:
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
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.8) / pytest:
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
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
Ubuntu (Python 3.10) / pytest:
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:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest:
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:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest:
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:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L2357
test_run_with_dependencies_quiet[False]
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L1477
test_run_update_with_locked_extras
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': {'optional': True, 'version': '^1.0'}, 'C': {'markers': 'python_version >= "2.7" a...ersion < "2.8">}', ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': {'version': '^1.0', 'optional': True}, 'C': {'version': '^1.0', 'markers': 'python_version >= "2.7" and python_version < "2.8"'}}, 'extras': {'foo': ['B']}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8"', 'groups': ['main'], 'files': []}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': {
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ 'C': {
+ 'markers': 'python_version >= "2.7" and python_version < "2.8"',
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'foo': [
+ 'B',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "2.7" and '
+ 'python_version < "2.8">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[True-False-False-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L959
test_run_with_optional_and_platform_restricted_dependencies
assert {'extras': {'...in">}', ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...cription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker...', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "custom"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.3', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.2'}}, {'name': 'D', 'version': '1.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['A']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'A',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "custom">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.3',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}',
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4',
+ },
+ ],
+ }
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L2231
test_installer_uses_prereleases_if_they_are_compatible
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L1205
test_run_installs_with_local_poetry_directory_and_extras
assert {'metadata': ....0)']}, ...}]} == {'package': [...rsions': '*'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'dependenc...description', 'develop': False, 'extras': {'extras-a': ['pendulum (>=1.4.4)'], 'extras-b': ['cachy (>=0.2.0)']}, ...}]} != {'package': <AoT [{'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'gr...)'], 'extras-b': ['cachy (>=0.2.0)']}, 'source': {'type': 'directory', 'url': 'tests/fixtures/project_with_extras'}}]>}
Full diff:
- {'package': [{'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.4.4'}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-extras', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'pendulum': {'version': '>=1.4.4', 'optional': True}}, 'extras': {'extras-a': ['pendulum (>=1.4.4)'], 'extras-b': ['cachy (>=0.2.0)']}, 'source': {'type': 'directory', 'url': 'tests/fixtures/project_with_extras'}}], 'metadata': {'content-hash': '123456789', 'lock-version': '2.1', 'python-versions': '*'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'pendulum',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4.4',
+ },
+ {
+ 'dependencies': {
+ 'pendulum': {
+ 'optional': True,
+ 'version': '>=1.4.4',
+ },
+ },
+ 'description': 'This is a description',
+ 'develop': False,
+ 'extras': {
+ 'extras-a': [
+ 'pendulum (>=1.4.4)',
+ ],
+ 'extras-b': [
+ 'cachy (>=0.2.0)',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'project-with-extras',
+ 'optional': False,
+ 'python-versions': '*',
+ 'source': {
+ 'type': 'directory',
+ 'url': 'tests/fixtures/project_with_extras',
+ },
+ 'version': '1.2.3',
+ },
+ ],
+ }
|
Ubuntu (Python 3.10) / pytest:
tests/installation/test_installer.py#L1244
test_run_installs_with_local_poetry_directory_and_skip_directory_flag[False]
assert {'metadata': ...s': [], ...}]} == {'package': [...rsions': '*'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...t': {'path': 'inner-directory-project'}}, 'description': 'This is a description', 'develop': False, 'files': [], ...}]} != {'package': <AoT [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, ...': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}]>}
Full diff:
- {'package': [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'version': '0.1.0', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}, 'source': {'type': 'file', 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl'}}, {'description': 'This is a description', 'develop': False, 'name': 'inner-directory-project', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.4', 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies/inner-directory-project'}}, {'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.4.4'}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-extras', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'extras': {'extras-a': ['pendulum (>=1.4.4)'], 'extras-b': ['cachy (>=0.2.0)']}, 'source': {'type': 'directory', 'url': '../project_with_extras'}}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-directory-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'project-with-extras': {'path': '../../project_with_extras'}, 'project-with-transitive-file-dependencies': {'path': '../project_with_transitive_file_dependencies'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_directory_dependencies'}}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-file-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'demo': {'path': '../../distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'inner-directory-project': {'path': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}], 'metadata': {'content-hash': '123456789', 'lock-version': '2.1', 'python-versions': '*'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L224
test_export_with_all_extras
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
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.10) / pytest:
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:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest:
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:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest:
tests/inspection/test_info.py#L364
test_info_setup_missing_mandatory_should_trigger_pep517[version]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.10) / pytest:
tests/puzzle/test_provider.py#L412
test_search_for_directory_setup_read_setup_with_no_dependencies
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.10) / pytest:
tests/inspection/test_info.py#L345
test_info_setup_complex_calls_script
poetry.utils.isolated_build.IsolatedBuildInstallError: Failed to install scripts @ file:///private/var/folders/m8/zh9fv9zn2dd56m30mrjx20t80000gn/T/pytest-of-runner/pytest-0/popen-gw0/test_info_setup_complex_calls_0/scripts, setuptools.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 2 installs, 0 updates, 0 removals
- Installing scripts (0.1.0 /private/var/folders/m8/zh9fv9zn2dd56m30mrjx20t80000gn/T/pytest-of-runner/pytest-0/popen-gw0/test_info_setup_complex_calls_0/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:
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
* BOOL_OP
* MARKER_OP
* R_PAREN
* MARKER_NAME
at ~/Library/Caches/pypoetry/virtualenvs/poetry--2IDkNy2-py3.10/lib/python3.10/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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
at ~/Library/Caches/pypoetry/virtualenvs/poetry--2IDkNy2-py3.10/lib/python3.10/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:
|
macOS (Python 3.10) / pytest:
tests/puzzle/test_provider.py#L280
test_search_for_directory_setup_egg_info[non-canonical-name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.10) / pytest:
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:
* MARKER_NAME
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* L_PAREN
|
macOS (Python 3.10) / pytest:
tests/inspection/test_info.py#L364
test_info_setup_missing_mandatory_should_trigger_pep517[name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.10) / pytest:
tests/puzzle/test_provider.py#L329
test_search_for_directory_setup_with_base[non-canonical-name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.10) / pytest:
tests/inspection/test_info.py#L319
test_info_setup_complex
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar feature_qux-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nqux==1.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev,opt-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_solver.py#L4626
test_update_with_use_latest_vs_lock[True]
KeyError: 'main'
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_solver.py#L2119
test_solver_does_not_get_stuck_in_recursion_on_circular_dependency
KeyError: 'main'
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_solver.py#L1270
test_solver_circular_dependency_chain
KeyError: 'main'
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_solver.py#L4626
test_update_with_use_latest_vs_lock[False]
KeyError: 'main'
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_solver.py#L1236
test_solver_circular_dependency
KeyError: 'main'
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_provider.py#L412
test_search_for_directory_setup_read_setup_with_no_dependencies
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest:
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 0x5652f9906170>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n - Installing simple-project (1.2.3 /home/runner/work/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 0x5652f9906170> = '\nPackage operations: 1 install, 0 updates, 0 removals\n\n - Installing simple-project (1.2.3 /home/runner/work/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_NAME\n \t* L_PAREN\n \t* SINGLE_QUOTED_STRING\n \t* R_PAREN\n \t* BOOL_OP\n \t* ESCAPED_STRING\n \t* MARKER_OP\n \n\n at ~/.cache/pypoetry/virtualenvs/poetry-a17fJEuR-py3.9/lib/python3.9/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\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* L_PAREN\n \t* MARKER_NAME\n \n\n at ~/.cache/pypoetry/virtualenvs/poetry-a17fJEuR-py3.9/lib/python3.9/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
|
Ubuntu (Python 3.9) / pytest:
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 0x5652f9a44dc0>('\nPackage operations: 1 install, 0 updates, 0 removals\n\n - Installing simple-project (1.2.3 /home/runner/work/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 0x5652f9a44dc0> = '\nPackage operations: 1 install, 0 updates, 0 removals\n\n - Installing simple-project (1.2.3 /home/runner/work/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_NAME\n \t* L_PAREN\n \t* SINGLE_QUOTED_STRING\n \t* R_PAREN\n \t* BOOL_OP\n \t* ESCAPED_STRING\n \t* MARKER_OP\n \n\n at ~/.cache/pypoetry/virtualenvs/poetry-a17fJEuR-py3.9/lib/python3.9/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\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* L_PAREN\n \t* MARKER_NAME\n \n\n at ~/.cache/pypoetry/virtualenvs/poetry-a17fJEuR-py3.9/lib/python3.9/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
|
Ubuntu (Python 3.9) / pytest:
tests/puzzle/test_provider.py#L329
test_search_for_directory_setup_with_base[non-canonical-name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
|
Ubuntu (Python 3.9) / pytest:
tests/installation/test_executor.py#L718
test_executor_should_write_pep610_url_references_for_non_wheel_files
assert 0 == 1
+ where 0 = len([])
|
macOS (Python 3.12) / pytest:
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
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L2199
test_run_installs_with_same_version_url_files[win32]
assert {'metadata': ...32">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}', ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...hon-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "win32"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "linux"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0.tar.gz', 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0.tar.gz'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}',
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'url',
+ 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0.tar.gz',
+ 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+
|
macOS (Python 3.12) / pytest:
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
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L819
test_run_whitelist_remove
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ ],
+ }
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L1954
test_installer_required_extras_should_not_be_removed_when_updating_single_dependency_pypi_repository
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <SingleMarker extra == "filecac
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L995
test_run_with_dependencies_extras
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'dependenc...)']}, 'files': [], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'C': {'version': '^1.0', 'optional': True}}, 'extras': {'foo': ['C (>=1.0,<2.0)']}}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': {
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'foo': [
+ 'C (>=1.0,<2.0)',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ ],
+ }
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L2081
test_update_multiple_times_with_split_dependencies_is_idempotent
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': '>=1.0.1', 'C': [{'markers': 'python_version >= "2.7" and python_version < "2.8"',...], 'groups': ['main'], 'marker': '{\'main\': <MultiMarker python_version >= "3.4" and python_version < "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marke...hon-versions': '*', 'marker': 'python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': '>=1.0.1', 'C': [{'version': '>=1.0,<2.0', 'markers': 'python_version >= "2.7" and python_version < "2.8"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "3.4" and python_version < "4.0"'}]}}, {'name': 'B', 'version': '1.1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '~2.7 || ^3.4', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '~2.7 || ^3.4',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': '>=1.0.1',
+ 'C': [
+ {
+ 'markers': 'python_version >= "2.7" and python_version < "2.8"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "3.4" and python_version < "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "2.7" and '
+ 'python_version < "2.8">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "3.4" and '
+ 'python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ ],
+ }
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L2357
test_run_with_dependencies_quiet[True]
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L2012
test_installer_required_extras_should_be_installed
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <SingleMarker extra == "filecac
^
Expected one of:
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
|
macOS (Python 3.12) / pytest:
tests/installation/test_installer.py#L2199
test_run_installs_with_same_version_url_files[linux]
assert {'metadata': ...32">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}', ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...hon-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "win32"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "linux"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0.tar.gz', 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0.tar.gz'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}',
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'url',
+ 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0.tar.gz',
+ 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with dev,opt-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar feature_qux-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nqux==1.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* MARKER_NAME
* L_PAREN
|
Windows (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L282
test_export_exports_constraints_txt_with_warnings
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar feature_qux-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nqux==1.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L140
test_export_prints_to_stdout_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.10) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L282
test_export_exports_constraints_txt_with_warnings
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L224
test_export_with_all_extras
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
* L_PAREN
* MARKER_NAME
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main-\n]
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
* L_PAREN
* MARKER_NAME
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
* L_PAREN
* MARKER_NAME
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
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
* L_PAREN
* MARKER_NAME
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L224
test_export_with_all_extras
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L249
test_export_with_urls
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L121
test_export_exports_requirements_txt_file_locks_if_no_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L282
test_export_exports_constraints_txt_with_warnings
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--with dev,opt-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.8) / pytest (poetry-plugin-export):
poetry-plugin-export\tests\command\test_command_export.py#L249
test_export_with_urls
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nopt==2.2.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L249
test_export_with_urls
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L128
test_export_exports_requirements_txt_uses_lock_file
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L224
test_export_with_all_extras
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L150
test_export_uses_requirements_txt_format_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
macOS (Python 3.9) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.10) / pytest:
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
|
Windows (Python 3.10) / pytest:
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
|
Windows (Python 3.10) / pytest:
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
|
Windows (Python 3.10) / pytest:
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
|
Windows (Python 3.10) / pytest:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files0-expected_url_reference0]
assert 0 == 1
+ where 0 = len([])
|
Windows (Python 3.10) / pytest:
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
|
Windows (Python 3.10) / pytest:
tests\installation\test_executor.py#L718
test_executor_should_write_pep610_url_references_for_non_wheel_files
assert 0 == 1
+ where 0 = len([])
|
Windows (Python 3.10) / pytest:
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
|
Windows (Python 3.10) / pytest:
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"
|
Windows (Python 3.10) / pytest:
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"
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L1621
test_run_install_duplicate_dependencies_different_constraints_with_lock
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L1119
test_installer_with_pypi_repository
assert {'metadata': ...], ...}, ...]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': 'Classes Without Boilerplate', 'extras': {'dev': ['coverage', 'hypothesis', 'pympler', 'p...z', 'hash': 'sha256:b8fe151f3e181801dd38583a1c03818fbc662a8fce96c9063a0af624613e78f8'}], 'groups': ['dev'], ...}, ...]} != {'package': <AoT [{'name': 'attrs', 'version': '17.4.0', 'description': 'Classes Without Boilerplate', 'optional': Fal..., {'file': 'six-1.11.0.tar.gz', 'hash': 'sha256:268a4ccb159c1a2d2c79336b02e75058387b0cdbb4cea2f07846a758f48a356d'}]}]>}
Full diff:
- {'package': [{'name': 'attrs', 'version': '17.4.0', 'description': 'Classes Without Boilerplate', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'attrs-17.4.0-py2.py3-none-any.whl', 'hash': 'sha256:d38e57f381e891928357c68e300d28d3d4dcddc50486d5f8dfaf743d40477619'}, {'file': 'attrs-17.4.0.tar.gz', 'hash': 'sha256:eb7536a1e6928190b3008c5b350bdf9850d619fff212341cd096f87a27a5e564'}], 'extras': {'dev': ['coverage', 'hypothesis', 'pympler', 'pytest', 'six', 'sphinx', 'zope.interface', 'zope.interface'], 'docs': ['sphinx', 'zope.interface'], 'tests': ['coverage', 'hypothesis', 'pympler', 'pytest', 'six', 'zope.interface']}}, {'name': 'colorama', 'version': '0.3.9', 'description': 'Cross-platform colored terminal text.', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "win32"', 'groups': ['dev'], 'files': [{'file': 'colorama-0.3.9-py2.py3-none-any.whl', 'hash': 'sha256:5b632359f1ed2b7676a869812ba0edaacb99be04679b29eb56c07a5e137ab5a2'}, {'file': 'colorama-0.3.9.tar.gz', 'hash': 'sha256:4c5a15209723ce1330a5c193465fe221098f761e9640d823a2ce7c03f983137f'}]}, {'name': 'more-itertools', 'version': '4.1.0', 'description': 'More routines for operating on iterables, beyond itertools', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'more-itertools-4.1.0.tar.gz', 'hash': 'sha256:bab2dc6f4be8f9a4a72177842c5283e2dff57c167439a03e3d8d901e854f0f2e'}, {'file': 'more_itertools-4.1.0-py2-none-any.whl', 'hash': 'sha256:5dd7dfd88d2fdaea446da478ffef8d7151fdf26ee92ac7ed7b14e8d71efe4b62'}, {'file': 'more_itertools-4.1.0-py3-none-any.whl', 'hash': 'sha256:29b1e1661aaa56875ce090fa219fa84dfc13daecb52cd4fae321f6f57b419ec4'}], 'dependencies': {'six': '>=1.0.0,<2.0.0'}}, {'name': 'pluggy', 'version': '0.6.0', 'description': 'plugin and hook calling mechanisms for python', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'pluggy-0.6.0-py2-none-any.whl', 'hash': 'sha256:9b835f86bfe5498c87ace7f4899cb1b0c40e71c9277377f6851c74a307879285'}, {'file': 'pluggy-0.6.0-py3-none-any.whl', 'hash': 'sha256:8c646771f5eab7557d1f3924077c55408e86bdfb700f7d86a6d83abeabff4c66'}, {'file': 'pluggy-0.6.0.tar.gz', 'hash': 'sha256:a982e208d054867661d27c6d2a86b17ba05fbb6b1bdc01f42660732dd107f865'}]}, {'name': 'py', 'version': '1.5.3', 'description': 'library with cross-python path, ini-parsing, io, code, log facilities', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'py-1.5.3-py2.py3-none-any.whl', 'hash': 'sha256:43ee6c7f95e0ec6a906de49906b79d138d89728fff17109d49f086abc2fdd985'}, {'file': 'py-1.5.3.tar.gz', 'hash': 'sha256:2df2c513c3af11de15f58189ba5539ddc4768c6f33816dc5c03950c8bd6180fa'}]}, {'name': 'pytest', 'version': '3.5.1', 'description': 'pytest: simple powerful testing with Python', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['dev'], 'files': [{'file': 'pytest-3.5.1-py2.py3-none-any.whl', 'hash': 'sha256:6d3e83b1c1697d220137e436980e73b3ca674f643e666d7c24b0321cb57b76a4'}, {'file': 'pytest-3.5.1.tar.gz', 'hash': 'sha256:b8fe151f3e181801dd38583a1c03818fbc662a8fce96c9063a0af624613e78f8'}], 'dependencies': {'attrs': '>=17.4.0', 'colorama': {'version': '*', 'mar
|
Windows (Python 3.11) / pytest:
tests\puzzle\test_provider.py#L280
test_search_for_directory_setup_egg_info[non-canonical-name]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
Windows (Python 3.11) / pytest:
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:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L875
test_run_with_python_versions
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...n': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...scription': '', 'optional': False, 'python-versions': '~2.7 || ^3.3', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '~2.7 || ^3.3', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '~2.7 || ^3.4', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '~2.7 || ^3.4',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '~2.7 || ^3.3',
+ 'version': '1.2',
+ },
+ ],
+ }
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L2150
test_run_installs_with_url_file
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...eaaa75da31f17a'}], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'url',
+ 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'pendulum',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4.4',
+ },
+ ],
+ }
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L1954
test_installer_required_extras_should_not_be_removed_when_updating_single_dependency_pypi_repository
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <SingleMarker extra == "filecac
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L819
test_run_whitelist_remove
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ ],
+ }
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L1787
test_run_install_duplicate_dependencies_different_constraints_with_lock_update
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': '^2.0'}, 'description': '', 'files': [], 'groups': ['main'], ...}, {'dependencies'...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': '^2.0'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': '^2.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.5',
+ },
+ ],
+ }
|
Windows (Python 3.11) / pytest:
tests\installation\test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[True-False-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/console/commands/test_show.py#L1028
test_show_outdated_local_dependencies[project_with_local_dependencies-required_fixtures0]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-True-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1787
test_run_install_duplicate_dependencies_different_constraints_with_lock_update
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': '^2.0'}, 'description': '', 'files': [], 'groups': ['main'], ...}, {'dependencies'...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': '^2.0'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': '^2.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.5',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1512
test_run_install_duplicate_dependencies_different_constraints
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1146
test_run_installs_with_local_file
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...eaaa75da31f17a'}], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'file', 'url': 'tests/fixtures/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'file',
+ 'url': 'tests/fixtures/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'pendulum',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4.4',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L765
test_run_whitelist_add
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-False-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L959
test_run_with_optional_and_platform_restricted_dependencies
assert {'extras': {'...in">}', ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...cription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker...', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "custom"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.3', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.2'}}, {'name': 'D', 'version': '1.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['A']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'A',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "custom">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.3',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}',
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4',
+ },
+ ],
+ }
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1621
test_run_install_duplicate_dependencies_different_constraints_with_lock
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
macOS (Python 3.9) / pytest:
tests/installation/test_installer.py#L1027
test_run_with_dependencies_nested_extras
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': {'extras': ['c'], 'optional': True, 'version': '^1.0'}}, 'description': '', 'extra...)']}, 'files': [], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': {'version': '^1.0', 'optional': True, 'extras': ['c']}}, 'extras': {'b': ['B[c] (>=1.0,<2.0)']}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'C': {'version': '^1.0', 'optional': True}}, 'extras': {'c': ['C (>=1.0,<2.0)']}}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': {
+ 'extras': [
+ 'c',
+ ],
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'b': [
+ 'B[c] (>=1.0,<2.0)',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': {
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'c': [
+ 'C (>=1.0,<2.0)',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ ],
+ }
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L2231
test_installer_uses_prereleases_if_they_are_compatible
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-False-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L2081
test_update_multiple_times_with_split_dependencies_is_idempotent
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': '>=1.0.1', 'C': [{'markers': 'python_version >= "2.7" and python_version < "2.8"',...], 'groups': ['main'], 'marker': '{\'main\': <MultiMarker python_version >= "3.4" and python_version < "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marke...hon-versions': '*', 'marker': 'python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': '>=1.0.1', 'C': [{'version': '>=1.0,<2.0', 'markers': 'python_version >= "2.7" and python_version < "2.8"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "3.4" and python_version < "4.0"'}]}}, {'name': 'B', 'version': '1.1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '~2.7 || ^3.4', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '~2.7 || ^3.4',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': '>=1.0.1',
+ 'C': [
+ {
+ 'markers': 'python_version >= "2.7" and python_version < "2.8"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "3.4" and python_version < "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "2.7" and '
+ 'python_version < "2.8">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "3.4" and '
+ 'python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ ],
+ }
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L1244
test_run_installs_with_local_poetry_directory_and_skip_directory_flag[False]
assert {'metadata': ...s': [], ...}]} == {'package': [...rsions': '*'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...t': {'path': 'inner-directory-project'}}, 'description': 'This is a description', 'develop': False, 'files': [], ...}]} != {'package': <AoT [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, ...': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}]>}
Full diff:
- {'package': [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'version': '0.1.0', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}, 'source': {'type': 'file', 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl'}}, {'description': 'This is a description', 'develop': False, 'name': 'inner-directory-project', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.4', 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies/inner-directory-project'}}, {'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.4.4'}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-extras', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'extras': {'extras-a': ['pendulum (>=1.4.4)'], 'extras-b': ['cachy (>=0.2.0)']}, 'source': {'type': 'directory', 'url': '../project_with_extras'}}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-directory-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'project-with-extras': {'path': '../../project_with_extras'}, 'project-with-transitive-file-dependencies': {'path': '../project_with_transitive_file_dependencies'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_directory_dependencies'}}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-file-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'demo': {'path': '../../distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'inner-directory-project': {'path': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}], 'metadata': {'content-hash': '123456789', 'lock-version': '2.1', 'python-versions': '*'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L1512
test_run_install_duplicate_dependencies_different_constraints
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L310
test_run_update_after_removing_dependencies
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L2357
test_run_with_dependencies_quiet[False]
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L1885
test_installer_required_extras_should_not_be_removed_when_updating_single_dependency
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
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L1621
test_run_install_duplicate_dependencies_different_constraints_with_lock
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
macOS (Python 3.8) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-False-False-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without dev-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
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
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L140
test_export_prints_to_stdout_by_default
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
* L_PAREN
* MARKER_NAME
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L212
test_export_includes_extras_by_flag[feature_bar-bar==1.1.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without main,dev,opt-\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--with dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L249
test_export_with_urls
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
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--only main,dev-baz==2.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\nfoo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
macOS (Python 3.11) / pytest (poetry-plugin-export):
poetry-plugin-export/tests/command/test_command_export.py#L185
test_export_groups[--without opt-foo==1.0.0 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"\n]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
Windows (Python 3.12) / pytest:
tests\console\commands\test_show.py#L1028
test_show_outdated_local_dependencies[project_with_local_dependencies-required_fixtures0]
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
|
Windows (Python 3.12) / pytest:
tests\utils\test_isolated_build.py#L94
test_isolated_builder_outside_poetry_project_context
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* ESCAPED_STRING
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest:
tests\console\commands\test_lock.py#L165
test_lock_no_update
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
|
Windows (Python 3.12) / pytest:
tests\console\commands\test_lock.py#L200
test_lock_no_update_path_dependencies
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
|
Windows (Python 3.12) / pytest:
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
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest:
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:
* MARKER_NAME
* L_PAREN
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest:
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
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.12) / pytest:
tests\puzzle\test_solver.py#L2119
test_solver_does_not_get_stuck_in_recursion_on_circular_dependency
KeyError: 'main'
|
Windows (Python 3.12) / pytest:
tests\puzzle\test_solver.py#L1236
test_solver_circular_dependency
KeyError: 'main'
|
Windows (Python 3.12) / pytest:
tests\puzzle\test_solver.py#L4626
test_update_with_use_latest_vs_lock[True]
KeyError: 'main'
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L959
test_run_with_optional_and_platform_restricted_dependencies
assert {'extras': {'...in">}', ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...cription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker...', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "custom"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.3', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.2'}}, {'name': 'D', 'version': '1.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "darwin"', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['A']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'A',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "custom">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.3',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "darwin">}',
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4',
+ },
+ ],
+ }
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1289
test_run_installs_with_local_poetry_file_transitive
assert {'metadata': ...s': [], ...}]} == {'package': [...rsions': '*'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...t': {'path': 'inner-directory-project'}}, 'description': 'This is a description', 'develop': False, 'files': [], ...}]} != {'package': <AoT [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, ...': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}]>}
Full diff:
- {'package': [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'version': '0.1.0', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}, 'source': {'type': 'file', 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl'}}, {'description': 'This is a description', 'develop': False, 'name': 'inner-directory-project', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.4', 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies/inner-directory-project'}}, {'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.4.4'}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-file-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'demo': {'path': '../../distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'inner-directory-project': {'path': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}], 'metadata': {'content-hash': '123456789', 'lock-version': '2.1', 'python-versions': '*'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'file',
+ 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'description': 'This is a description',
+ 'develop': False,
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'inner-directory-project',
+ 'optional': False,
+ 'python-versions': '*',
+ 'source': {
+ 'type': 'directory',
+ 'url': 'project_with_transitive_file_dependencies/inner-directory-project',
+ },
+ 've
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L911
test_run_with_optional_and_python_restricted_dependencies
assert {'extras': {'....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'dependenc...ion python_version >= "2.7" and python_version < "2.8" or python_version >= "3.4" and python_version < "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker... and python_version < "2.8" or python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.3', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8" or python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.2'}}, {'name': 'D', 'version': '1.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8" or python_version >= "3.4" and python_version < "4.0"', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['A']}, 'metadata': {'python-versions': '~2.7 || ^3.4', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'A',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '~2.7 || ^3.4',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MarkerUnion python_version >= "2.7" and '
+ 'python_version < "2.8" or python_version >= "3.4" and '
+ 'python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.3',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MarkerUnion python_version >= "2.7" and '
+ 'python_version < "2.8" or python_version >= "3.4" and '
+ 'python_version < "4.0">}',
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.4',
+ },
+ ],
+ }
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1244
test_run_installs_with_local_poetry_directory_and_skip_directory_flag[True]
assert {'metadata': ...s': [], ...}]} == {'package': [...rsions': '*'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...t': {'path': 'inner-directory-project'}}, 'description': 'This is a description', 'develop': False, 'files': [], ...}]} != {'package': <AoT [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, ...': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}]>}
Full diff:
- {'package': [{'description': '', 'name': 'demo', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'version': '0.1.0', 'marker': '', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}, 'source': {'type': 'file', 'url': '../distributions/demo-0.1.0-py2.py3-none-any.whl'}}, {'description': 'This is a description', 'develop': False, 'name': 'inner-directory-project', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.4', 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies/inner-directory-project'}}, {'description': '', 'name': 'pendulum', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.4.4'}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-extras', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'extras': {'extras-a': ['pendulum (>=1.4.4)'], 'extras-b': ['cachy (>=0.2.0)']}, 'source': {'type': 'directory', 'url': '../project_with_extras'}}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-directory-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'project-with-extras': {'path': '../../project_with_extras'}, 'project-with-transitive-file-dependencies': {'path': '../project_with_transitive_file_dependencies'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_directory_dependencies'}}, {'description': 'This is a description', 'develop': False, 'name': 'project-with-transitive-file-dependencies', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'version': '1.2.3', 'dependencies': {'demo': {'path': '../../distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'inner-directory-project': {'path': 'inner-directory-project'}}, 'source': {'type': 'directory', 'url': 'project_with_transitive_file_dependencies'}}], 'metadata': {'content-hash': '123456789', 'lock-version': '2.1', 'python-versions': '*'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'demo',
+ 'optional': False,
+
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L2199
test_run_installs_with_same_version_url_files[win32]
assert {'metadata': ...32">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'pendulum': '>=1.4.4'}, 'description': '', 'extras': {'bar': ['tomlkit'], 'foo': ['cleo...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}', ...}]} != {'package': <AoT [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7...hon-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "win32"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0-py2.py3-none-any.whl', 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'demo', 'version': '0.1.0', 'description': '', 'optional': False, 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', 'marker': 'sys_platform == "linux"', 'groups': ['main'], 'files': [{'file': 'demo-0.1.0.tar.gz', 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad'}], 'source': {'type': 'url', 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0.tar.gz'}, 'dependencies': {'pendulum': '>=1.4.4'}, 'extras': {'bar': ['tomlkit'], 'foo': ['cleo']}}, {'name': 'pendulum', 'version': '1.4.4', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'sys_platform == "linux" or sys_platform == "win32"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0-py2.py3-none-any.whl',
+ 'hash': 'sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker sys_platform == "win32">}',
+ 'name': 'demo',
+ 'optional': False,
+ 'python-versions': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
+ 'source': {
+ 'type': 'url',
+ 'url': 'https://files.pythonhosted.org/distributions/demo-0.1.0-py2.py3-none-any.whl',
+ },
+ 'version': '0.1.0',
+ },
+ {
+ 'dependencies': {
+ 'pendulum': '>=1.4.4',
+ },
+ 'description': '',
+ 'extras': {
+ 'bar': [
+ 'tomlkit',
+ ],
+ 'foo': [
+ 'cleo',
+ ],
+ },
+ 'files': [
+ {
+ 'file': 'demo-0.1.0.tar.gz',
+ 'hash': 'sha256:9fa123ad707a5c6c944743bf3e11a0e80d86cb518d3cf25320866ca3ef43e2ad',
+ },
+ ],
+ 'groups': [
+ 'main',
+ ],
+
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[True-True-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[True-False-True-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1512
test_run_install_duplicate_dependencies_different_constraints
assert {'metadata': ....0">}', ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': [{'markers': 'python_version < "4.0"', 'version': '>=1.0,<2.0'}, {'markers': 'pyth...scription': '', 'files': [], 'groups': ['main'], 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}', ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...'', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': [{'version': '>=1.0,<2.0', 'markers': 'python_version < "4.0"'}, {'version': '>=2.0,<3.0', 'markers': 'python_version >= "4.0"'}]}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.2'}}, {'name': 'B', 'version': '2.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': [], 'dependencies': {'C': '1.5'}}, {'name': 'C', 'version': '1.2', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version < "4.0"', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.5', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "4.0"', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': [
+ {
+ 'markers': 'python_version < "4.0"',
+ 'version': '>=1.0,<2.0',
+ },
+ {
+ 'markers': 'python_version >= "4.0"',
+ 'version': '>=2.0,<3.0',
+ },
+ ],
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.2',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'C': '1.5',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version >= "4.0">}',
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '2.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <SingleMarker python_version < "4.0">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1081
test_run_installs_extras_with_deps_if_requested[False-True-False-False]
assert {'extras': {'...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 2 identical items, use -vv to show
Differing items:
{'package': [{'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}, {'descripti...groups': ['main'], ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke...: '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.0', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'D': '^1.0'}}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': True, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'extras': {'foo': ['C']}, 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'extras': {
+ 'foo': [
+ 'C',
+ ],
+ },
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'dependencies': {
+ 'D': '^1.0',
+ },
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'C',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': True,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
macOS (Python 3.11) / pytest:
tests/installation/test_installer.py#L1477
test_run_update_with_locked_extras
assert {'metadata': ...ker>}", ...}]} == {'package': [... '123456789'}}
Omitting 1 identical items, use -vv to show
Differing items:
{'package': [{'dependencies': {'B': {'optional': True, 'version': '^1.0'}, 'C': {'markers': 'python_version >= "2.7" a...ersion < "2.8">}', ...}, {'description': '', 'files': [], 'groups': ['main'], 'marker': "{'main': <AnyMarker>}", ...}]} != {'package': <AoT [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marke... '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}]>}
Full diff:
- {'package': [{'name': 'A', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': [], 'dependencies': {'B': {'version': '^1.0', 'optional': True}, 'C': {'version': '^1.0', 'markers': 'python_version >= "2.7" and python_version < "2.8"'}}, 'extras': {'foo': ['B']}}, {'name': 'B', 'version': '1.0', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}, {'name': 'C', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': 'python_version >= "2.7" and python_version < "2.8"', 'groups': ['main'], 'files': []}, {'name': 'D', 'version': '1.1', 'description': '', 'optional': False, 'python-versions': '*', 'marker': '', 'groups': ['main'], 'files': []}], 'metadata': {'python-versions': '*', 'lock-version': '2.1', 'content-hash': '123456789'}}
+ {
+ 'metadata': {
+ 'content-hash': '123456789',
+ 'lock-version': '2.1',
+ 'python-versions': '*',
+ },
+ 'package': [
+ {
+ 'dependencies': {
+ 'B': {
+ 'optional': True,
+ 'version': '^1.0',
+ },
+ 'C': {
+ 'markers': 'python_version >= "2.7" and python_version < "2.8"',
+ 'version': '^1.0',
+ },
+ },
+ 'description': '',
+ 'extras': {
+ 'foo': [
+ 'B',
+ ],
+ },
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'A',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'B',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.0',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': '{\'main\': <MultiMarker python_version >= "2.7" and '
+ 'python_version < "2.8">}',
+ 'name': 'C',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ {
+ 'description': '',
+ 'files': [],
+ 'groups': [
+ 'main',
+ ],
+ 'marker': "{'main': <AnyMarker>}",
+ 'name': 'D',
+ 'optional': False,
+ 'python-versions': '*',
+ 'version': '1.1',
+ },
+ ],
+ }
|
Windows (Python 3.9) / pytest:
tests\puzzle\test_solver.py#L4626
test_update_with_use_latest_vs_lock[True]
KeyError: 'main'
|
Windows (Python 3.9) / pytest:
tests\puzzle\test_solver.py#L4626
test_update_with_use_latest_vs_lock[False]
KeyError: 'main'
|
Windows (Python 3.9) / pytest:
tests\puzzle\test_solver.py#L1236
test_solver_circular_dependency
KeyError: 'main'
|
Windows (Python 3.9) / pytest:
tests\console\commands\test_lock.py#L165
test_lock_no_update
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
Windows (Python 3.9) / pytest:
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:
* MARKER_NAME
* L_PAREN
* SINGLE_QUOTED_STRING
* ESCAPED_STRING
|
Windows (Python 3.9) / pytest:
tests\console\commands\test_lock.py#L200
test_lock_no_update_path_dependencies
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* SINGLE_QUOTED_STRING
* L_PAREN
* ESCAPED_STRING
* MARKER_NAME
|
Windows (Python 3.9) / pytest:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files2-expected_url_reference2]
assert 0 == 1
+ where 0 = len([])
|
Windows (Python 3.9) / pytest:
tests\console\commands\test_show.py#L1028
test_show_outdated_local_dependencies[project_with_local_dependencies-required_fixtures0]
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* MARKER_NAME
* ESCAPED_STRING
* L_PAREN
* SINGLE_QUOTED_STRING
|
Windows (Python 3.9) / pytest:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files0-expected_url_reference0]
assert 0 == 1
+ where 0 = len([])
|
Windows (Python 3.9) / pytest:
tests\packages\test_locker.py#L1041
test_locker_dumps_subdir
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 = "git-package-subdir"
version = "1.2.3"
description = ""
optional = false
python-versions = "*"
- marker = ""
+ marker = "{}"
? ++
groups = ["main"]
files = []
develop = false
[package.source]
type = "git"
url = "https://github.com/python-poetry/poetry.git"
reference = "develop"
resolved_reference = "123456"
subdirectory = "subdir"
[metadata]
lock-version = "2.1"
python-versions = "*"
content-hash = "115cf985d932e9bf5f540555bbdd75decbb62cac81e399375fc19f6277f8c1d8"
|
Windows (Python 3.8) / pytest:
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
|
Windows (Python 3.8) / pytest:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files0-expected_url_reference0]
assert 0 == 1
+ where 0 = len([])
|
Windows (Python 3.8) / pytest:
tests\installation\test_executor.py#L1560
test_executor_known_hashes[package_files1-expected_url_reference1]
assert 0 == 1
+ where 0 = len([])
|
Windows (Python 3.8) / pytest:
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
|
Windows (Python 3.8) / pytest:
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
|
Windows (Python 3.8) / pytest:
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:
|
Windows (Python 3.8) / pytest:
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
|
Windows (Python 3.8) / pytest:
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
|
Windows (Python 3.8) / pytest:
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
|
Windows (Python 3.8) / pytest:
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
|
Status
Process completed with exit code 1.
|