Commit a770b3ac by David Hotham Committed by GitHub

package category is not useful (#7637)

package.category doesn't make a lot of sense in the richer world of dependency groups.

The only use that is made of the category in poetry and poetry-core is that it is written to and read back from the lockfile. But no use is made of that information.
parent ec35b837
...@@ -126,7 +126,6 @@ class Locker: ...@@ -126,7 +126,6 @@ class Locker:
source_subdirectory=source.get("subdirectory"), source_subdirectory=source.get("subdirectory"),
) )
package.description = info.get("description", "") package.description = info.get("description", "")
package.category = info.get("category", "main")
package.optional = info["optional"] package.optional = info["optional"]
metadata = cast("dict[str, Any]", lock_data["metadata"]) metadata = cast("dict[str, Any]", lock_data["metadata"])
...@@ -425,7 +424,6 @@ class Locker: ...@@ -425,7 +424,6 @@ class Locker:
"name": package.pretty_name, "name": package.pretty_name,
"version": package.pretty_version, "version": package.pretty_version,
"description": package.description or "", "description": package.description or "",
"category": package.category,
"optional": package.optional, "optional": package.optional,
"python-versions": package.python_versions, "python-versions": package.python_versions,
"files": sorted( "files": sorted(
......
...@@ -9,8 +9,6 @@ from typing import FrozenSet ...@@ -9,8 +9,6 @@ from typing import FrozenSet
from typing import Tuple from typing import Tuple
from typing import TypeVar from typing import TypeVar
from poetry.core.packages.dependency_group import MAIN_GROUP
from poetry.mixology import resolve_version from poetry.mixology import resolve_version
from poetry.mixology.failure import SolveFailure from poetry.mixology.failure import SolveFailure
from poetry.puzzle.exceptions import OverrideNeeded from poetry.puzzle.exceptions import OverrideNeeded
...@@ -273,11 +271,9 @@ class PackageNode(DFSNode): ...@@ -273,11 +271,9 @@ class PackageNode(DFSNode):
self.depth = -1 self.depth = -1
if not previous: if not previous:
self.category = "dev"
self.groups: frozenset[str] = frozenset() self.groups: frozenset[str] = frozenset()
self.optional = True self.optional = True
elif dep: elif dep:
self.category = "main" if MAIN_GROUP in dep.groups else "dev"
self.groups = dep.groups self.groups = dep.groups
self.optional = dep.is_optional() self.optional = dep.is_optional()
else: else:
...@@ -327,14 +323,11 @@ def aggregate_package_nodes(nodes: list[PackageNode]) -> tuple[Package, int]: ...@@ -327,14 +323,11 @@ def aggregate_package_nodes(nodes: list[PackageNode]) -> tuple[Package, int]:
for node in nodes: for node in nodes:
groups.extend(node.groups) groups.extend(node.groups)
category = "main" if any(MAIN_GROUP in node.groups for node in nodes) else "dev"
optional = all(node.optional for node in nodes) optional = all(node.optional for node in nodes)
for node in nodes: for node in nodes:
node.depth = depth node.depth = depth
node.category = category
node.optional = optional node.optional = optional
package.category = category
package.optional = optional package.optional = optional
return package, depth return package, depth
...@@ -45,7 +45,6 @@ def install_plugin(installed: Repository) -> None: ...@@ -45,7 +45,6 @@ def install_plugin(installed: Repository) -> None:
{ {
"name": "poetry-plugin", "name": "poetry-plugin",
"version": "1.2.3", "version": "1.2.3",
"category": "main",
"optional": False, "optional": False,
"platform": "*", "platform": "*",
"python-versions": "*", "python-versions": "*",
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name = "missing" name = "missing"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name = "missing" name = "missing"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name = "missing" name = "missing"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name = "missing" name = "missing"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
[[package]] [[package]]
category = "main"
description = "A sample Python project" description = "A sample Python project"
name = "sampleproject" name = "sampleproject"
optional = false optional = false
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name = "quix" name = "quix"
version = "1.2.3" version = "1.2.3"
description = "Some description." description = "Some description."
category = "main"
optional = false optional = false
python-versions = "~2.7 || ^3.4" python-versions = "~2.7 || ^3.4"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "certifi" name = "certifi"
version = "2020.6.20" version = "2020.6.20"
description = "Python package for providing Mozilla's CA Bundle." description = "Python package for providing Mozilla's CA Bundle."
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -18,7 +17,6 @@ hash = "sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3" ...@@ -18,7 +17,6 @@ hash = "sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3"
name = "chardet" name = "chardet"
version = "3.0.4" version = "3.0.4"
description = "Universal encoding detector for Python 2 and 3" description = "Universal encoding detector for Python 2 and 3"
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -34,7 +32,6 @@ hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" ...@@ -34,7 +32,6 @@ hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
name = "docker" name = "docker"
version = "4.3.0" version = "4.3.0"
description = "A Python library for the Docker Engine API." description = "A Python library for the Docker Engine API."
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
...@@ -60,7 +57,6 @@ tls = ["pyOpenSSL (>=17.5.0)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"] ...@@ -60,7 +57,6 @@ tls = ["pyOpenSSL (>=17.5.0)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"]
name = "idna" name = "idna"
version = "2.10" version = "2.10"
description = "Internationalized Domain Names in Applications (IDNA)" description = "Internationalized Domain Names in Applications (IDNA)"
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
...@@ -76,7 +72,6 @@ hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6" ...@@ -76,7 +72,6 @@ hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"
name = "pywin32" name = "pywin32"
version = "227" version = "227"
description = "Python for Window Extensions" description = "Python for Window Extensions"
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -132,7 +127,6 @@ hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c" ...@@ -132,7 +127,6 @@ hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c"
name = "requests" name = "requests"
version = "2.24.0" version = "2.24.0"
description = "Python HTTP for Humans." description = "Python HTTP for Humans."
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
...@@ -158,7 +152,6 @@ socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"] ...@@ -158,7 +152,6 @@ socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"]
name = "six" name = "six"
version = "1.15.0" version = "1.15.0"
description = "Python 2 and 3 compatibility utilities" description = "Python 2 and 3 compatibility utilities"
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
...@@ -174,7 +167,6 @@ hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259" ...@@ -174,7 +167,6 @@ hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"
name = "urllib3" name = "urllib3"
version = "1.25.10" version = "1.25.10"
description = "HTTP library with thread-safe connection pooling, file post, and more." description = "HTTP library with thread-safe connection pooling, file post, and more."
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4"
...@@ -195,7 +187,6 @@ socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7,<2.0)"] ...@@ -195,7 +187,6 @@ socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7,<2.0)"]
name = "websocket-client" name = "websocket-client"
version = "0.57.0" version = "0.57.0"
description = "WebSocket client for Python. hybi13 is supported." description = "WebSocket client for Python. hybi13 is supported."
category = "main"
optional = false optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "certifi" name = "certifi"
version = "2020.12.5" version = "2020.12.5"
description = "Python package for providing Mozilla's CA Bundle." description = "Python package for providing Mozilla's CA Bundle."
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -18,7 +17,6 @@ hash = "sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c" ...@@ -18,7 +17,6 @@ hash = "sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c"
name = "chardet" name = "chardet"
version = "4.0.0" version = "4.0.0"
description = "Universal encoding detector for Python 2 and 3" description = "Universal encoding detector for Python 2 and 3"
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
...@@ -34,7 +32,6 @@ hash = "sha256:0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa" ...@@ -34,7 +32,6 @@ hash = "sha256:0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"
name = "docker" name = "docker"
version = "4.3.1" version = "4.3.1"
description = "A Python library for the Docker Engine API." description = "A Python library for the Docker Engine API."
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
...@@ -60,7 +57,6 @@ tls = ["pyOpenSSL (>=17.5.0)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"] ...@@ -60,7 +57,6 @@ tls = ["pyOpenSSL (>=17.5.0)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"]
name = "idna" name = "idna"
version = "2.10" version = "2.10"
description = "Internationalized Domain Names in Applications (IDNA)" description = "Internationalized Domain Names in Applications (IDNA)"
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
...@@ -76,7 +72,6 @@ hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6" ...@@ -76,7 +72,6 @@ hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"
name = "pywin32" name = "pywin32"
version = "227" version = "227"
description = "Python for Window Extensions" description = "Python for Window Extensions"
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -132,7 +127,6 @@ hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c" ...@@ -132,7 +127,6 @@ hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c"
name = "requests" name = "requests"
version = "2.25.1" version = "2.25.1"
description = "Python HTTP for Humans." description = "Python HTTP for Humans."
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
...@@ -158,7 +152,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"] ...@@ -158,7 +152,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"]
name = "six" name = "six"
version = "1.15.0" version = "1.15.0"
description = "Python 2 and 3 compatibility utilities" description = "Python 2 and 3 compatibility utilities"
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
...@@ -174,7 +167,6 @@ hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259" ...@@ -174,7 +167,6 @@ hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"
name = "urllib3" name = "urllib3"
version = "1.26.3" version = "1.26.3"
description = "HTTP library with thread-safe connection pooling, file post, and more." description = "HTTP library with thread-safe connection pooling, file post, and more."
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4"
...@@ -195,7 +187,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] ...@@ -195,7 +187,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
name = "websocket-client" name = "websocket-client"
version = "0.58.0" version = "0.58.0"
description = "WebSocket client for Python with low level API options" description = "WebSocket client for Python with low level API options"
category = "main"
optional = false optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -20,7 +18,6 @@ files = [] ...@@ -20,7 +18,6 @@ files = []
name = "C" name = "C"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = true optional = true
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -32,7 +29,6 @@ D = "^1.0" ...@@ -32,7 +29,6 @@ D = "^1.0"
name = "D" name = "D"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = true optional = true
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -20,7 +18,6 @@ files = [] ...@@ -20,7 +18,6 @@ files = []
name = "C" name = "C"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -29,7 +26,6 @@ files = [] ...@@ -29,7 +26,6 @@ files = []
name = "D" name = "D"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = true optional = true
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -20,7 +18,6 @@ files = [] ...@@ -20,7 +18,6 @@ files = []
name = "C" name = "C"
version = "1.2" version = "1.2"
description = "" description = ""
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "attrs" name = "attrs"
version = "17.4.0" version = "17.4.0"
description = "Classes Without Boilerplate" description = "Classes Without Boilerplate"
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -15,7 +14,6 @@ tests = ["coverage", "hypothesis", "pympler", "pytest", "six", "zope.interface"] ...@@ -15,7 +14,6 @@ tests = ["coverage", "hypothesis", "pympler", "pytest", "six", "zope.interface"]
name = "colorama" name = "colorama"
version = "0.3.9" version = "0.3.9"
description = "Cross-platform colored terminal text." description = "Cross-platform colored terminal text."
category = "dev"
marker = "sys_platform == \"win32\"" marker = "sys_platform == \"win32\""
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -24,7 +22,6 @@ python-versions = "*" ...@@ -24,7 +22,6 @@ python-versions = "*"
name = "funcsigs" name = "funcsigs"
version = "1.0.2" version = "1.0.2"
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+" description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+"
category = "dev"
marker = "python_version < \"3.0\"" marker = "python_version < \"3.0\""
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -33,7 +30,6 @@ python-versions = "*" ...@@ -33,7 +30,6 @@ python-versions = "*"
name = "more-itertools" name = "more-itertools"
version = "4.1.0" version = "4.1.0"
description = "More routines for operating on iterables, beyond itertools" description = "More routines for operating on iterables, beyond itertools"
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -44,7 +40,6 @@ six = ">=1.0.0,<2.0.0" ...@@ -44,7 +40,6 @@ six = ">=1.0.0,<2.0.0"
name = "pluggy" name = "pluggy"
version = "0.6.0" version = "0.6.0"
description = "plugin and hook calling mechanisms for python" description = "plugin and hook calling mechanisms for python"
category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
...@@ -52,7 +47,6 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" ...@@ -52,7 +47,6 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
name = "py" name = "py"
version = "1.5.3" version = "1.5.3"
description = "library with cross-python path, ini-parsing, io, code, log facilities" description = "library with cross-python path, ini-parsing, io, code, log facilities"
category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
...@@ -60,7 +54,6 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" ...@@ -60,7 +54,6 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
name = "pytest" name = "pytest"
version = "3.5.0" version = "3.5.0"
description = "pytest: simple powerful testing with Python" description = "pytest: simple powerful testing with Python"
category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
...@@ -77,7 +70,6 @@ colorama = "*" ...@@ -77,7 +70,6 @@ colorama = "*"
name = "six" name = "six"
version = "1.11.0" version = "1.11.0"
description = "Python 2 and 3 compatibility utilities" description = "Python 2 and 3 compatibility utilities"
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -18,7 +17,6 @@ foo = ["B"] ...@@ -18,7 +17,6 @@ foo = ["B"]
name = "B" name = "B"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -27,7 +25,6 @@ files = [] ...@@ -27,7 +25,6 @@ files = []
name = "C" name = "C"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -36,7 +33,6 @@ files = [] ...@@ -36,7 +33,6 @@ files = []
name = "D" name = "D"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
[[package]]
name = "A"
version = "1.0"
description = ""
category = "main"
optional = false
python-versions = "*"
files = []
[[package]]
name = "B"
version = "1.1"
description = ""
category = "main"
optional = false
python-versions = "*"
files = []
[package.dependencies]
A = "^1.0"
[metadata]
python-versions = "*"
lock-version = "2.0"
content-hash = "123456789"
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=3.5" python-versions = ">=3.5"
files = [] files = []
...@@ -14,7 +13,6 @@ python = ">=3.5,<4.0" ...@@ -14,7 +13,6 @@ python = ">=3.5,<4.0"
name = "A" name = "A"
version = "1.0.1" version = "1.0.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=3.6" python-versions = ">=3.6"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -26,7 +24,6 @@ foo = ["C (>=1.0,<2.0)"] ...@@ -26,7 +24,6 @@ foo = ["C (>=1.0,<2.0)"]
name = "C" name = "C"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -17,7 +16,6 @@ b = ["B[c] (>=1.0,<2.0)"] ...@@ -17,7 +16,6 @@ b = ["B[c] (>=1.0,<2.0)"]
name = "B" name = "B"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -32,7 +30,6 @@ c = ["C (>=1.0,<2.0)"] ...@@ -32,7 +30,6 @@ c = ["C (>=1.0,<2.0)"]
name = "C" name = "C"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
[[package]] [[package]]
category = "main"
description = "" description = ""
name = "demo" name = "demo"
optional = false optional = false
...@@ -22,7 +21,6 @@ type = "file" ...@@ -22,7 +21,6 @@ type = "file"
url = "../distributions/demo-0.1.0-py2.py3-none-any.whl" url = "../distributions/demo-0.1.0-py2.py3-none-any.whl"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "inner-directory-project" name = "inner-directory-project"
...@@ -36,7 +34,6 @@ type = "directory" ...@@ -36,7 +34,6 @@ type = "directory"
url = "project_with_transitive_file_dependencies/inner-directory-project" url = "project_with_transitive_file_dependencies/inner-directory-project"
[[package]] [[package]]
category = "main"
description = "" description = ""
name = "pendulum" name = "pendulum"
optional = false optional = false
...@@ -45,7 +42,6 @@ files = [] ...@@ -45,7 +42,6 @@ files = []
version = "1.4.4" version = "1.4.4"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "project-with-extras" name = "project-with-extras"
...@@ -63,7 +59,6 @@ type = "directory" ...@@ -63,7 +59,6 @@ type = "directory"
url = "../project_with_extras" url = "../project_with_extras"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "project-with-transitive-directory-dependencies" name = "project-with-transitive-directory-dependencies"
...@@ -81,7 +76,6 @@ type = "directory" ...@@ -81,7 +76,6 @@ type = "directory"
url = "project_with_transitive_directory_dependencies" url = "project_with_transitive_directory_dependencies"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "project-with-transitive-file-dependencies" name = "project-with-transitive-file-dependencies"
......
[[package]] [[package]]
description = "" description = ""
category = "main"
name = "pendulum" name = "pendulum"
optional = false optional = false
python-versions = "*" python-versions = "*"
...@@ -8,7 +7,6 @@ files = [] ...@@ -8,7 +7,6 @@ files = []
version = "1.4.4" version = "1.4.4"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "project-with-extras" name = "project-with-extras"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "cachy" name = "cachy"
version = "0.2.0" version = "0.2.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "pendulum" name = "pendulum"
version = "1.4.4" version = "1.4.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -21,7 +19,6 @@ name = "project-with-setup" ...@@ -21,7 +19,6 @@ name = "project-with-setup"
version = "0.1.2" version = "0.1.2"
develop = false develop = false
description = "Demo project." description = "Demo project."
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -14,7 +13,6 @@ B = "^2.0" ...@@ -14,7 +13,6 @@ B = "^2.0"
name = "B" name = "B"
version = "2.0" version = "2.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -26,7 +24,6 @@ C = "1.5" ...@@ -26,7 +24,6 @@ C = "1.5"
name = "C" name = "C"
version = "1.5" version = "1.5"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -17,7 +16,6 @@ B = [ ...@@ -17,7 +16,6 @@ B = [
name = "B" name = "B"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -29,7 +27,6 @@ C = "1.2" ...@@ -29,7 +27,6 @@ C = "1.2"
name = "B" name = "B"
version = "2.0" version = "2.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -41,7 +38,6 @@ C = "1.5" ...@@ -41,7 +38,6 @@ C = "1.5"
name = "C" name = "C"
version = "1.2" version = "1.2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -50,7 +46,6 @@ files = [] ...@@ -50,7 +46,6 @@ files = []
name = "C" name = "C"
version = "1.5" version = "1.5"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
[[package]] [[package]]
category = "main"
description = "" description = ""
name = "demo" name = "demo"
optional = false optional = false
...@@ -22,7 +21,6 @@ type = "file" ...@@ -22,7 +21,6 @@ type = "file"
url = "../distributions/demo-0.1.0-py2.py3-none-any.whl" url = "../distributions/demo-0.1.0-py2.py3-none-any.whl"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "inner-directory-project" name = "inner-directory-project"
...@@ -36,7 +34,6 @@ type = "directory" ...@@ -36,7 +34,6 @@ type = "directory"
url = "project_with_transitive_file_dependencies/inner-directory-project" url = "project_with_transitive_file_dependencies/inner-directory-project"
[[package]] [[package]]
category = "main"
description = "" description = ""
name = "pendulum" name = "pendulum"
optional = false optional = false
...@@ -45,7 +42,6 @@ files = [] ...@@ -45,7 +42,6 @@ files = []
version = "1.4.4" version = "1.4.4"
[[package]] [[package]]
category = "main"
description = "This is a description" description = "This is a description"
develop = false develop = false
name = "project-with-transitive-file-dependencies" name = "project-with-transitive-file-dependencies"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "demo" name = "demo"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
...@@ -25,7 +24,6 @@ foo = ["cleo"] ...@@ -25,7 +24,6 @@ foo = ["cleo"]
name = "pendulum" name = "pendulum"
version = "1.4.4" version = "1.4.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -18,7 +17,6 @@ C = [ ...@@ -18,7 +17,6 @@ C = [
name = "B" name = "B"
version = "1.1.0" version = "1.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -27,7 +25,6 @@ files = [] ...@@ -27,7 +25,6 @@ files = []
name = "C" name = "C"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -36,7 +33,6 @@ files = [] ...@@ -36,7 +33,6 @@ files = []
name = "C" name = "C"
version = "2.0" version = "2.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = true optional = true
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "C" name = "C"
version = "1.3" version = "1.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -23,7 +21,6 @@ D = "^1.2" ...@@ -23,7 +21,6 @@ D = "^1.2"
name = "D" name = "D"
version = "1.4" version = "1.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = true optional = true
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -20,7 +18,6 @@ files = [] ...@@ -20,7 +18,6 @@ files = []
name = "C" name = "C"
version = "1.3" version = "1.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -32,7 +29,6 @@ D = "^1.2" ...@@ -32,7 +29,6 @@ D = "^1.2"
name = "D" name = "D"
version = "1.4" version = "1.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0a2" version = "1.0a2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
name = "attrs" name = "attrs"
version = "17.4.0" version = "17.4.0"
description = "Classes Without Boilerplate" description = "Classes Without Boilerplate"
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [ files = [
...@@ -21,7 +20,6 @@ tests = ["coverage", "hypothesis", "pympler", "pytest", "six", "zope.interface"] ...@@ -21,7 +20,6 @@ tests = ["coverage", "hypothesis", "pympler", "pytest", "six", "zope.interface"]
name = "colorama" name = "colorama"
version = "0.3.9" version = "0.3.9"
description = "Cross-platform colored terminal text." description = "Cross-platform colored terminal text."
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [ files = [
...@@ -33,7 +31,6 @@ files = [ ...@@ -33,7 +31,6 @@ files = [
name = "more-itertools" name = "more-itertools"
version = "4.1.0" version = "4.1.0"
description = "More routines for operating on iterables, beyond itertools" description = "More routines for operating on iterables, beyond itertools"
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [ files = [
...@@ -49,7 +46,6 @@ six = ">=1.0.0,<2.0.0" ...@@ -49,7 +46,6 @@ six = ">=1.0.0,<2.0.0"
name = "pluggy" name = "pluggy"
version = "0.6.0" version = "0.6.0"
description = "plugin and hook calling mechanisms for python" description = "plugin and hook calling mechanisms for python"
category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [ files = [
...@@ -60,7 +56,6 @@ files = [ ...@@ -60,7 +56,6 @@ files = [
name = "py" name = "py"
version = "1.5.3" version = "1.5.3"
description = "library with cross-python path, ini-parsing, io, code, log facilities" description = "library with cross-python path, ini-parsing, io, code, log facilities"
category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [ files = [
...@@ -72,7 +67,6 @@ files = [ ...@@ -72,7 +67,6 @@ files = [
name = "pytest" name = "pytest"
version = "3.5.0" version = "3.5.0"
description = "pytest: simple powerful testing with Python" description = "pytest: simple powerful testing with Python"
category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [ files = [
...@@ -93,7 +87,6 @@ six = ">=1.10.0" ...@@ -93,7 +87,6 @@ six = ">=1.10.0"
name = "setuptools" name = "setuptools"
version = "67.6.1" version = "67.6.1"
description = "Easily download, build, install, upgrade, and uninstall Python packages" description = "Easily download, build, install, upgrade, and uninstall Python packages"
category = "dev"
optional = false optional = false
python-versions = ">=3.7" python-versions = ">=3.7"
files = [ files = [
...@@ -110,7 +103,6 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs ( ...@@ -110,7 +103,6 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (
name = "six" name = "six"
version = "1.11.0" version = "1.11.0"
description = "Python 2 and 3 compatibility utilities" description = "Python 2 and 3 compatibility utilities"
category = "dev"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [ files = [
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -11,7 +10,6 @@ files = [] ...@@ -11,7 +10,6 @@ files = []
name = "B" name = "B"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -20,7 +18,6 @@ files = [] ...@@ -20,7 +18,6 @@ files = []
name = "C" name = "C"
version = "1.2" version = "1.2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "~2.7 || ^3.3" python-versions = "~2.7 || ^3.3"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "demo" name = "demo"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [ files = [
...@@ -24,7 +23,6 @@ foo = ["cleo"] ...@@ -24,7 +23,6 @@ foo = ["cleo"]
name = "demo" name = "demo"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [ files = [
...@@ -45,7 +43,6 @@ foo = ["cleo"] ...@@ -45,7 +43,6 @@ foo = ["cleo"]
name = "pendulum" name = "pendulum"
version = "1.4.4" version = "1.4.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "A" name = "A"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -14,7 +13,6 @@ D = "^1.0" ...@@ -14,7 +13,6 @@ D = "^1.0"
name = "B" name = "B"
version = "1.1" version = "1.1"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -26,7 +24,6 @@ C = "~1.2" ...@@ -26,7 +24,6 @@ C = "~1.2"
name = "C" name = "C"
version = "1.2" version = "1.2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -35,7 +32,6 @@ files = [] ...@@ -35,7 +32,6 @@ files = []
name = "D" name = "D"
version = "1.3" version = "1.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "demo" name = "demo"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [ files = [
...@@ -24,7 +23,6 @@ foo = ["cleo"] ...@@ -24,7 +23,6 @@ foo = ["cleo"]
name = "pendulum" name = "pendulum"
version = "1.4.4" version = "1.4.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "demo" name = "demo"
version = "0.1.2" version = "0.1.2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -25,7 +24,6 @@ resolved_reference = "123456" ...@@ -25,7 +24,6 @@ resolved_reference = "123456"
name = "pendulum" name = "pendulum"
version = "1.4.4" version = "1.4.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -34,7 +32,6 @@ files = [] ...@@ -34,7 +32,6 @@ files = []
name = "cleo" name = "cleo"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "demo" name = "demo"
version = "0.1.2" version = "0.1.2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -21,7 +20,6 @@ resolved_reference = "123456" ...@@ -21,7 +20,6 @@ resolved_reference = "123456"
name = "pendulum" name = "pendulum"
version = "1.4.4" version = "1.4.4"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
name = "demo" name = "demo"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
......
...@@ -101,7 +101,6 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage) -> None ...@@ -101,7 +101,6 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage) -> None
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [ files = [
...@@ -116,7 +115,6 @@ B = "^1.0" ...@@ -116,7 +115,6 @@ B = "^1.0"
name = "A" name = "A"
version = "2.0.0" version = "2.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [ files = [
...@@ -127,7 +125,6 @@ files = [ ...@@ -127,7 +125,6 @@ files = [
name = "B" name = "B"
version = "1.2" version = "1.2"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -136,7 +133,6 @@ files = [] ...@@ -136,7 +133,6 @@ files = []
name = "git-package" name = "git-package"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -152,7 +148,6 @@ resolved_reference = "123456" ...@@ -152,7 +148,6 @@ resolved_reference = "123456"
name = "git-package-subdir" name = "git-package-subdir"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -169,7 +164,6 @@ subdirectory = "subdir" ...@@ -169,7 +164,6 @@ subdirectory = "subdir"
name = "url-package" name = "url-package"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -182,7 +176,6 @@ url = "https://example.org/url-package-1.0-cp39-manylinux_2_17_x86_64.whl" ...@@ -182,7 +176,6 @@ url = "https://example.org/url-package-1.0-cp39-manylinux_2_17_x86_64.whl"
name = "url-package" name = "url-package"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -208,7 +201,6 @@ def test_locker_properly_loads_extras(locker: Locker) -> None: ...@@ -208,7 +201,6 @@ def test_locker_properly_loads_extras(locker: Locker) -> None:
name = "cachecontrol" name = "cachecontrol"
version = "0.12.5" version = "0.12.5"
description = "httplib2 caching for requests" description = "httplib2 caching for requests"
category = "main"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [] files = []
...@@ -254,7 +246,6 @@ def test_locker_properly_loads_nested_extras(locker: Locker) -> None: ...@@ -254,7 +246,6 @@ def test_locker_properly_loads_nested_extras(locker: Locker) -> None:
name = "a" name = "a"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -269,7 +260,6 @@ b = ["b[c] (>=1.0,<2.0)"] ...@@ -269,7 +260,6 @@ b = ["b[c] (>=1.0,<2.0)"]
name = "b" name = "b"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -284,7 +274,6 @@ c = ["c (>=1.0,<2.0)"] ...@@ -284,7 +274,6 @@ c = ["c (>=1.0,<2.0)"]
name = "c" name = "c"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -335,7 +324,6 @@ def test_locker_properly_loads_extras_legacy(locker: Locker) -> None: ...@@ -335,7 +324,6 @@ def test_locker_properly_loads_extras_legacy(locker: Locker) -> None:
name = "a" name = "a"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -350,7 +338,6 @@ b = ["b (^1.0)"] ...@@ -350,7 +338,6 @@ b = ["b (^1.0)"]
name = "b" name = "b"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -384,7 +371,6 @@ def test_locker_properly_loads_subdir(locker: Locker) -> None: ...@@ -384,7 +371,6 @@ def test_locker_properly_loads_subdir(locker: Locker) -> None:
name = "git-package-subdir" name = "git-package-subdir"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
develop = false develop = false
...@@ -427,7 +413,6 @@ def test_locker_properly_assigns_metadata_files(locker: Locker) -> None: ...@@ -427,7 +413,6 @@ def test_locker_properly_assigns_metadata_files(locker: Locker) -> None:
name = "demo" name = "demo"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
develop = false develop = false
...@@ -436,7 +421,6 @@ develop = false ...@@ -436,7 +421,6 @@ develop = false
name = "demo" name = "demo"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
develop = false develop = false
...@@ -451,7 +435,6 @@ resolved_reference = "123456" ...@@ -451,7 +435,6 @@ resolved_reference = "123456"
name = "demo" name = "demo"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
develop = false develop = false
...@@ -464,7 +447,6 @@ url = "./folder" ...@@ -464,7 +447,6 @@ url = "./folder"
name = "demo" name = "demo"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
develop = false develop = false
...@@ -477,7 +459,6 @@ url = "./demo-1.0-cp39-win_amd64.whl" ...@@ -477,7 +459,6 @@ url = "./demo-1.0-cp39-win_amd64.whl"
name = "demo" name = "demo"
version = "1.0" version = "1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
develop = false develop = false
...@@ -548,7 +529,6 @@ def test_lock_packages_with_null_description( ...@@ -548,7 +529,6 @@ def test_lock_packages_with_null_description(
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -582,7 +562,6 @@ def test_lock_file_should_not_have_mixed_types( ...@@ -582,7 +562,6 @@ def test_lock_file_should_not_have_mixed_types(
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -618,7 +597,6 @@ def test_reading_lock_file_should_raise_an_error_on_invalid_data( ...@@ -618,7 +597,6 @@ def test_reading_lock_file_should_raise_an_error_on_invalid_data(
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -667,7 +645,6 @@ def test_locking_legacy_repository_package_should_include_source_section( ...@@ -667,7 +645,6 @@ def test_locking_legacy_repository_package_should_include_source_section(
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -790,7 +767,6 @@ def test_extras_dependencies_are_ordered(locker: Locker, root: ProjectPackage) - ...@@ -790,7 +767,6 @@ def test_extras_dependencies_are_ordered(locker: Locker, root: ProjectPackage) -
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -897,7 +873,6 @@ def test_locker_dumps_dependency_information_correctly( ...@@ -897,7 +873,6 @@ def test_locker_dumps_dependency_information_correctly(
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -944,7 +919,6 @@ def test_locker_dumps_subdir(locker: Locker, root: ProjectPackage) -> None: ...@@ -944,7 +919,6 @@ def test_locker_dumps_subdir(locker: Locker, root: ProjectPackage) -> None:
name = "git-package-subdir" name = "git-package-subdir"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -993,7 +967,6 @@ def test_locker_dumps_dependency_extras_in_correct_order( ...@@ -993,7 +967,6 @@ def test_locker_dumps_dependency_extras_in_correct_order(
name = "A" name = "A"
version = "1.0.0" version = "1.0.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
...@@ -1021,7 +994,6 @@ def test_locked_repository_uses_root_dir_of_package( ...@@ -1021,7 +994,6 @@ def test_locked_repository_uses_root_dir_of_package(
name = "lib-a" name = "lib-a"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "^2.7.9" python-versions = "^2.7.9"
develop = true develop = true
...@@ -1162,7 +1134,6 @@ def test_lock_file_resolves_file_url_symlinks(root: ProjectPackage) -> None: ...@@ -1162,7 +1134,6 @@ def test_lock_file_resolves_file_url_symlinks(root: ProjectPackage) -> None:
name = "local-package" name = "local-package"
version = "1.2.3" version = "1.2.3"
description = "" description = ""
category = "main"
optional = false optional = false
python-versions = "*" python-versions = "*"
files = [] files = []
......
...@@ -356,7 +356,7 @@ def test_solver_sets_groups( ...@@ -356,7 +356,7 @@ def test_solver_sets_groups(
transaction = solver.solve() transaction = solver.solve()
ops = check_solver_result( _ = check_solver_result(
transaction, transaction,
[ [
{"job": "install", "package": package_c}, {"job": "install", "package": package_c},
...@@ -365,10 +365,6 @@ def test_solver_sets_groups( ...@@ -365,10 +365,6 @@ def test_solver_sets_groups(
], ],
) )
assert ops[0].package.category == "dev"
assert ops[2].package.category == "dev"
assert ops[1].package.category == "main"
def test_solver_respects_root_package_python_versions( def test_solver_respects_root_package_python_versions(
solver: Solver, repo: Repository, package: ProjectPackage solver: Solver, repo: Repository, package: ProjectPackage
...@@ -1090,7 +1086,7 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies( ...@@ -1090,7 +1086,7 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies(
transaction = solver.solve() transaction = solver.solve()
ops = check_solver_result( _ = check_solver_result(
transaction, transaction,
[ [
{"job": "install", "package": package_d}, {"job": "install", "package": package_d},
...@@ -1100,16 +1096,6 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies( ...@@ -1100,16 +1096,6 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies(
], ],
) )
d = ops[0].package
b = ops[1].package
c = ops[2].package
a = ops[3].package
assert d.category == "dev"
assert b.category == "main"
assert c.category == "dev"
assert a.category == "main"
def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_dependent( # noqa: E501 def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_dependent( # noqa: E501
solver: Solver, repo: Repository, package: ProjectPackage solver: Solver, repo: Repository, package: ProjectPackage
...@@ -1147,7 +1133,7 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_ ...@@ -1147,7 +1133,7 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_
transaction = solver.solve() transaction = solver.solve()
ops = check_solver_result( _ = check_solver_result(
transaction, transaction,
[ [
{"job": "install", "package": package_b}, {"job": "install", "package": package_b},
...@@ -1158,18 +1144,6 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_ ...@@ -1158,18 +1144,6 @@ def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_
], ],
) )
b = ops[0].package
d = ops[1].package
a = ops[2].package
c = ops[3].package
e = ops[4].package
assert b.category == "main"
assert d.category == "dev"
assert a.category == "main"
assert c.category == "dev"
assert e.category == "main"
def test_solver_with_dependency_and_prerelease_sub_dependencies( def test_solver_with_dependency_and_prerelease_sub_dependencies(
solver: Solver, repo: Repository, package: ProjectPackage solver: Solver, repo: Repository, package: ProjectPackage
...@@ -1218,7 +1192,7 @@ def test_solver_circular_dependency( ...@@ -1218,7 +1192,7 @@ def test_solver_circular_dependency(
transaction = solver.solve() transaction = solver.solve()
ops = check_solver_result( _ = check_solver_result(
transaction, transaction,
[ [
{"job": "install", "package": package_c}, {"job": "install", "package": package_c},
...@@ -1227,8 +1201,6 @@ def test_solver_circular_dependency( ...@@ -1227,8 +1201,6 @@ def test_solver_circular_dependency(
], ],
) )
assert ops[0].package.category == "main"
def test_solver_circular_dependency_chain( def test_solver_circular_dependency_chain(
solver: Solver, repo: Repository, package: ProjectPackage solver: Solver, repo: Repository, package: ProjectPackage
...@@ -1254,7 +1226,7 @@ def test_solver_circular_dependency_chain( ...@@ -1254,7 +1226,7 @@ def test_solver_circular_dependency_chain(
transaction = solver.solve() transaction = solver.solve()
ops = check_solver_result( _ = check_solver_result(
transaction, transaction,
[ [
{"job": "install", "package": package_d}, {"job": "install", "package": package_d},
...@@ -1264,8 +1236,6 @@ def test_solver_circular_dependency_chain( ...@@ -1264,8 +1236,6 @@ def test_solver_circular_dependency_chain(
], ],
) )
assert ops[0].package.category == "main"
def test_solver_dense_dependencies( def test_solver_dense_dependencies(
solver: Solver, repo: Repository, package: ProjectPackage solver: Solver, repo: Repository, package: ProjectPackage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment