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