revert initial try #16
Annotations
10 errors
Run poetry run pytest --integration -v:
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': '*',
+
|
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\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
|
Run poetry run pytest --integration -v:
tests\console\commands\test_add.py#L157
test_add_replace_by_constraint
lark.exceptions.UnexpectedCharacters: No terminal matches '{' in the current parser context, at line 1 col 1
{'main': <AnyMarker>}
^
Expected one of:
* L_PAREN
* SINGLE_QUOTED_STRING
* MARKER_NAME
* ESCAPED_STRING
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
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
* MARKER_NAME
* SINGLE_QUOTED_STRING
* L_PAREN
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Run poetry run pytest --integration -v:
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',
+ },
+ ],
+ }
|
Loading