diff --git a/src/poetry/packages/locker.py b/src/poetry/packages/locker.py index ceadc1febf0..20c5ddb1519 100644 --- a/src/poetry/packages/locker.py +++ b/src/poetry/packages/locker.py @@ -109,8 +109,9 @@ def locked_repository(self) -> Repository: if source_type in ["directory", "file"]: url = self._lock.path.parent.joinpath(url).resolve().as_posix() + name = info["name"] package = Package( - info["name"], + name, info["version"], info["version"], source_type=source_type, @@ -123,9 +124,19 @@ def locked_repository(self) -> Repository: package.category = info.get("category", "main") package.optional = info["optional"] metadata = cast("dict[str, Any]", lock_data["metadata"]) - name = info["name"] - if "hashes" in metadata: - # Old lock so we create dummy files from the hashes + + # Storing of package files and hashes has been through a few generations in + # the lockfile, we can read them all: + # + # - latest and preferred is that this is read per package, from + # package.files + # - oldest is that hashes were stored in metadata.hashes without filenames + # - in between those two, hashes were stored alongside filenames in + # metadata.files + package_files = info.get("files") + if package_files is not None: + package.files = package_files + elif "hashes" in metadata: hashes = cast("dict[str, Any]", metadata["hashes"]) package.files = [{"name": h, "hash": h} for h in hashes[name]] elif source_type in {"git", "directory", "url"}: @@ -226,8 +237,6 @@ def set_lock_data(self, root: Package, packages: list[Package]) -> bool: assert isinstance(package_files, Array) files[package["name"]] = package_files.multiline(True) - del package["files"] - lock = document() lock["package"] = package_specs @@ -241,6 +250,7 @@ def set_lock_data(self, root: Package, packages: list[Package]) -> bool: "lock-version": self._VERSION, "python-versions": root.python_versions, "content-hash": self._content_hash, + # TODO stop writing files here, this is deprecated. "files": files, } diff --git a/tests/fixtures/old_lock/poetry.lock b/tests/fixtures/old_lock/poetry.lock index 498df2edc9f..b69ab8e66e0 100644 --- a/tests/fixtures/old_lock/poetry.lock +++ b/tests/fixtures/old_lock/poetry.lock @@ -6,6 +6,18 @@ optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" version = "1.3.1" +[[package.files]] +file = "sampleproject-1.3.1-py2.py3-none-any.whl" +hash = "sha256:26c9172e08244873b0e09c574a229bf2c251c67723a05e08fd3ec0c5ee423796" + +[[package.files]] +file = "sampleproject-1.3.1-py3-none-any.whl" +hash = "sha256:75bb5bb4e74a1b77dc0cff25ebbacb54fe1318aaf99a86a036cefc86ed885ced" + +[[package.files]] +file = "sampleproject-1.3.1.tar.gz" +hash = "sha256:3593ca2f1e057279d70d6144b14472fb28035b1da213dde60906b703d6f82c55" + [metadata] content-hash = "c8c2c9d899e47bac3972e029ef0e71b75d5df98a28eebef25a75640a19aac177" lock-version = "1.0" diff --git a/tests/fixtures/old_lock/updated.lock b/tests/fixtures/old_lock/updated.lock deleted file mode 100644 index 22cd049e68f..00000000000 --- a/tests/fixtures/old_lock/updated.lock +++ /dev/null @@ -1,152 +0,0 @@ -[[package]] -name = "certifi" -version = "2020.6.20" -description = "Python package for providing Mozilla's CA Bundle." -category = "main" -optional = false -python-versions = "*" - -[[package]] -name = "chardet" -version = "3.0.4" -description = "Universal encoding detector for Python 2 and 3" -category = "main" -optional = false -python-versions = "*" - -[[package]] -name = "docker" -version = "4.3.1" -description = "A Python library for the Docker Engine API." -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - -[package.dependencies] -pywin32 = {version = "227", markers = "sys_platform == \"win32\""} -requests = ">=2.14.2,<2.18.0 || >2.18.0" -six = ">=1.4.0" -websocket-client = ">=0.32.0" - -[package.extras] -ssh = ["paramiko (>=2.4.2)"] -tls = ["pyOpenSSL (>=17.5.0)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"] - -[[package]] -name = "idna" -version = "2.10" -description = "Internationalized Domain Names in Applications (IDNA)" -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - -[[package]] -name = "pywin32" -version = "227" -description = "Python for Window Extensions" -category = "main" -optional = false -python-versions = "*" - -[[package]] -name = "requests" -version = "2.24.0" -description = "Python HTTP for Humans." -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - -[package.dependencies] -certifi = ">=2017.4.17" -chardet = ">=3.0.2,<4" -idna = ">=2.5,<3" -urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26" - -[package.extras] -security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)"] -socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"] - -[[package]] -name = "six" -version = "1.15.0" -description = "Python 2 and 3 compatibility utilities" -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" - -[[package]] -name = "urllib3" -version = "1.25.10" -description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" - -[package.extras] -brotli = ["brotlipy (>=0.6.0)"] -secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "pyOpenSSL (>=0.14)", "ipaddress"] -socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7,<2.0)"] - -[[package]] -name = "websocket-client" -version = "0.57.0" -description = "WebSocket client for Python. hybi13 is supported." -category = "main" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - -[package.dependencies] -six = "*" - -[metadata] -lock-version = "1.1" -python-versions = "^3.8" -content-hash = "bb4c2f3c089b802c1930b6acbeed04711d93e9cdfd9a003eb17518a6d9f350c6" - -[metadata.files] -certifi = [ - {file = "certifi-2020.6.20-py2.py3-none-any.whl", hash = "sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41"}, - {file = "certifi-2020.6.20.tar.gz", hash = "sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3"}, -] -chardet = [ - {file = "chardet-3.0.4-py2.py3-none-any.whl", hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"}, - {file = "chardet-3.0.4.tar.gz", hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"}, -] -docker = [ - {file = "docker-4.3.1-py2.py3-none-any.whl", hash = "sha256:13966471e8bc23b36bfb3a6fb4ab75043a5ef1dac86516274777576bed3b9828"}, - {file = "docker-4.3.1.tar.gz", hash = "sha256:bad94b8dd001a8a4af19ce4becc17f41b09f228173ffe6a4e0355389eef142f2"}, -] -idna = [ - {file = "idna-2.10-py2.py3-none-any.whl", hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"}, - {file = "idna-2.10.tar.gz", hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"}, -] -pywin32 = [ - {file = "pywin32-227-cp27-cp27m-win32.whl", hash = "sha256:371fcc39416d736401f0274dd64c2302728c9e034808e37381b5e1b22be4a6b0"}, - {file = "pywin32-227-cp27-cp27m-win_amd64.whl", hash = "sha256:4cdad3e84191194ea6d0dd1b1b9bdda574ff563177d2adf2b4efec2a244fa116"}, - {file = "pywin32-227-cp35-cp35m-win32.whl", hash = "sha256:f4c5be1a293bae0076d93c88f37ee8da68136744588bc5e2be2f299a34ceb7aa"}, - {file = "pywin32-227-cp35-cp35m-win_amd64.whl", hash = "sha256:a929a4af626e530383a579431b70e512e736e9588106715215bf685a3ea508d4"}, - {file = "pywin32-227-cp36-cp36m-win32.whl", hash = "sha256:300a2db938e98c3e7e2093e4491439e62287d0d493fe07cce110db070b54c0be"}, - {file = "pywin32-227-cp36-cp36m-win_amd64.whl", hash = "sha256:9b31e009564fb95db160f154e2aa195ed66bcc4c058ed72850d047141b36f3a2"}, - {file = "pywin32-227-cp37-cp37m-win32.whl", hash = "sha256:47a3c7551376a865dd8d095a98deba954a98f326c6fe3c72d8726ca6e6b15507"}, - {file = "pywin32-227-cp37-cp37m-win_amd64.whl", hash = "sha256:31f88a89139cb2adc40f8f0e65ee56a8c585f629974f9e07622ba80199057511"}, - {file = "pywin32-227-cp38-cp38-win32.whl", hash = "sha256:7f18199fbf29ca99dff10e1f09451582ae9e372a892ff03a28528a24d55875bc"}, - {file = "pywin32-227-cp38-cp38-win_amd64.whl", hash = "sha256:7c1ae32c489dc012930787f06244426f8356e129184a02c25aef163917ce158e"}, - {file = "pywin32-227-cp39-cp39-win32.whl", hash = "sha256:c054c52ba46e7eb6b7d7dfae4dbd987a1bb48ee86debe3f245a2884ece46e295"}, - {file = "pywin32-227-cp39-cp39-win_amd64.whl", hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c"}, -] -requests = [ - {file = "requests-2.24.0-py2.py3-none-any.whl", hash = "sha256:fe75cc94a9443b9246fc7049224f75604b113c36acb93f87b80ed42c44cbb898"}, - {file = "requests-2.24.0.tar.gz", hash = "sha256:b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"}, -] -six = [ - {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, - {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, -] -urllib3 = [ - {file = "urllib3-1.25.10-py2.py3-none-any.whl", hash = "sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461"}, - {file = "urllib3-1.25.10.tar.gz", hash = "sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a"}, -] -websocket-client = [ - {file = "websocket_client-0.57.0-py2.py3-none-any.whl", hash = "sha256:0fc45c961324d79c781bab301359d5a1b00b13ad1b10415a4780229ef71a5549"}, - {file = "websocket_client-0.57.0.tar.gz", hash = "sha256:d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010"}, -] diff --git a/tests/fixtures/outdated_lock/poetry.lock b/tests/fixtures/outdated_lock/poetry.lock index 1d950ca7c10..0eef56ef0b6 100644 --- a/tests/fixtures/outdated_lock/poetry.lock +++ b/tests/fixtures/outdated_lock/poetry.lock @@ -6,6 +6,14 @@ category = "main" optional = false python-versions = "*" +[[package.files]] +file = "certifi-2020.6.20-py2.py3-none-any.whl" +hash = "sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41" + +[[package.files]] +file = "certifi-2020.6.20.tar.gz" +hash = "sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3" + [[package]] name = "chardet" version = "3.0.4" @@ -14,6 +22,14 @@ category = "main" optional = false python-versions = "*" +[[package.files]] +file = "chardet-3.0.4-py2.py3-none-any.whl" +hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" + +[[package.files]] +file = "chardet-3.0.4.tar.gz" +hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" + [[package]] name = "docker" version = "4.3.0" @@ -22,6 +38,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package.files]] +file = "docker-4.3.0-py2.py3-none-any.whl" +hash = "sha256:ba118607b0ba6bfc1b236ec32019a355c47b5d012d01d976467d4692ef443929" + +[[package.files]] +file = "docker-4.3.0.tar.gz" +hash = "sha256:431a268f2caf85aa30613f9642da274c62f6ee8bae7d70d968e01529f7d6af93" + [package.dependencies] pywin32 = {version = "227", markers = "sys_platform == \"win32\""} requests = ">=2.14.2,<2.18.0 || >2.18.0" @@ -40,6 +64,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "idna-2.10-py2.py3-none-any.whl" +hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0" + +[[package.files]] +file = "idna-2.10.tar.gz" +hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6" + [[package]] name = "pywin32" version = "227" @@ -48,6 +80,54 @@ category = "main" optional = false python-versions = "*" +[[package.files]] +file = "pywin32-227-cp27-cp27m-win32.whl" +hash = "sha256:371fcc39416d736401f0274dd64c2302728c9e034808e37381b5e1b22be4a6b0" + +[[package.files]] +file = "pywin32-227-cp27-cp27m-win_amd64.whl" +hash = "sha256:4cdad3e84191194ea6d0dd1b1b9bdda574ff563177d2adf2b4efec2a244fa116" + +[[package.files]] +file = "pywin32-227-cp35-cp35m-win32.whl" +hash = "sha256:f4c5be1a293bae0076d93c88f37ee8da68136744588bc5e2be2f299a34ceb7aa" + +[[package.files]] +file = "pywin32-227-cp35-cp35m-win_amd64.whl" +hash = "sha256:a929a4af626e530383a579431b70e512e736e9588106715215bf685a3ea508d4" + +[[package.files]] +file = "pywin32-227-cp36-cp36m-win32.whl" +hash = "sha256:300a2db938e98c3e7e2093e4491439e62287d0d493fe07cce110db070b54c0be" + +[[package.files]] +file = "pywin32-227-cp36-cp36m-win_amd64.whl" +hash = "sha256:9b31e009564fb95db160f154e2aa195ed66bcc4c058ed72850d047141b36f3a2" + +[[package.files]] +file = "pywin32-227-cp37-cp37m-win32.whl" +hash = "sha256:47a3c7551376a865dd8d095a98deba954a98f326c6fe3c72d8726ca6e6b15507" + +[[package.files]] +file = "pywin32-227-cp37-cp37m-win_amd64.whl" +hash = "sha256:31f88a89139cb2adc40f8f0e65ee56a8c585f629974f9e07622ba80199057511" + +[[package.files]] +file = "pywin32-227-cp38-cp38-win32.whl" +hash = "sha256:7f18199fbf29ca99dff10e1f09451582ae9e372a892ff03a28528a24d55875bc" + +[[package.files]] +file = "pywin32-227-cp38-cp38-win_amd64.whl" +hash = "sha256:7c1ae32c489dc012930787f06244426f8356e129184a02c25aef163917ce158e" + +[[package.files]] +file = "pywin32-227-cp39-cp39-win32.whl" +hash = "sha256:c054c52ba46e7eb6b7d7dfae4dbd987a1bb48ee86debe3f245a2884ece46e295" + +[[package.files]] +file = "pywin32-227-cp39-cp39-win_amd64.whl" +hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c" + [[package]] name = "requests" version = "2.24.0" @@ -56,6 +136,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package.files]] +file = "requests-2.24.0-py2.py3-none-any.whl" +hash = "sha256:fe75cc94a9443b9246fc7049224f75604b113c36acb93f87b80ed42c44cbb898" + +[[package.files]] +file = "requests-2.24.0.tar.gz" +hash = "sha256:b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b" + [package.dependencies] certifi = ">=2017.4.17" chardet = ">=3.0.2,<4" @@ -74,6 +162,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +[[package.files]] +file = "six-1.15.0-py2.py3-none-any.whl" +hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced" + +[[package.files]] +file = "six-1.15.0.tar.gz" +hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259" + [[package]] name = "urllib3" version = "1.25.10" @@ -82,6 +178,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" +[[package.files]] +file = "urllib3-1.25.10-py2.py3-none-any.whl" +hash = "sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461" + +[[package.files]] +file = "urllib3-1.25.10.tar.gz" +hash = "sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a" + [package.extras] brotli = ["brotlipy (>=0.6.0)"] secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "pyOpenSSL (>=0.14)", "ipaddress"] @@ -95,6 +199,14 @@ category = "main" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "websocket_client-0.57.0-py2.py3-none-any.whl" +hash = "sha256:0fc45c961324d79c781bab301359d5a1b00b13ad1b10415a4780229ef71a5549" + +[[package.files]] +file = "websocket_client-0.57.0.tar.gz" +hash = "sha256:d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010" + [package.dependencies] six = "*" diff --git a/tests/fixtures/up_to_date_lock/poetry.lock b/tests/fixtures/up_to_date_lock/poetry.lock index a896b5d0621..3a9340461cc 100644 --- a/tests/fixtures/up_to_date_lock/poetry.lock +++ b/tests/fixtures/up_to_date_lock/poetry.lock @@ -6,6 +6,14 @@ category = "main" optional = false python-versions = "*" +[[package.files]] +file = "certifi-2020.12.5-py2.py3-none-any.whl" +hash = "sha256:719a74fb9e33b9bd44cc7f3a8d94bc35e4049deebe19ba7d8e108280cfd59830" + +[[package.files]] +file = "certifi-2020.12.5.tar.gz" +hash = "sha256:1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c" + [[package]] name = "chardet" version = "4.0.0" @@ -14,6 +22,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package.files]] +file = "chardet-4.0.0-py2.py3-none-any.whl" +hash = "sha256:f864054d66fd9118f2e67044ac8981a54775ec5b67aed0441892edb553d21da5" + +[[package.files]] +file = "chardet-4.0.0.tar.gz" +hash = "sha256:0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa" + [[package]] name = "docker" version = "4.3.1" @@ -22,6 +38,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package.files]] +file = "docker-4.3.1-py2.py3-none-any.whl" +hash = "sha256:13966471e8bc23b36bfb3a6fb4ab75043a5ef1dac86516274777576bed3b9828" + +[[package.files]] +file = "docker-4.3.1.tar.gz" +hash = "sha256:bad94b8dd001a8a4af19ce4becc17f41b09f228173ffe6a4e0355389eef142f2" + [package.dependencies] pywin32 = {version = "227", markers = "sys_platform == \"win32\""} requests = ">=2.14.2,<2.18.0 || >2.18.0" @@ -40,6 +64,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "idna-2.10-py2.py3-none-any.whl" +hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0" + +[[package.files]] +file = "idna-2.10.tar.gz" +hash = "sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6" + [[package]] name = "pywin32" version = "227" @@ -48,6 +80,54 @@ category = "main" optional = false python-versions = "*" +[[package.files]] +file = "pywin32-227-cp27-cp27m-win32.whl" +hash = "sha256:371fcc39416d736401f0274dd64c2302728c9e034808e37381b5e1b22be4a6b0" + +[[package.files]] +file = "pywin32-227-cp27-cp27m-win_amd64.whl" +hash = "sha256:4cdad3e84191194ea6d0dd1b1b9bdda574ff563177d2adf2b4efec2a244fa116" + +[[package.files]] +file = "pywin32-227-cp35-cp35m-win32.whl" +hash = "sha256:f4c5be1a293bae0076d93c88f37ee8da68136744588bc5e2be2f299a34ceb7aa" + +[[package.files]] +file = "pywin32-227-cp35-cp35m-win_amd64.whl" +hash = "sha256:a929a4af626e530383a579431b70e512e736e9588106715215bf685a3ea508d4" + +[[package.files]] +file = "pywin32-227-cp36-cp36m-win32.whl" +hash = "sha256:300a2db938e98c3e7e2093e4491439e62287d0d493fe07cce110db070b54c0be" + +[[package.files]] +file = "pywin32-227-cp36-cp36m-win_amd64.whl" +hash = "sha256:9b31e009564fb95db160f154e2aa195ed66bcc4c058ed72850d047141b36f3a2" + +[[package.files]] +file = "pywin32-227-cp37-cp37m-win32.whl" +hash = "sha256:47a3c7551376a865dd8d095a98deba954a98f326c6fe3c72d8726ca6e6b15507" + +[[package.files]] +file = "pywin32-227-cp37-cp37m-win_amd64.whl" +hash = "sha256:31f88a89139cb2adc40f8f0e65ee56a8c585f629974f9e07622ba80199057511" + +[[package.files]] +file = "pywin32-227-cp38-cp38-win32.whl" +hash = "sha256:7f18199fbf29ca99dff10e1f09451582ae9e372a892ff03a28528a24d55875bc" + +[[package.files]] +file = "pywin32-227-cp38-cp38-win_amd64.whl" +hash = "sha256:7c1ae32c489dc012930787f06244426f8356e129184a02c25aef163917ce158e" + +[[package.files]] +file = "pywin32-227-cp39-cp39-win32.whl" +hash = "sha256:c054c52ba46e7eb6b7d7dfae4dbd987a1bb48ee86debe3f245a2884ece46e295" + +[[package.files]] +file = "pywin32-227-cp39-cp39-win_amd64.whl" +hash = "sha256:f27cec5e7f588c3d1051651830ecc00294f90728d19c3bf6916e6dba93ea357c" + [[package]] name = "requests" version = "2.25.1" @@ -56,6 +136,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package.files]] +file = "requests-2.25.1-py2.py3-none-any.whl" +hash = "sha256:c210084e36a42ae6b9219e00e48287def368a26d03a048ddad7bfee44f75871e" + +[[package.files]] +file = "requests-2.25.1.tar.gz" +hash = "sha256:27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804" + [package.dependencies] certifi = ">=2017.4.17" chardet = ">=3.0.2,<5" @@ -74,6 +162,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +[[package.files]] +file = "six-1.15.0-py2.py3-none-any.whl" +hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced" + +[[package.files]] +file = "six-1.15.0.tar.gz" +hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259" + [[package]] name = "urllib3" version = "1.26.3" @@ -82,6 +178,14 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" +[[package.files]] +file = "urllib3-1.26.3-py2.py3-none-any.whl" +hash = "sha256:1b465e494e3e0d8939b50680403e3aedaa2bc434b7d5af64dfd3c958d7f5ae80" + +[[package.files]] +file = "urllib3-1.26.3.tar.gz" +hash = "sha256:de3eedaad74a2683334e282005cd8d7f22f4d55fa690a2a1020a416cb0a47e73" + [package.extras] brotli = ["brotlipy (>=0.6.0)"] secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"] @@ -95,6 +199,14 @@ category = "main" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "websocket_client-0.58.0-py2.py3-none-any.whl" +hash = "sha256:44b5df8f08c74c3d82d28100fdc81f4536809ce98a17f0757557813275fbb663" + +[[package.files]] +file = "websocket_client-0.58.0.tar.gz" +hash = "sha256:63509b41d158ae5b7f67eb4ad20fecbb4eee99434e73e140354dc3ff8e09716f" + [package.dependencies] six = "*" diff --git a/tests/installation/fixtures/extras-with-dependencies.test b/tests/installation/fixtures/extras-with-dependencies.test index d0a63bfb879..c6f8dad346b 100644 --- a/tests/installation/fixtures/extras-with-dependencies.test +++ b/tests/installation/fixtures/extras-with-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -21,6 +23,7 @@ description = "" category = "main" optional = true python-versions = "*" +files = [] [package.dependencies] D = "^1.0" @@ -32,6 +35,7 @@ description = "" category = "main" optional = true python-versions = "*" +files = [] [extras] foo = ["C"] diff --git a/tests/installation/fixtures/extras.test b/tests/installation/fixtures/extras.test index 3b4086ab18a..86b959002e5 100644 --- a/tests/installation/fixtures/extras.test +++ b/tests/installation/fixtures/extras.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -21,6 +23,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "D" @@ -29,6 +32,7 @@ description = "" category = "main" optional = true python-versions = "*" +files = [] [extras] foo = ["D"] diff --git a/tests/installation/fixtures/install-no-dev.test b/tests/installation/fixtures/install-no-dev.test index c966c56baa0..ec1b0c0248d 100644 --- a/tests/installation/fixtures/install-no-dev.test +++ b/tests/installation/fixtures/install-no-dev.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -21,6 +23,7 @@ description = "" category = "dev" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/remove.test b/tests/installation/fixtures/remove.test index d0aea7a7b3e..e651474f509 100644 --- a/tests/installation/fixtures/remove.test +++ b/tests/installation/fixtures/remove.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/update-with-lock.test b/tests/installation/fixtures/update-with-lock.test index 4856157ff5e..728e198b30a 100644 --- a/tests/installation/fixtures/update-with-lock.test +++ b/tests/installation/fixtures/update-with-lock.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/update-with-locked-extras.test b/tests/installation/fixtures/update-with-locked-extras.test index 3609212e222..ab0b6b850e3 100644 --- a/tests/installation/fixtures/update-with-locked-extras.test +++ b/tests/installation/fixtures/update-with-locked-extras.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] "B" = {version = "^1.0", optional = true} @@ -20,6 +21,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -28,6 +30,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "D" @@ -36,6 +39,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-category-change.test b/tests/installation/fixtures/with-category-change.test index f431f92ba0e..54c9f1ebe62 100644 --- a/tests/installation/fixtures/with-category-change.test +++ b/tests/installation/fixtures/with-category-change.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] A = "^1.0" diff --git a/tests/installation/fixtures/with-conditional-dependency.test b/tests/installation/fixtures/with-conditional-dependency.test index 78546a5c96a..a261b741e93 100644 --- a/tests/installation/fixtures/with-conditional-dependency.test +++ b/tests/installation/fixtures/with-conditional-dependency.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = ">=3.5" +files = [] [package.requirements] python = ">=3.5,<4.0" @@ -16,6 +17,7 @@ description = "" category = "main" optional = false python-versions = ">=3.6" +files = [] [package.requirements] python = ">=3.6,<4.0" diff --git a/tests/installation/fixtures/with-dependencies-extras.test b/tests/installation/fixtures/with-dependencies-extras.test index 042e29670e1..e6f6c8b1338 100644 --- a/tests/installation/fixtures/with-dependencies-extras.test +++ b/tests/installation/fixtures/with-dependencies-extras.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] C = {version = "^1.0", optional = true} @@ -27,6 +29,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-dependencies-nested-extras.test b/tests/installation/fixtures/with-dependencies-nested-extras.test index 369aa3cd74b..c4360d0cd27 100644 --- a/tests/installation/fixtures/with-dependencies-nested-extras.test +++ b/tests/installation/fixtures/with-dependencies-nested-extras.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = {version = "^1.0", optional = true, extras = ["C"]} @@ -19,6 +20,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] C = {version = "^1.0", optional = true} @@ -33,6 +35,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-dependencies.test b/tests/installation/fixtures/with-dependencies.test index e9ed46612a0..74699a91dd9 100644 --- a/tests/installation/fixtures/with-dependencies.test +++ b/tests/installation/fixtures/with-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-directory-dependency-poetry-transitive.test b/tests/installation/fixtures/with-directory-dependency-poetry-transitive.test index fb10b1accea..223b4b287cf 100644 --- a/tests/installation/fixtures/with-directory-dependency-poetry-transitive.test +++ b/tests/installation/fixtures/with-directory-dependency-poetry-transitive.test @@ -6,6 +6,10 @@ optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" version = "0.1.0" +[[package.files]] +file = "demo-0.1.0-py2.py3-none-any.whl" +hash = "sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a" + [package.dependencies] pendulum = ">=1.4.4" @@ -24,6 +28,7 @@ develop = false name = "inner-directory-project" optional = false python-versions = "*" +files = [] version = "1.2.4" [package.source] @@ -36,6 +41,7 @@ description = "" name = "pendulum" optional = false python-versions = "*" +files = [] version = "1.4.4" [[package]] @@ -45,6 +51,7 @@ develop = false name = "project-with-extras" optional = false python-versions = "*" +files = [] version = "1.2.3" [package.extras] @@ -62,6 +69,7 @@ develop = false name = "project-with-transitive-directory-dependencies" optional = false python-versions = "*" +files = [] version = "1.2.3" [package.dependencies] @@ -79,6 +87,7 @@ develop = false name = "project-with-transitive-file-dependencies" optional = false python-versions = "*" +files = [] version = "1.2.3" [package.dependencies] diff --git a/tests/installation/fixtures/with-directory-dependency-poetry.test b/tests/installation/fixtures/with-directory-dependency-poetry.test index 12431f62185..eab2b8e8a7a 100644 --- a/tests/installation/fixtures/with-directory-dependency-poetry.test +++ b/tests/installation/fixtures/with-directory-dependency-poetry.test @@ -4,6 +4,7 @@ category = "main" name = "pendulum" optional = false python-versions = "*" +files = [] version = "1.4.4" [[package]] @@ -13,6 +14,7 @@ develop = false name = "project-with-extras" optional = false python-versions = "*" +files = [] version = "1.2.3" [package.dependencies] diff --git a/tests/installation/fixtures/with-directory-dependency-setuptools.test b/tests/installation/fixtures/with-directory-dependency-setuptools.test index f02bd82a335..b6bf29946a6 100644 --- a/tests/installation/fixtures/with-directory-dependency-setuptools.test +++ b/tests/installation/fixtures/with-directory-dependency-setuptools.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "pendulum" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "project-with-setup" @@ -22,6 +24,7 @@ description = "Demo project." category = "main" optional = false python-versions = "*" +files = [] [package.source] type = "directory" diff --git a/tests/installation/fixtures/with-duplicate-dependencies-update.test b/tests/installation/fixtures/with-duplicate-dependencies-update.test index f29945e71a8..faec4acd70a 100644 --- a/tests/installation/fixtures/with-duplicate-dependencies-update.test +++ b/tests/installation/fixtures/with-duplicate-dependencies-update.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = "^2.0" @@ -16,6 +17,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] C = "1.5" @@ -27,6 +29,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-duplicate-dependencies.test b/tests/installation/fixtures/with-duplicate-dependencies.test index 75126501ef8..18ea4efe5bd 100644 --- a/tests/installation/fixtures/with-duplicate-dependencies.test +++ b/tests/installation/fixtures/with-duplicate-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = [ @@ -19,6 +20,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] C = "1.2" @@ -30,6 +32,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] C = "1.5" @@ -41,6 +44,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -49,6 +53,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-file-dependency-transitive.test b/tests/installation/fixtures/with-file-dependency-transitive.test index b882f262640..6ea4aad8e9a 100644 --- a/tests/installation/fixtures/with-file-dependency-transitive.test +++ b/tests/installation/fixtures/with-file-dependency-transitive.test @@ -6,6 +6,10 @@ optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" version = "0.1.0" +[[package.files]] +file = "demo-0.1.0-py2.py3-none-any.whl" +hash = "sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a" + [package.dependencies] pendulum = ">=1.4.4" @@ -24,6 +28,7 @@ develop = false name = "inner-directory-project" optional = false python-versions = "*" +files = [] version = "1.2.4" [package.source] @@ -36,6 +41,7 @@ description = "" name = "pendulum" optional = false python-versions = "*" +files = [] version = "1.4.4" [[package]] @@ -45,6 +51,7 @@ develop = false name = "project-with-transitive-file-dependencies" optional = false python-versions = "*" +files = [] version = "1.2.3" [package.dependencies] diff --git a/tests/installation/fixtures/with-file-dependency.test b/tests/installation/fixtures/with-file-dependency.test index 06ad019c0f4..6ba34523535 100644 --- a/tests/installation/fixtures/with-file-dependency.test +++ b/tests/installation/fixtures/with-file-dependency.test @@ -6,6 +6,10 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "demo-0.1.0-py2.py3-none-any.whl" +hash = "sha256:70e704135718fffbcbf61ed1fc45933cfd86951a744b681000eaaa75da31f17a" + [package.source] type = "file" url = "tests/fixtures/distributions/demo-0.1.0-py2.py3-none-any.whl" @@ -24,6 +28,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-multiple-updates.test b/tests/installation/fixtures/with-multiple-updates.test index a488ef79631..b00bde40fd9 100644 --- a/tests/installation/fixtures/with-multiple-updates.test +++ b/tests/installation/fixtures/with-multiple-updates.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = ">=1.0.1" @@ -20,6 +21,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -28,6 +30,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -36,6 +39,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "~2.7 || ^3.4" diff --git a/tests/installation/fixtures/with-optional-dependencies.test b/tests/installation/fixtures/with-optional-dependencies.test index 6c172caa078..f56bdfac4f0 100644 --- a/tests/installation/fixtures/with-optional-dependencies.test +++ b/tests/installation/fixtures/with-optional-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = true python-versions = "*" +files = [] [[package]] name = "C" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] D = "^1.2" @@ -24,6 +26,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [extras] foo = ["A"] diff --git a/tests/installation/fixtures/with-platform-dependencies.test b/tests/installation/fixtures/with-platform-dependencies.test index 9696b74fb9a..397145c4384 100644 --- a/tests/installation/fixtures/with-platform-dependencies.test +++ b/tests/installation/fixtures/with-platform-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = true python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -21,6 +23,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] D = "^1.2" @@ -32,6 +35,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [extras] foo = ["A"] diff --git a/tests/installation/fixtures/with-prereleases.test b/tests/installation/fixtures/with-prereleases.test index c164800cb80..fb6121dbd6d 100644 --- a/tests/installation/fixtures/with-prereleases.test +++ b/tests/installation/fixtures/with-prereleases.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-pypi-repository.test b/tests/installation/fixtures/with-pypi-repository.test index 1bde9b82750..ddd396931af 100644 --- a/tests/installation/fixtures/with-pypi-repository.test +++ b/tests/installation/fixtures/with-pypi-repository.test @@ -6,6 +6,14 @@ category = "dev" optional = false python-versions = "*" +[[package.files]] +file = "attrs-17.4.0-py2.py3-none-any.whl" +hash = "sha256:a17a9573a6f475c99b551c0e0a812707ddda1ec9653bed04c13841404ed6f450" + +[[package.files]] +file = "attrs-17.4.0.tar.gz" +hash = "sha256:1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9" + [package.extras] dev = ["coverage", "hypothesis", "pympler", "pytest", "six", "sphinx", "zope.interface", "zope.interface"] docs = ["sphinx", "zope.interface"] @@ -19,6 +27,14 @@ category = "dev" optional = false python-versions = "*" +[[package.files]] +file = "colorama-0.3.9-py2.py3-none-any.whl" +hash = "sha256:463f8483208e921368c9f306094eb6f725c6ca42b0f97e313cb5d5512459feda" + +[[package.files]] +file = "colorama-0.3.9.tar.gz" +hash = "sha256:48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1" + [[package]] name = "funcsigs" version = "1.0.2" @@ -27,6 +43,14 @@ category = "dev" optional = false python-versions = "*" +[[package.files]] +file = "funcsigs-1.0.2-py2.py3-none-any.whl" +hash = "sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca" + +[[package.files]] +file = "funcsigs-1.0.2.tar.gz" +hash = "sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50" + [[package]] name = "more-itertools" version = "4.1.0" @@ -35,6 +59,18 @@ category = "dev" optional = false python-versions = "*" +[[package.files]] +file = "more-itertools-4.1.0.tar.gz" +hash = "sha256:c9ce7eccdcb901a2c75d326ea134e0886abfbea5f93e91cc95de9507c0816c44" + +[[package.files]] +file = "more_itertools-4.1.0-py2-none-any.whl" +hash = "sha256:11a625025954c20145b37ff6309cd54e39ca94f72f6bb9576d1195db6fa2442e" + +[[package.files]] +file = "more_itertools-4.1.0-py3-none-any.whl" +hash = "sha256:0dd8f72eeab0d2c3bd489025bb2f6a1b8342f9b198f6fc37b52d15cfa4531fea" + [package.dependencies] six = ">=1.0.0,<2.0.0" @@ -46,6 +82,10 @@ category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "pluggy-0.6.0.tar.gz" +hash = "sha256:7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff" + [[package]] name = "py" version = "1.5.3" @@ -54,6 +94,14 @@ category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "py-1.5.3-py2.py3-none-any.whl" +hash = "sha256:983f77f3331356039fdd792e9220b7b8ee1aa6bd2b25f567a963ff1de5a64f6a" + +[[package.files]] +file = "py-1.5.3.tar.gz" +hash = "sha256:29c9fab495d7528e80ba1e343b958684f4ace687327e6f789a94bf3d1915f881" + [[package]] name = "pytest" version = "3.5.0" @@ -62,6 +110,14 @@ category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "pytest-3.5.0-py2.py3-none-any.whl" +hash = "sha256:6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c" + +[[package.files]] +file = "pytest-3.5.0.tar.gz" +hash = "sha256:fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1" + [package.dependencies] py = ">=1.5.0" six = ">=1.10.0" @@ -80,6 +136,14 @@ category = "dev" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*" +[[package.files]] +file = "setuptools-39.2.0-py2.py3-none-any.whl" +hash = "sha256:8fca9275c89964f13da985c3656cb00ba029d7f3916b37990927ffdf264e7926" + +[[package.files]] +file = "setuptools-39.2.0.zip" +hash = "sha256:f7cddbb5f5c640311eb00eab6e849f7701fa70bf6a183fc8a2c33dd1d1672fb2" + [package.extras] certs = ["certifi (==2016.9.26)"] ssl = ["wincertstore (==0.2)"] @@ -92,6 +156,14 @@ category = "dev" optional = false python-versions = "*" +[[package.files]] +file = "six-1.11.0-py2.py3-none-any.whl" +hash = "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb" + +[[package.files]] +file = "six-1.11.0.tar.gz" +hash = "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" + [metadata] python-versions = "*" lock-version = "1.1" diff --git a/tests/installation/fixtures/with-python-versions.test b/tests/installation/fixtures/with-python-versions.test index 04ea98bc79a..feb0880ded9 100644 --- a/tests/installation/fixtures/with-python-versions.test +++ b/tests/installation/fixtures/with-python-versions.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "B" @@ -13,6 +14,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "C" @@ -21,6 +23,7 @@ description = "" category = "main" optional = false python-versions = "~2.7 || ^3.3" +files = [] [metadata] python-versions = "~2.7 || ^3.4" diff --git a/tests/installation/fixtures/with-same-version-url-dependencies.test b/tests/installation/fixtures/with-same-version-url-dependencies.test index aec9fefa911..e7e0e8e9f8c 100644 --- a/tests/installation/fixtures/with-same-version-url-dependencies.test +++ b/tests/installation/fixtures/with-same-version-url-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [] [package.source] type = "url" @@ -24,6 +25,7 @@ description = "" category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [] [package.source] type = "url" @@ -43,6 +45,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-sub-dependencies.test b/tests/installation/fixtures/with-sub-dependencies.test index 35b133dfb57..74eda1a856a 100644 --- a/tests/installation/fixtures/with-sub-dependencies.test +++ b/tests/installation/fixtures/with-sub-dependencies.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] D = "^1.0" @@ -16,6 +17,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] C = "~1.2" @@ -27,6 +29,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "D" @@ -35,6 +38,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-url-dependency.test b/tests/installation/fixtures/with-url-dependency.test index 2d23f7981aa..0d883fcfd3b 100644 --- a/tests/installation/fixtures/with-url-dependency.test +++ b/tests/installation/fixtures/with-url-dependency.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [] [package.source] type = "url" @@ -24,6 +25,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-vcs-dependency-with-extras.test b/tests/installation/fixtures/with-vcs-dependency-with-extras.test index f64ba8e867e..cc87dd5e970 100644 --- a/tests/installation/fixtures/with-vcs-dependency-with-extras.test +++ b/tests/installation/fixtures/with-vcs-dependency-with-extras.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] develop = false [package.dependencies] @@ -27,6 +28,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "cleo" @@ -35,6 +37,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-vcs-dependency-without-ref.test b/tests/installation/fixtures/with-vcs-dependency-without-ref.test index 16521bdea50..efc98787771 100644 --- a/tests/installation/fixtures/with-vcs-dependency-without-ref.test +++ b/tests/installation/fixtures/with-vcs-dependency-without-ref.test @@ -5,6 +5,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] develop = false [package.dependencies] @@ -23,6 +24,7 @@ description = "" category = "main" optional = false python-versions = "*" +files = [] [metadata] python-versions = "*" diff --git a/tests/installation/fixtures/with-wheel-dependency-no-requires-dist.test b/tests/installation/fixtures/with-wheel-dependency-no-requires-dist.test index 383e43803eb..d0fc1fb14ac 100644 --- a/tests/installation/fixtures/with-wheel-dependency-no-requires-dist.test +++ b/tests/installation/fixtures/with-wheel-dependency-no-requires-dist.test @@ -6,6 +6,10 @@ category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +[[package.files]] +file = "demo-0.1.0-py2.py3-none-any.whl" +hash = "sha256:c25eb81459126848a1788eb3520d1a32014eb51ce3d3bae88c56bfdde4ce02db" + [package.source] type = "file" url = "tests/fixtures/wheel_with_no_requires_dist/demo-0.1.0-py2.py3-none-any.whl" diff --git a/tests/packages/test_locker.py b/tests/packages/test_locker.py index 98dbe3a710e..74b062123ef 100644 --- a/tests/packages/test_locker.py +++ b/tests/packages/test_locker.py @@ -102,6 +102,14 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): optional = false python-versions = "*" +[[package.files]] +file = "bar" +hash = "123" + +[[package.files]] +file = "foo" +hash = "456" + [package.dependencies] B = "^1.0" @@ -113,6 +121,10 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): optional = false python-versions = "*" +[[package.files]] +file = "baz" +hash = "345" + [[package]] name = "B" version = "1.2" @@ -120,6 +132,7 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] [[package]] name = "git-package" @@ -128,6 +141,7 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] develop = false [package.source] @@ -143,6 +157,7 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] develop = false [package.source] @@ -159,6 +174,7 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] [package.source] type = "url" @@ -171,6 +187,7 @@ def test_lock_file_data_is_ordered(locker: Locker, root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] [package.source] type = "url" @@ -539,6 +556,7 @@ def test_lock_packages_with_null_description(locker: Locker, root: ProjectPackag category = "main" optional = false python-versions = "*" +files = [] [metadata] lock-version = "1.1" @@ -570,6 +588,7 @@ def test_lock_file_should_not_have_mixed_types(locker: Locker, root: ProjectPack category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = [ @@ -651,6 +670,7 @@ def test_locking_legacy_repository_package_should_include_source_section( category = "main" optional = false python-versions = "*" +files = [] [package.source] type = "legacy" @@ -737,6 +757,7 @@ def test_extras_dependencies_are_ordered(locker: Locker, root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = {version = "^1.0.0", extras = ["a", "b", "c"], optional = true} @@ -827,6 +848,7 @@ def test_locker_dumps_dependency_information_correctly( category = "main" optional = false python-versions = "*" +files = [] [package.dependencies] B = {path = "project_with_extras", develop = true} @@ -871,6 +893,7 @@ def test_locker_dumps_subdir(locker: Locker, root: ProjectPackage) -> None: category = "main" optional = false python-versions = "*" +files = [] develop = false [package.source] @@ -920,6 +943,7 @@ def test_locker_dumps_dependency_extras_in_correct_order( category = "main" optional = false python-versions = "*" +files = [] [package.extras] B = ["first (==1.0.0)", "second (==1.0.0)", "third (==1.0.0)"] @@ -1088,6 +1112,7 @@ def test_lock_file_resolves_file_url_symlinks(root: ProjectPackage): category = "main" optional = false python-versions = "*" +files = [] [package.source] type = "file"