revert initial try #16
Annotations
10 errors
Run poetry run pytest --integration -v:
tests/repositories/test_legacy_repository.py#L455
test_get_package_retrieves_packages_with_no_hashes
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Run poetry run pytest --integration -v:
tests/repositories/test_legacy_repository.py#L501
test_package_partial_yank
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Run poetry run pytest --integration -v:
tests/repositories/test_legacy_repository.py#L138
test_get_package_information_fallback_read_setup
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* MARKER_NAME
* ESCAPED_STRING
* SINGLE_QUOTED_STRING
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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,
+
|
Loading