From 278736cce9bea97b5aee2ffabe29c04a868c555f Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sun, 3 Jul 2022 00:12:55 +0200 Subject: [PATCH 1/4] chore(pre-commit): pin `click` for `black` --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7766f56e108..07a33646c3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,9 @@ repos: rev: 19.10b0 hooks: - id: black + # Pinning click because of https://github.com/psf/black/issues/2964 + additional_dependencies: [click==8.0.4] + - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 From 6d729d0f72e0a9175a94e75c121bfc3b211dba76 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Fri, 8 Jul 2022 11:48:07 +0200 Subject: [PATCH 2/4] fix(repositories): use `urls` for JSON API instead of `releases` --- poetry/repositories/pypi_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry/repositories/pypi_repository.py b/poetry/repositories/pypi_repository.py index 79199ff12fd..2ee18bc7873 100755 --- a/poetry/repositories/pypi_repository.py +++ b/poetry/repositories/pypi_repository.py @@ -270,7 +270,7 @@ def _get_release_info(self, name, version): # type: (str, str) -> dict ) try: - version_info = json_data["releases"][version] + version_info = json_data["urls"] except KeyError: version_info = [] From f26e0787a89a1f1049ee54a0abbacbe25398bc6f Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Fri, 8 Jul 2022 12:42:56 +0200 Subject: [PATCH 3/4] test(repositories): check for `files` content --- .../pypi.org/json/requests/2.18.4.json | 87 +++++++++++++++++++ tests/repositories/test_pypi_repository.py | 11 +++ 2 files changed, 98 insertions(+) create mode 100644 tests/repositories/fixtures/pypi.org/json/requests/2.18.4.json diff --git a/tests/repositories/fixtures/pypi.org/json/requests/2.18.4.json b/tests/repositories/fixtures/pypi.org/json/requests/2.18.4.json new file mode 100644 index 00000000000..10671406459 --- /dev/null +++ b/tests/repositories/fixtures/pypi.org/json/requests/2.18.4.json @@ -0,0 +1,87 @@ +{ + "info": { + "author": "Kenneth Reitz", + "author_email": "me@kennethreitz.org", + "bugtrack_url": null, + "classifiers": [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Programming Language :: Python", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy" + ], + "description": "", + "docs_url": null, + "download_url": "", + "downloads": { + "last_day": 0, + "last_month": 0, + "last_week": 0 + }, + "home_page": "http://python-requests.org", + "keywords": "", + "license": "Apache 2.0", + "maintainer": "", + "maintainer_email": "", + "name": "requests", + "platform": "", + "project_url": "https://pypi.org/project/requests/", + "release_url": "https://pypi.org/project/requests/2.18.4/", + "requires_dist": [ + "win-inet-pton; sys_platform == \"win32\" and (python_version == \"2.7\" or python_version == \"2.6\") and extra == 'socks'", + "PySocks (!=1.5.7,>=1.5.6); extra == 'socks'", + "pyOpenSSL (>=0.14); extra == 'security'", + "idna (>=2.0.0); extra == 'security'", + "cryptography (>=1.3.4); extra == 'security'", + "urllib3 (<1.23,>=1.21.1)", + "idna (>=2.5,<2.7)", + "chardet (>=3.0.2,<3.1.0)", + "certifi (>=2017.4.17)" + ], + "requires_python": "", + "summary": "Python HTTP for Humans.", + "version": "2.18.4" + }, + "urls": [ + { + "comment_text": "", + "digests": { + "md5": "eb9be71cc41fd73a51a7c9cd1adde5de", + "sha256": "6a1b267aa90cac58ac3a765d067950e7dbbf75b1da07e895d1f594193a40a38b" + }, + "downloads": -1, + "filename": "requests-2.18.4-py2.py3-none-any.whl", + "has_sig": true, + "md5_digest": "eb9be71cc41fd73a51a7c9cd1adde5de", + "packagetype": "bdist_wheel", + "python_version": "py2.py3", + "size": 88704, + "upload_time": "2017-08-15T13:23:43", + "url": "https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl" + }, + { + "comment_text": "", + "digests": { + "md5": "081412b2ef79bdc48229891af13f4d82", + "sha256": "9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e" + }, + "downloads": -1, + "filename": "requests-2.18.4.tar.gz", + "has_sig": true, + "md5_digest": "081412b2ef79bdc48229891af13f4d82", + "packagetype": "sdist", + "python_version": "source", + "size": 126224, + "upload_time": "2017-08-15T13:23:46", + "url": "https://files.pythonhosted.org/packages/b0/e1/eab4fc3752e3d240468a8c0b284607899d2fbfb236a56b7377a329aa8d09/requests-2.18.4.tar.gz" + } + ] +} diff --git a/tests/repositories/test_pypi_repository.py b/tests/repositories/test_pypi_repository.py index 55afdd39485..4d9cc43fb70 100644 --- a/tests/repositories/test_pypi_repository.py +++ b/tests/repositories/test_pypi_repository.py @@ -95,6 +95,17 @@ def test_package(): assert len(package.extras["security"]) == 3 assert len(package.extras["socks"]) == 2 + assert package.files == [ + { + "file": "requests-2.18.4-py2.py3-none-any.whl", + "hash": "sha256:6a1b267aa90cac58ac3a765d067950e7dbbf75b1da07e895d1f594193a40a38b", + }, + { + "file": "requests-2.18.4.tar.gz", + "hash": "sha256:9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e", + }, + ] + win_inet = package.extras["socks"][0] assert win_inet.name == "win-inet-pton" assert win_inet.python_versions == "~2.7 || ~2.6" From 561db006ec3ab254c67bb6a83c4b6298e4fc6ff2 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Fri, 8 Jul 2022 14:15:03 +0200 Subject: [PATCH 4/4] test(repositories): remove `releases` key from version fixtures --- .../fixtures/pypi.org/json/attrs/17.4.0.json | 36 ---- .../pypi.org/json/cachecontrol/0.12.5.json | 116 ----------- .../pypi.org/json/colorama/0.3.9.json | 36 ---- .../pypi.org/json/funcsigs/1.0.2.json | 36 ---- .../pypi.org/json/ipython/4.1.0rc1.json | 137 ------------- .../pypi.org/json/lockfile/0.12.2.json | 38 ---- .../pypi.org/json/more-itertools/4.1.0.json | 52 ----- .../fixtures/pypi.org/json/pluggy/0.6.0.json | 20 -- .../fixtures/pypi.org/json/poetry/0.12.4.json | 182 ------------------ .../fixtures/pypi.org/json/py/1.5.3.json | 36 ---- .../fixtures/pypi.org/json/pytest/3.5.0.json | 36 ---- .../fixtures/pypi.org/json/six/1.11.0.json | 36 ---- 12 files changed, 761 deletions(-) diff --git a/tests/repositories/fixtures/pypi.org/json/attrs/17.4.0.json b/tests/repositories/fixtures/pypi.org/json/attrs/17.4.0.json index 739fdc3228d..87cc6eabab9 100644 --- a/tests/repositories/fixtures/pypi.org/json/attrs/17.4.0.json +++ b/tests/repositories/fixtures/pypi.org/json/attrs/17.4.0.json @@ -61,42 +61,6 @@ "version": "17.4.0" }, "last_serial": 3451237, - "releases": { - "17.4.0": [ - { - "comment_text": "", - "digests": { - "md5": "5835a573b3f0316e1602dac3fd9c1daf", - "sha256": "a17a9573a6f475c99b551c0e0a812707ddda1ec9653bed04c13841404ed6f450" - }, - "downloads": -1, - "filename": "attrs-17.4.0-py2.py3-none-any.whl", - "has_sig": true, - "md5_digest": "5835a573b3f0316e1602dac3fd9c1daf", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "size": 31658, - "upload_time": "2017-12-30T08:20:05", - "url": "https://files.pythonhosted.org/packages/b5/60/4e178c1e790fd60f1229a9b3cb2f8bc2f4cc6ff2c8838054c142c70b5adc/attrs-17.4.0-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "d7a89063b2e0fd36bd82389c4d82821d", - "sha256": "1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9" - }, - "downloads": -1, - "filename": "attrs-17.4.0.tar.gz", - "has_sig": true, - "md5_digest": "d7a89063b2e0fd36bd82389c4d82821d", - "packagetype": "sdist", - "python_version": "source", - "size": 97071, - "upload_time": "2017-12-30T08:20:08", - "url": "https://files.pythonhosted.org/packages/8b/0b/a06cfcb69d0cb004fde8bc6f0fd192d96d565d1b8aa2829f0f20adb796e5/attrs-17.4.0.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/cachecontrol/0.12.5.json b/tests/repositories/fixtures/pypi.org/json/cachecontrol/0.12.5.json index a185f6daedd..9caccabb548 100644 --- a/tests/repositories/fixtures/pypi.org/json/cachecontrol/0.12.5.json +++ b/tests/repositories/fixtures/pypi.org/json/cachecontrol/0.12.5.json @@ -46,122 +46,6 @@ "version": "0.12.5" }, "last_serial": 3939938, - "releases": { - "0.12.0": [ - { - "comment_text": "", - "digests": { - "md5": "807c457b3b7df9d1f23b1aad7f9c9a22", - "sha256": "ce479e88e697dc088297a5781daa2e812aa0dc888dc439602a308af6f4ff09e8" - }, - "downloads": -1, - "filename": "CacheControl-0.12.0.tar.gz", - "has_sig": false, - "md5_digest": "807c457b3b7df9d1f23b1aad7f9c9a22", - "packagetype": "sdist", - "python_version": "source", - "requires_python": null, - "size": 13815, - "upload_time": "2017-01-30T05:05:38", - "url": "https://files.pythonhosted.org/packages/41/ae/b9c375b001f13d73c0d8eba2264f6de955769f7cef9140d7fc192814255e/CacheControl-0.12.0.tar.gz" - } - ], - "0.12.1": [ - { - "comment_text": "", - "digests": { - "md5": "c6c5944d3a6f73bb752a4b4e2e1ffca5", - "sha256": "99c1506b98d53c222493e0ff65904c91aaedd7c8e235cb4f00287ddbbb597072" - }, - "downloads": -1, - "filename": "CacheControl-0.12.1.tar.gz", - "has_sig": false, - "md5_digest": "c6c5944d3a6f73bb752a4b4e2e1ffca5", - "packagetype": "sdist", - "python_version": "source", - "requires_python": null, - "size": 13939, - "upload_time": "2017-03-14T21:42:44", - "url": "https://files.pythonhosted.org/packages/3a/f7/075de886ad249f4ca08615ebd8bec9ce995ed6852790b6d9df38ae059e43/CacheControl-0.12.1.tar.gz" - } - ], - "0.12.2": [ - { - "comment_text": "", - "digests": { - "md5": "38667f538f36c641eb0b00d0db145823", - "sha256": "d7d919830d7edc5f4b355fa678a2ea49e9ccb67966abc373ec20f93f3f471265" - }, - "downloads": -1, - "filename": "CacheControl-0.12.2.tar.gz", - "has_sig": false, - "md5_digest": "38667f538f36c641eb0b00d0db145823", - "packagetype": "sdist", - "python_version": "source", - "requires_python": null, - "size": 14327, - "upload_time": "2017-03-27T15:49:21", - "url": "https://files.pythonhosted.org/packages/d2/6c/221f699710a6a643bd9a4324cf22ffb9fb73a089d2bfbed5fe4694f3caaf/CacheControl-0.12.2.tar.gz" - } - ], - "0.12.3": [ - { - "comment_text": "", - "digests": { - "md5": "45bf98a2e3435438dcee89e519b34195", - "sha256": "a9fc50e216c7c101f4ec4312f012dea501c2859cb256c7a68186a172ab71f632" - }, - "downloads": -1, - "filename": "CacheControl-0.12.3.tar.gz", - "has_sig": false, - "md5_digest": "45bf98a2e3435438dcee89e519b34195", - "packagetype": "sdist", - "python_version": "source", - "requires_python": null, - "size": 14345, - "upload_time": "2017-05-25T13:49:06", - "url": "https://files.pythonhosted.org/packages/a3/b3/6bb6c1535a283f01fe0c4e9644784756fee2ec080e2a6097f1c59325609e/CacheControl-0.12.3.tar.gz" - } - ], - "0.12.4": [ - { - "comment_text": "", - "digests": { - "md5": "464675fc575b3a0b841598cb916be516", - "sha256": "a7d21ba4e3633d95ac9fed5be205ee6d1da36bdc4b8914eb7a57ff50b7e5628c" - }, - "downloads": -1, - "filename": "CacheControl-0.12.4.tar.gz", - "has_sig": false, - "md5_digest": "464675fc575b3a0b841598cb916be516", - "packagetype": "sdist", - "python_version": "source", - "requires_python": null, - "size": 14471, - "upload_time": "2018-01-27T06:24:40", - "url": "https://files.pythonhosted.org/packages/98/f5/76619a63f0e4a1d2f5a1792ebc233a395c648c63d3461dc0331479ef120a/CacheControl-0.12.4.tar.gz" - } - ], - "0.12.5": [ - { - "comment_text": "", - "digests": { - "md5": "f1baef403e8dd68c5a203e2eb23a0f2e", - "sha256": "cef77effdf51b43178f6a2d3b787e3734f98ade253fa3187f3bb7315aaa42ff7" - }, - "downloads": -1, - "filename": "CacheControl-0.12.5.tar.gz", - "has_sig": false, - "md5_digest": "f1baef403e8dd68c5a203e2eb23a0f2e", - "packagetype": "sdist", - "python_version": "source", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 14383, - "upload_time": "2018-06-07T14:53:13", - "url": "https://files.pythonhosted.org/packages/5e/f0/2c193ed1f17c97ae539da7e1c2d48b80d8cccb1917163b26a91ca4355aa6/CacheControl-0.12.5.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/colorama/0.3.9.json b/tests/repositories/fixtures/pypi.org/json/colorama/0.3.9.json index d26defdaa2a..acf8cd62193 100644 --- a/tests/repositories/fixtures/pypi.org/json/colorama/0.3.9.json +++ b/tests/repositories/fixtures/pypi.org/json/colorama/0.3.9.json @@ -45,42 +45,6 @@ "version": "0.3.9" }, "last_serial": 2833818, - "releases": { - "0.3.9": [ - { - "comment_text": "", - "digests": { - "md5": "cc0c01c7b3b34d0354d813e9ab26aca3", - "sha256": "463f8483208e921368c9f306094eb6f725c6ca42b0f97e313cb5d5512459feda" - }, - "downloads": -1, - "filename": "colorama-0.3.9-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "cc0c01c7b3b34d0354d813e9ab26aca3", - "packagetype": "bdist_wheel", - "python_version": "2.7", - "size": 20181, - "upload_time": "2017-04-27T07:12:36", - "url": "https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "3a0e415259690f4dd7455c2683ee5850", - "sha256": "48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1" - }, - "downloads": -1, - "filename": "colorama-0.3.9.tar.gz", - "has_sig": false, - "md5_digest": "3a0e415259690f4dd7455c2683ee5850", - "packagetype": "sdist", - "python_version": "source", - "size": 25053, - "upload_time": "2017-04-27T07:12:12", - "url": "https://files.pythonhosted.org/packages/e6/76/257b53926889e2835355d74fec73d82662100135293e17d382e2b74d1669/colorama-0.3.9.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/funcsigs/1.0.2.json b/tests/repositories/fixtures/pypi.org/json/funcsigs/1.0.2.json index 29ec854606d..9f7f8fe8627 100644 --- a/tests/repositories/fixtures/pypi.org/json/funcsigs/1.0.2.json +++ b/tests/repositories/fixtures/pypi.org/json/funcsigs/1.0.2.json @@ -44,42 +44,6 @@ "version": "1.0.2" }, "last_serial": 2083703, - "releases": { - "1.0.2": [ - { - "comment_text": "", - "digests": { - "md5": "701d58358171f34b6d1197de2923a35a", - "sha256": "330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca" - }, - "downloads": -1, - "filename": "funcsigs-1.0.2-py2.py3-none-any.whl", - "has_sig": true, - "md5_digest": "701d58358171f34b6d1197de2923a35a", - "packagetype": "bdist_wheel", - "python_version": "2.7", - "size": 17697, - "upload_time": "2016-04-25T22:22:05", - "url": "https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "7e583285b1fb8a76305d6d68f4ccc14e", - "sha256": "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50" - }, - "downloads": -1, - "filename": "funcsigs-1.0.2.tar.gz", - "has_sig": true, - "md5_digest": "7e583285b1fb8a76305d6d68f4ccc14e", - "packagetype": "sdist", - "python_version": "source", - "size": 27947, - "upload_time": "2016-04-25T22:22:33", - "url": "https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/ipython/4.1.0rc1.json b/tests/repositories/fixtures/pypi.org/json/ipython/4.1.0rc1.json index ca3a2cc8dc6..df84973213d 100644 --- a/tests/repositories/fixtures/pypi.org/json/ipython/4.1.0rc1.json +++ b/tests/repositories/fixtures/pypi.org/json/ipython/4.1.0rc1.json @@ -70,143 +70,6 @@ "version": "4.1.0rc1" }, "last_serial": 3740674, - "releases": { - "0.10": {}, - "0.10.1": {}, - "0.10.2": {}, - "0.11": {}, - "0.12": {}, - "0.12.1": {}, - "0.13": {}, - "0.13.1": {}, - "0.13.2": {}, - "0.6.10": {}, - "0.6.11": {}, - "0.6.12": {}, - "0.6.13": {}, - "0.6.14": {}, - "0.6.15": {}, - "0.6.4": {}, - "0.6.5": {}, - "0.6.6": {}, - "0.6.7": {}, - "0.6.8": {}, - "0.6.9": {}, - "0.7.0": {}, - "0.7.1": {}, - "0.7.1.fix1": {}, - "0.7.2": {}, - "0.7.3": {}, - "0.7.4.svn.r2010": {}, - "0.8.0": {}, - "0.8.1": {}, - "0.8.2": {}, - "0.8.3": {}, - "0.8.4": {}, - "0.9": {}, - "0.9.1": {}, - "1.0.0": {}, - "1.1.0": {}, - "1.2.0": {}, - "1.2.1": {}, - "2.0.0": {}, - "2.1.0": {}, - "2.2.0": {}, - "2.3.0": {}, - "2.3.1": {}, - "2.4.0": {}, - "2.4.1": {}, - "3.0.0": {}, - "3.1.0": {}, - "3.2.0": {}, - "3.2.1": {}, - "3.2.2": {}, - "3.2.3": {}, - "4.0.0": {}, - "4.0.0-b1": {}, - "4.0.0b1": {}, - "4.0.1": {}, - "4.0.2": {}, - "4.0.3": {}, - "4.1.0": {}, - "4.1.0rc1": [ - { - "comment_text": "", - "digests": { - "md5": "512f0431c850c75a12baa9f8c4a9f12f", - "sha256": "4d0a08f3fd8837502bf33e9497a5ab28fe63e2fa4201765f378cb139c7a60d5f" - }, - "downloads": -1, - "filename": "ipython-4.1.0rc1-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "512f0431c850c75a12baa9f8c4a9f12f", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "size": 736900, - "upload_time": "2016-01-26T19:58:35", - "url": "https://files.pythonhosted.org/packages/ac/02/04a5d372b4e64f9c97b2846646aec1ce4532885005aa4ba51eb20b80e17f/ipython-4.1.0rc1-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "2aff56d8e78341f64663bcbc81366376", - "sha256": "6244a8e3293088ee31c1854abe1a1e7a409cf3ac2fb7579aa9616bdfadd3d4dc" - }, - "downloads": -1, - "filename": "ipython-4.1.0rc1.tar.gz", - "has_sig": false, - "md5_digest": "2aff56d8e78341f64663bcbc81366376", - "packagetype": "sdist", - "python_version": "source", - "size": 4933377, - "upload_time": "2016-01-26T19:58:53", - "url": "https://files.pythonhosted.org/packages/a0/de/f71f0c8b8a26ef28cc968fbf1859729ad3e68146cd2eb4a759e9c88da218/ipython-4.1.0rc1.tar.gz" - }, - { - "comment_text": "", - "digests": { - "md5": "a9ff233f176dd99b076b81dc8904ab7a", - "sha256": "efa3a5a676648cb18e2a2d3cd6353f3c83f0f704df8eb0eb6ae7d0dcbf187ea1" - }, - "downloads": -1, - "filename": "ipython-4.1.0rc1.zip", - "has_sig": false, - "md5_digest": "a9ff233f176dd99b076b81dc8904ab7a", - "packagetype": "sdist", - "python_version": "source", - "size": 5100723, - "upload_time": "2016-01-26T19:59:14", - "url": "https://files.pythonhosted.org/packages/71/f0/9d670266b840b8b921dc7106ecddd892f6fb893424883498e1ba3ec3a3a1/ipython-4.1.0rc1.zip" - } - ], - "4.1.0rc2": {}, - "4.1.1": {}, - "4.1.2": {}, - "4.2.0": {}, - "4.2.1": {}, - "5.0.0": {}, - "5.0.0b1": {}, - "5.0.0b2": {}, - "5.0.0b3": {}, - "5.0.0b4": {}, - "5.0.0rc1": {}, - "5.1.0": {}, - "5.2.0": {}, - "5.2.1": {}, - "5.2.2": {}, - "5.3.0": {}, - "5.4.0": {}, - "5.4.1": {}, - "5.5.0": {}, - "5.6.0": {}, - "6.0.0": {}, - "6.0.0rc1": {}, - "6.1.0": {}, - "6.2.0": {}, - "6.2.1": {}, - "6.3.0": {}, - "6.3.1": {} - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/lockfile/0.12.2.json b/tests/repositories/fixtures/pypi.org/json/lockfile/0.12.2.json index 53ba5f7bd18..b44e77b1a57 100644 --- a/tests/repositories/fixtures/pypi.org/json/lockfile/0.12.2.json +++ b/tests/repositories/fixtures/pypi.org/json/lockfile/0.12.2.json @@ -45,44 +45,6 @@ "version": "0.12.2" }, "last_serial": 2139845, - "releases": { - "0.12.2": [ - { - "comment_text": "", - "digests": { - "md5": "07b04864472c90cdf4452cf250687334", - "sha256": "6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa" - }, - "downloads": -1, - "filename": "lockfile-0.12.2-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "07b04864472c90cdf4452cf250687334", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "requires_python": null, - "size": 13564, - "upload_time": "2015-11-25T18:29:51", - "url": "https://files.pythonhosted.org/packages/c8/22/9460e311f340cb62d26a38c419b1381b8593b0bb6b5d1f056938b086d362/lockfile-0.12.2-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "a6a1a82957a23afdf44cfdd039b65ff9", - "sha256": "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" - }, - "downloads": -1, - "filename": "lockfile-0.12.2.tar.gz", - "has_sig": false, - "md5_digest": "a6a1a82957a23afdf44cfdd039b65ff9", - "packagetype": "sdist", - "python_version": "source", - "requires_python": null, - "size": 20874, - "upload_time": "2015-11-25T18:29:58", - "url": "https://files.pythonhosted.org/packages/17/47/72cb04a58a35ec495f96984dddb48232b551aafb95bde614605b754fe6f7/lockfile-0.12.2.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/more-itertools/4.1.0.json b/tests/repositories/fixtures/pypi.org/json/more-itertools/4.1.0.json index 371ecee546d..329810343cc 100644 --- a/tests/repositories/fixtures/pypi.org/json/more-itertools/4.1.0.json +++ b/tests/repositories/fixtures/pypi.org/json/more-itertools/4.1.0.json @@ -43,58 +43,6 @@ "version": "4.1.0" }, "last_serial": 3508946, - "releases": { - "4.1.0": [ - { - "comment_text": "", - "digests": { - "md5": "2a6a4b9abf941edf6d190fc995c0c935", - "sha256": "11a625025954c20145b37ff6309cd54e39ca94f72f6bb9576d1195db6fa2442e" - }, - "downloads": -1, - "filename": "more_itertools-4.1.0-py2-none-any.whl", - "has_sig": false, - "md5_digest": "2a6a4b9abf941edf6d190fc995c0c935", - "packagetype": "bdist_wheel", - "python_version": "py2", - "size": 47987, - "upload_time": "2018-01-21T15:34:19", - "url": "https://files.pythonhosted.org/packages/4a/88/c28e2a2da8f3dc3a391d9c97ad949f2ea0c05198222e7e6af176e5bf9b26/more_itertools-4.1.0-py2-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "3229d872f8d193e36119ec76e1b0c097", - "sha256": "0dd8f72eeab0d2c3bd489025bb2f6a1b8342f9b198f6fc37b52d15cfa4531fea" - }, - "downloads": -1, - "filename": "more_itertools-4.1.0-py3-none-any.whl", - "has_sig": false, - "md5_digest": "3229d872f8d193e36119ec76e1b0c097", - "packagetype": "bdist_wheel", - "python_version": "py3", - "size": 47988, - "upload_time": "2018-01-21T15:34:20", - "url": "https://files.pythonhosted.org/packages/7a/46/886917c6a4ce49dd3fff250c01c5abac5390d57992751384fe61befc4877/more_itertools-4.1.0-py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "246f46686d95879fbad37855c115dc52", - "sha256": "c9ce7eccdcb901a2c75d326ea134e0886abfbea5f93e91cc95de9507c0816c44" - }, - "downloads": -1, - "filename": "more-itertools-4.1.0.tar.gz", - "has_sig": false, - "md5_digest": "246f46686d95879fbad37855c115dc52", - "packagetype": "sdist", - "python_version": "source", - "size": 51310, - "upload_time": "2018-01-21T15:34:22", - "url": "https://files.pythonhosted.org/packages/db/0b/f5660bf6299ec5b9f17bd36096fa8148a1c843fa77ddfddf9bebac9301f7/more-itertools-4.1.0.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/pluggy/0.6.0.json b/tests/repositories/fixtures/pypi.org/json/pluggy/0.6.0.json index 15a40eeb9e7..7dd8deea2e8 100644 --- a/tests/repositories/fixtures/pypi.org/json/pluggy/0.6.0.json +++ b/tests/repositories/fixtures/pypi.org/json/pluggy/0.6.0.json @@ -46,26 +46,6 @@ "version": "0.6.0" }, "last_serial": 3361295, - "releases": { - "0.6.0": [ - { - "comment_text": "", - "digests": { - "md5": "ffdde7c3a5ba9a440404570366ffb6d5", - "sha256": "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff" - }, - "downloads": -1, - "filename": "pluggy-0.6.0.tar.gz", - "has_sig": false, - "md5_digest": "ffdde7c3a5ba9a440404570366ffb6d5", - "packagetype": "sdist", - "python_version": "source", - "size": 19678, - "upload_time": "2017-11-24T16:33:11", - "url": "https://files.pythonhosted.org/packages/11/bf/cbeb8cdfaffa9f2ea154a30ae31a9d04a1209312e2919138b4171a1f8199/pluggy-0.6.0.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/poetry/0.12.4.json b/tests/repositories/fixtures/pypi.org/json/poetry/0.12.4.json index 585f745921a..b0a7530a020 100644 --- a/tests/repositories/fixtures/pypi.org/json/poetry/0.12.4.json +++ b/tests/repositories/fixtures/pypi.org/json/poetry/0.12.4.json @@ -47,188 +47,6 @@ "version": "0.12.4" }, "last_serial": 4399781, - "releases": { - "0.12.0": [ - { - "comment_text": "", - "digests": { - "md5": "e41b413e4ee8d551cc867adb968843a5", - "sha256": "1c818dcca72a9dc5cd13a30e29654986e3e288f6b158673e3d5b2cc51dec2309" - }, - "downloads": -1, - "filename": "poetry-0.12.0-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "e41b413e4ee8d551cc867adb968843a5", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 627048, - "upload_time": "2018-10-17T20:31:41", - "url": "https://files.pythonhosted.org/packages/9f/34/cb438970b165513f66f681082092871aa3b88be60218f74ca933a8af4009/poetry-0.12.0-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "18c57cdba5fc86cb74b36e766114959b", - "sha256": "f8565669c5b7679fb5a560a1f93d367f7729f5f2ad1ed06e835549196e764fdb" - }, - "downloads": -1, - "filename": "poetry-0.12.0.tar.gz", - "has_sig": false, - "md5_digest": "18c57cdba5fc86cb74b36e766114959b", - "packagetype": "sdist", - "python_version": "source", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 145585, - "upload_time": "2018-10-17T20:31:43", - "url": "https://files.pythonhosted.org/packages/c6/68/471e26c5d04474aa51b4eb3173645b0e8987e4fb632a035488278d626438/poetry-0.12.0.tar.gz" - } - ], - "0.12.1": [ - { - "comment_text": "", - "digests": { - "md5": "01da4d43121437cd730160b803d4fe48", - "sha256": "2f1c3f3545ff0b192f543a35523ece22824bdee0954627960a7562ec0e377113" - }, - "downloads": -1, - "filename": "poetry-0.12.1-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "01da4d43121437cd730160b803d4fe48", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 627051, - "upload_time": "2018-10-17T21:24:48", - "url": "https://files.pythonhosted.org/packages/de/b4/087632dcc5d0d54bbc2c66a91d23ab6550c26e0849eab0ce713c638cbcb9/poetry-0.12.1-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "9dd2e98a85a36bde43d0f10b991d6982", - "sha256": "adefe0e70c91bc98b272a2c0dd7ac67882de62972eafac7625606b14cc49c8a9" - }, - "downloads": -1, - "filename": "poetry-0.12.1.tar.gz", - "has_sig": false, - "md5_digest": "9dd2e98a85a36bde43d0f10b991d6982", - "packagetype": "sdist", - "python_version": "source", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 145596, - "upload_time": "2018-10-17T21:24:51", - "url": "https://files.pythonhosted.org/packages/89/90/1698d2d1f7c3d25b62c701995cce4f0432308c9899614e34489e8d5c364a/poetry-0.12.1.tar.gz" - } - ], - "0.12.2": [ - { - "comment_text": "", - "digests": { - "md5": "8d52945ff3e6d057f0a5c8d43dbdd1be", - "sha256": "07bb0d57798b54564526a83b3b6ee31450e3ff9c91580deff7970402e8cf9648" - }, - "downloads": -1, - "filename": "poetry-0.12.2-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "8d52945ff3e6d057f0a5c8d43dbdd1be", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 627151, - "upload_time": "2018-10-17T21:55:08", - "url": "https://files.pythonhosted.org/packages/a5/62/4f4c9a0c49145e5368829806baa202f760403299d3a6a4d8d9e2dd277f85/poetry-0.12.2-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "03a09bf2b231701bc698e9fe2e237bd0", - "sha256": "1b9c7a70ac71a416c2b4ec69b89e37fa39afd965a1d0fe58a01e3121d89e98ef" - }, - "downloads": -1, - "filename": "poetry-0.12.2.tar.gz", - "has_sig": false, - "md5_digest": "03a09bf2b231701bc698e9fe2e237bd0", - "packagetype": "sdist", - "python_version": "source", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 145641, - "upload_time": "2018-10-17T21:55:09", - "url": "https://files.pythonhosted.org/packages/72/9d/30c6c7b2823bda75a568827fe518bc6fc7d59a199336767afb7ac888da4c/poetry-0.12.2.tar.gz" - } - ], - "0.12.3": [ - { - "comment_text": "", - "digests": { - "md5": "541da5e58318b5b5804ee068c9c98468", - "sha256": "936365627f5a29921886c5d2f9aef688899e691af706d136bf17d291a4f33d9b" - }, - "downloads": -1, - "filename": "poetry-0.12.3-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "541da5e58318b5b5804ee068c9c98468", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 630173, - "upload_time": "2018-10-18T23:53:33", - "url": "https://files.pythonhosted.org/packages/91/5c/fd1507d5950bf31050650b0ea973c3aa98cd231ed0a18ab36eefde7db9c3/poetry-0.12.3-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "48e88e9ae840e2f0c5da5cd00c8b5b1e", - "sha256": "dbc6f7269f8015d2f2408471f2b2eec2365b5bfd20cff8d9824664b67505aaae" - }, - "downloads": -1, - "filename": "poetry-0.12.3.tar.gz", - "has_sig": false, - "md5_digest": "48e88e9ae840e2f0c5da5cd00c8b5b1e", - "packagetype": "sdist", - "python_version": "source", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 146247, - "upload_time": "2018-10-18T23:53:35", - "url": "https://files.pythonhosted.org/packages/23/86/9166b68a9b9084eca5a3a53ef6131b3318a0b9c48ee8593623330e164c85/poetry-0.12.3.tar.gz" - } - ], - "0.12.4": [ - { - "comment_text": "", - "digests": { - "md5": "a7975e8b090eb3e006814d5e7c2c986f", - "sha256": "9d3759bf7f3d8107262cda917b615c185da57e96785a696dd1f117526917f850" - }, - "downloads": -1, - "filename": "poetry-0.12.4-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "a7975e8b090eb3e006814d5e7c2c986f", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 630184, - "upload_time": "2018-10-21T16:33:56", - "url": "https://files.pythonhosted.org/packages/1b/af/013cdcc6f9d4c0bf025b3924981991a8b034db7818fd324c525b7e8a2b6c/poetry-0.12.4-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "c3d1d7576d2ee6663b59e12236a163e9", - "sha256": "fc924ef535c9229aac4f7cfda948e64e890417242d808c0880febb0ea333b9f6" - }, - "downloads": -1, - "filename": "poetry-0.12.4.tar.gz", - "has_sig": false, - "md5_digest": "c3d1d7576d2ee6663b59e12236a163e9", - "packagetype": "sdist", - "python_version": "source", - "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - "size": 146262, - "upload_time": "2018-10-21T16:33:58", - "url": "https://files.pythonhosted.org/packages/b5/4f/8a864e12a4a03f13467d5ac3d0cc67e75130ae966e3528e9ecbe3df980d6/poetry-0.12.4.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/py/1.5.3.json b/tests/repositories/fixtures/pypi.org/json/py/1.5.3.json index a0d65a6e844..8e30b6ff9f8 100644 --- a/tests/repositories/fixtures/pypi.org/json/py/1.5.3.json +++ b/tests/repositories/fixtures/pypi.org/json/py/1.5.3.json @@ -47,42 +47,6 @@ "version": "1.5.3" }, "last_serial": 3694828, - "releases": { - "1.5.3": [ - { - "comment_text": "", - "digests": { - "md5": "3184fb17d224b073117a25336040d7c7", - "sha256": "983f77f3331356039fdd792e9220b7b8ee1aa6bd2b25f567a963ff1de5a64f6a" - }, - "downloads": -1, - "filename": "py-1.5.3-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "3184fb17d224b073117a25336040d7c7", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "size": 84903, - "upload_time": "2018-03-22T10:06:50", - "url": "https://files.pythonhosted.org/packages/67/a5/f77982214dd4c8fd104b066f249adea2c49e25e8703d284382eb5e9ab35a/py-1.5.3-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "667d37a148ad9fb81266492903f2d880", - "sha256": "29c9fab495d7528e80ba1e343b958684f4ace687327e6f789a94bf3d1915f881" - }, - "downloads": -1, - "filename": "py-1.5.3.tar.gz", - "has_sig": false, - "md5_digest": "667d37a148ad9fb81266492903f2d880", - "packagetype": "sdist", - "python_version": "source", - "size": 202335, - "upload_time": "2018-03-22T10:06:52", - "url": "https://files.pythonhosted.org/packages/f7/84/b4c6e84672c4ceb94f727f3da8344037b62cee960d80e999b1cd9b832d83/py-1.5.3.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/pytest/3.5.0.json b/tests/repositories/fixtures/pypi.org/json/pytest/3.5.0.json index 069f69cb4a5..4ef1bd29e70 100644 --- a/tests/repositories/fixtures/pypi.org/json/pytest/3.5.0.json +++ b/tests/repositories/fixtures/pypi.org/json/pytest/3.5.0.json @@ -54,42 +54,6 @@ "version": "3.5.0" }, "last_serial": 3697219, - "releases": { - "3.5.0": [ - { - "comment_text": "", - "digests": { - "md5": "c0b6697b7130c495aba71cdfcf939cc9", - "sha256": "6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c" - }, - "downloads": -1, - "filename": "pytest-3.5.0-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "c0b6697b7130c495aba71cdfcf939cc9", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "size": 194247, - "upload_time": "2018-03-22T23:47:54", - "url": "https://files.pythonhosted.org/packages/ed/96/271c93f75212c06e2a7ec3e2fa8a9c90acee0a4838dc05bf379ea09aae31/pytest-3.5.0-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "b8e13a4091f07ff1fda081cf40ff99f1", - "sha256": "fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1" - }, - "downloads": -1, - "filename": "pytest-3.5.0.tar.gz", - "has_sig": false, - "md5_digest": "b8e13a4091f07ff1fda081cf40ff99f1", - "packagetype": "sdist", - "python_version": "source", - "size": 830816, - "upload_time": "2018-03-22T23:47:56", - "url": "https://files.pythonhosted.org/packages/2d/56/6019153cdd743300c5688ab3b07702355283e53c83fbf922242c053ffb7b/pytest-3.5.0.tar.gz" - } - ] - }, "urls": [ { "comment_text": "", diff --git a/tests/repositories/fixtures/pypi.org/json/six/1.11.0.json b/tests/repositories/fixtures/pypi.org/json/six/1.11.0.json index befe565a645..e914ffee871 100644 --- a/tests/repositories/fixtures/pypi.org/json/six/1.11.0.json +++ b/tests/repositories/fixtures/pypi.org/json/six/1.11.0.json @@ -35,42 +35,6 @@ "version": "1.11.0" }, "last_serial": 3180827, - "releases": { - "1.11.0": [ - { - "comment_text": "", - "digests": { - "md5": "866ab722be6bdfed6830f3179af65468", - "sha256": "832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb" - }, - "downloads": -1, - "filename": "six-1.11.0-py2.py3-none-any.whl", - "has_sig": false, - "md5_digest": "866ab722be6bdfed6830f3179af65468", - "packagetype": "bdist_wheel", - "python_version": "py2.py3", - "size": 10702, - "upload_time": "2017-09-17T18:46:53", - "url": "https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl" - }, - { - "comment_text": "", - "digests": { - "md5": "d12789f9baf7e9fb2524c0c64f1773f8", - "sha256": "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" - }, - "downloads": -1, - "filename": "six-1.11.0.tar.gz", - "has_sig": false, - "md5_digest": "d12789f9baf7e9fb2524c0c64f1773f8", - "packagetype": "sdist", - "python_version": "source", - "size": 29860, - "upload_time": "2017-09-17T18:46:54", - "url": "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz" - } - ] - }, "urls": [ { "comment_text": "",