diff --git a/tests/conftest.py b/tests/conftest.py index bde53831e2a..6bc8d10165c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -630,6 +630,7 @@ def legacy_repository( mock_files_python_hosted_factory( [ FIXTURE_PATH_REPOSITORIES_PYPI / "dists", + FIXTURE_PATH_REPOSITORIES_PYPI / "stubbed", FIXTURE_PATH_DISTRIBUTIONS, ], FIXTURE_PATH_REPOSITORIES / "metadata", @@ -714,6 +715,7 @@ def pypi_repository( mock_files_python_hosted_factory( [ FIXTURE_PATH_REPOSITORIES_PYPI / "dists", + FIXTURE_PATH_REPOSITORIES_PYPI / "stubbed", FIXTURE_PATH_DISTRIBUTIONS, ], FIXTURE_PATH_REPOSITORIES / "metadata", diff --git a/tests/installation/conftest.py b/tests/installation/conftest.py index c19a17f6f88..e69de29bb2d 100644 --- a/tests/installation/conftest.py +++ b/tests/installation/conftest.py @@ -1,45 +0,0 @@ -from __future__ import annotations - -import re - -from pathlib import Path -from typing import TYPE_CHECKING -from typing import Any -from urllib.parse import urlparse - -import pytest - - -if TYPE_CHECKING: - from httpretty import httpretty - from httpretty.core import HTTPrettyRequest - - from tests.types import FixtureDirGetter - - -@pytest.fixture -def mock_file_downloads(http: type[httpretty], fixture_dir: FixtureDirGetter) -> None: - def callback( - request: HTTPrettyRequest, uri: str, headers: dict[str, Any] - ) -> list[int | dict[str, Any] | bytes]: - name = Path(urlparse(uri).path).name - - fixture = Path(__file__).parent.parent.joinpath( - "repositories/fixtures/pypi.org/dists/" + name - ) - - if not fixture.exists(): - fixture = fixture_dir("distributions") / name - - if not fixture.exists(): - fixture = ( - fixture_dir("distributions") / "demo-0.1.0-py2.py3-none-any.whl" - ) - - return [200, headers, fixture.read_bytes()] - - http.register_uri( - http.GET, - re.compile("^https://files.pythonhosted.org/.*$"), - body=callback, - ) diff --git a/tests/installation/fixtures/old-lock.test b/tests/installation/fixtures/old-lock.test index 2e058c7f01d..f1cedf2952e 100644 --- a/tests/installation/fixtures/old-lock.test +++ b/tests/installation/fixtures/old-lock.test @@ -103,7 +103,7 @@ py = [ {file = "py-1.5.3.tar.gz", hash = "sha256:29c9fab495d7528e80ba1e343b958684f4ace687327e6f789a94bf3d1915f881"}, ] pytest = [ - {file = "pytest-3.5.0-py2.py3-none-any.whl", hash = "sha256:6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c"}, + {file = "pytest-3.5.0-py2.py3-none-any.whl", hash = "sha256:28e4d9c2ae3196d74805c2eba24f350ae4c791a5b9b397c79b41506a48dc64ca"}, {file = "pytest-3.5.0.tar.gz", hash = "sha256:fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1"}, ] six = [ diff --git a/tests/installation/fixtures/with-pypi-repository.test b/tests/installation/fixtures/with-pypi-repository.test index 3ada7ffc673..653400c12c7 100644 --- a/tests/installation/fixtures/with-pypi-repository.test +++ b/tests/installation/fixtures/with-pypi-repository.test @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.0.dev0 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.9.0.dev0 and should not be changed by hand. [[package]] name = "attrs" @@ -7,8 +7,8 @@ description = "Classes Without Boilerplate" optional = false python-versions = "*" files = [ - {file = "attrs-17.4.0-py2.py3-none-any.whl", hash = "sha256:a17a9573a6f475c99b551c0e0a812707ddda1ec9653bed04c13841404ed6f450"}, - {file = "attrs-17.4.0.tar.gz", hash = "sha256:1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9"}, + {file = "attrs-17.4.0-py2.py3-none-any.whl", hash = "sha256:d38e57f381e891928357c68e300d28d3d4dcddc50486d5f8dfaf743d40477619"}, + {file = "attrs-17.4.0.tar.gz", hash = "sha256:a8727b9fe35f8938cbb51a5ce3b219a21e119f31593a530db429c2c37ebaa8c6"}, ] [package.extras] @@ -23,8 +23,8 @@ description = "Cross-platform colored terminal text." optional = false python-versions = "*" files = [ - {file = "colorama-0.3.9-py2.py3-none-any.whl", hash = "sha256:463f8483208e921368c9f306094eb6f725c6ca42b0f97e313cb5d5512459feda"}, - {file = "colorama-0.3.9.tar.gz", hash = "sha256:48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1"}, + {file = "colorama-0.3.9-py2.py3-none-any.whl", hash = "sha256:5b632359f1ed2b7676a869812ba0edaacb99be04679b29eb56c07a5e137ab5a2"}, + {file = "colorama-0.3.9.tar.gz", hash = "sha256:0a7cdc22e8579dae1cb9d5f5e65b9eb538fec711bf0dcb07a61b4f2701f544f0"}, ] [[package]] @@ -34,9 +34,9 @@ description = "More routines for operating on iterables, beyond itertools" optional = false python-versions = "*" files = [ - {file = "more-itertools-4.1.0.tar.gz", hash = "sha256:c9ce7eccdcb901a2c75d326ea134e0886abfbea5f93e91cc95de9507c0816c44"}, - {file = "more_itertools-4.1.0-py2-none-any.whl", hash = "sha256:11a625025954c20145b37ff6309cd54e39ca94f72f6bb9576d1195db6fa2442e"}, - {file = "more_itertools-4.1.0-py3-none-any.whl", hash = "sha256:0dd8f72eeab0d2c3bd489025bb2f6a1b8342f9b198f6fc37b52d15cfa4531fea"}, + {file = "more-itertools-4.1.0.tar.gz", hash = "sha256:ba5dd3cc0a0d2c036497bbaefe6a8130d9c8b4ac0563e3df5dfdabb8044981c6"}, + {file = "more_itertools-4.1.0-py2-none-any.whl", hash = "sha256:5dd7dfd88d2fdaea446da478ffef8d7151fdf26ee92ac7ed7b14e8d71efe4b62"}, + {file = "more_itertools-4.1.0-py3-none-any.whl", hash = "sha256:29b1e1661aaa56875ce090fa219fa84dfc13daecb52cd4fae321f6f57b419ec4"}, ] [package.dependencies] @@ -49,7 +49,7 @@ description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ - {file = "pluggy-0.6.0.tar.gz", hash = "sha256:7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff"}, + {file = "pluggy-0.6.0.tar.gz", hash = "sha256:c764684334fefd2390e89d15a9f37f8f8ca6ae0535c93954b26fbf6dace56808"}, ] [[package]] @@ -59,8 +59,8 @@ description = "library with cross-python path, ini-parsing, io, code, log facili optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ - {file = "py-1.5.3-py2.py3-none-any.whl", hash = "sha256:983f77f3331356039fdd792e9220b7b8ee1aa6bd2b25f567a963ff1de5a64f6a"}, - {file = "py-1.5.3.tar.gz", hash = "sha256:29c9fab495d7528e80ba1e343b958684f4ace687327e6f789a94bf3d1915f881"}, + {file = "py-1.5.3-py2.py3-none-any.whl", hash = "sha256:43ee6c7f95e0ec6a906de49906b79d138d89728fff17109d49f086abc2fdd985"}, + {file = "py-1.5.3.tar.gz", hash = "sha256:fb6b107b5494ac7c13c76221002934ae27d38cee67b21131f13e4b668562005f"}, ] [[package]] @@ -70,8 +70,8 @@ description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ - {file = "pytest-3.5.0-py2.py3-none-any.whl", hash = "sha256:6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c"}, - {file = "pytest-3.5.0.tar.gz", hash = "sha256:fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1"}, + {file = "pytest-3.5.0-py2.py3-none-any.whl", hash = "sha256:28e4d9c2ae3196d74805c2eba24f350ae4c791a5b9b397c79b41506a48dc64ca"}, + {file = "pytest-3.5.0.tar.gz", hash = "sha256:0db90e9c56935b2376a7e286f079183c756677ae565e3ca72e90fefd928229b5"}, ] [package.dependencies] @@ -106,8 +106,8 @@ description = "Python 2 and 3 compatibility utilities" optional = false python-versions = "*" files = [ - {file = "six-1.11.0-py2.py3-none-any.whl", hash = "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"}, - {file = "six-1.11.0.tar.gz", hash = "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9"}, + {file = "six-1.11.0-py2.py3-none-any.whl", hash = "sha256:112f5b46e6aa106db3e4e2494a03694c938f41c4c4535edbdfc816c2e0cb50f2"}, + {file = "six-1.11.0.tar.gz", hash = "sha256:a88c970d719b44e5297022628e578615ede4b0d040f9cff2d0695c048cd07f24"}, ] [metadata] diff --git a/tests/installation/test_chef.py b/tests/installation/test_chef.py index d8915a9303c..2925d387935 100644 --- a/tests/installation/test_chef.py +++ b/tests/installation/test_chef.py @@ -50,9 +50,7 @@ def setup(mocker: MockerFixture, pool: RepositoryPool) -> None: mocker.patch.object(Factory, "create_pool", return_value=pool) -def test_isolated_env_install_success( - pool: RepositoryPool, mock_file_downloads: None -) -> None: +def test_isolated_env_install_success(pool: RepositoryPool) -> None: with ephemeral_environment(Path(sys.executable)) as venv: env = IsolatedEnv(venv, pool) assert "poetry-core" not in venv.run("pip", "freeze") @@ -92,7 +90,6 @@ def test_prepare_sdist( config_cache_dir: Path, artifact_cache: ArtifactCache, fixture_dir: FixtureDirGetter, - mock_file_downloads: None, ) -> None: chef = Chef( artifact_cache, EnvManager.get_system_env(), Factory.create_pool(config) @@ -111,7 +108,6 @@ def test_prepare_directory( config_cache_dir: Path, artifact_cache: ArtifactCache, fixture_dir: FixtureDirGetter, - mock_file_downloads: None, ) -> None: chef = Chef( artifact_cache, EnvManager.get_system_env(), Factory.create_pool(config) @@ -155,7 +151,6 @@ def test_prepare_directory_editable( config_cache_dir: Path, artifact_cache: ArtifactCache, fixture_dir: FixtureDirGetter, - mock_file_downloads: None, ) -> None: chef = Chef( artifact_cache, EnvManager.get_system_env(), Factory.create_pool(config) diff --git a/tests/installation/test_executor.py b/tests/installation/test_executor.py index 787e44c27ec..b862d3f5141 100644 --- a/tests/installation/test_executor.py +++ b/tests/installation/test_executor.py @@ -29,7 +29,6 @@ from poetry.installation.operations import Uninstall from poetry.installation.operations import Update from poetry.installation.wheel_installer import WheelInstaller -from poetry.repositories.pypi_repository import PyPiRepository from poetry.repositories.repository_pool import RepositoryPool from poetry.utils.cache import ArtifactCache from poetry.utils.env import MockEnv @@ -43,6 +42,7 @@ from poetry.config.config import Config from poetry.installation.operations.operation import Operation + from poetry.repositories.pypi_repository import PyPiRepository from poetry.utils.env import VirtualEnv from tests.types import FixtureDirGetter @@ -125,7 +125,9 @@ def io_not_decorated() -> BufferedIO: @pytest.fixture def pool(pypi_repository: PyPiRepository) -> RepositoryPool: pool = RepositoryPool() - pool.add_repository(PyPiRepository(fallback=False)) + + pypi_repository._fallback = True + pool.add_repository(pypi_repository) return pool @@ -161,7 +163,6 @@ def test_execute_executes_a_batch_of_operations( pool: RepositoryPool, io: BufferedIO, tmp_path: Path, - mock_file_downloads: None, env: MockEnv, copy_wheel: Callable[[], Path], fixture_dir: FixtureDirGetter, @@ -274,7 +275,6 @@ def test_execute_prints_warning_for_yanked_package( pool: RepositoryPool, io: BufferedIO, tmp_path: Path, - mock_file_downloads: None, env: MockEnv, operations: list[Operation], has_warning: bool, @@ -308,7 +308,6 @@ def test_execute_prints_warning_for_invalid_wheels( pool: RepositoryPool, io: BufferedIO, tmp_path: Path, - mock_file_downloads: None, env: MockEnv, ) -> None: config.merge({"cache-dir": str(tmp_path)}) @@ -423,7 +422,6 @@ def test_execute_works_with_ansi_output( pool: RepositoryPool, io_decorated: BufferedIO, tmp_path: Path, - mock_file_downloads: None, env: MockEnv, ) -> None: config.merge({"cache-dir": str(tmp_path)}) @@ -460,7 +458,6 @@ def test_execute_works_with_no_ansi_output( pool: RepositoryPool, io_not_decorated: BufferedIO, tmp_path: Path, - mock_file_downloads: None, env: MockEnv, ) -> None: config.merge({"cache-dir": str(tmp_path)}) @@ -547,7 +544,6 @@ def test_executor_should_delete_incomplete_downloads( tmp_path: Path, mocker: MockerFixture, pool: RepositoryPool, - mock_file_downloads: None, env: MockEnv, ) -> None: cached_archive = tmp_path / "tomlkit-0.5.3-py2.py3-none-any.whl" @@ -694,7 +690,6 @@ def test_executor_should_write_pep610_url_references_for_non_wheel_files( config: Config, io: BufferedIO, fixture_dir: FixtureDirGetter, - mock_file_downloads: None, ) -> None: url = (fixture_dir("distributions") / "demo-0.1.0.tar.gz").resolve() package = Package("demo", "0.1.0", source_type="file", source_url=url.as_posix()) @@ -790,7 +785,6 @@ def test_executor_should_write_pep610_url_references_for_wheel_urls( pool: RepositoryPool, config: Config, io: BufferedIO, - mock_file_downloads: None, mocker: MockerFixture, fixture_dir: FixtureDirGetter, is_artifact_cached: bool, @@ -866,7 +860,6 @@ def test_executor_should_write_pep610_url_references_for_non_wheel_urls( pool: RepositoryPool, config: Config, io: BufferedIO, - mock_file_downloads: None, mocker: MockerFixture, fixture_dir: FixtureDirGetter, is_sdist_cached: bool, @@ -953,7 +946,6 @@ def test_executor_should_write_pep610_url_references_for_git( config: Config, artifact_cache: ArtifactCache, io: BufferedIO, - mock_file_downloads: None, wheel: Path, mocker: MockerFixture, fixture_dir: FixtureDirGetter, @@ -1017,7 +1009,6 @@ def test_executor_should_write_pep610_url_references_for_editable_git( config: Config, artifact_cache: ArtifactCache, io: BufferedIO, - mock_file_downloads: None, wheel: Path, mocker: MockerFixture, fixture_dir: FixtureDirGetter, @@ -1066,7 +1057,6 @@ def test_executor_should_append_subdirectory_for_git( config: Config, artifact_cache: ArtifactCache, io: BufferedIO, - mock_file_downloads: None, wheel: Path, ) -> None: package = Package( @@ -1097,7 +1087,6 @@ def test_executor_should_write_pep610_url_references_for_git_with_subdirectories config: Config, artifact_cache: ArtifactCache, io: BufferedIO, - mock_file_downloads: None, wheel: Path, ) -> None: package = Package( @@ -1168,7 +1157,6 @@ def test_executor_fallback_on_poetry_create_error_without_wheel_installer( pool: RepositoryPool, io: BufferedIO, tmp_path: Path, - mock_file_downloads: None, env: MockEnv, fixture_dir: FixtureDirGetter, ) -> None: @@ -1244,7 +1232,6 @@ def test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess( config: Config, pool: RepositoryPool, io: BufferedIO, - mock_file_downloads: None, env: MockEnv, fixture_dir: FixtureDirGetter, ) -> None: @@ -1313,7 +1300,6 @@ def test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_enc config: Config, pool: RepositoryPool, io: BufferedIO, - mock_file_downloads: None, env: MockEnv, fixture_dir: FixtureDirGetter, ) -> None: @@ -1349,7 +1335,6 @@ def test_build_system_requires_not_available( config: Config, pool: RepositoryPool, io: BufferedIO, - mock_file_downloads: None, env: MockEnv, fixture_dir: FixtureDirGetter, ) -> None: @@ -1395,7 +1380,6 @@ def test_build_system_requires_install_failure( config: Config, pool: RepositoryPool, io: BufferedIO, - mock_file_downloads: None, env: MockEnv, fixture_dir: FixtureDirGetter, ) -> None: @@ -1450,7 +1434,6 @@ def test_other_error( config: Config, pool: RepositoryPool, io: BufferedIO, - mock_file_downloads: None, env: MockEnv, fixture_dir: FixtureDirGetter, ) -> None: @@ -1562,7 +1545,6 @@ def test_executor_known_hashes( config: Config, io: BufferedIO, fixture_dir: FixtureDirGetter, - mock_file_downloads: None, ) -> None: # when installing sdist, an isolated build environment is required to extract metadata # this will install any build system requirements into the environment, to avoid failures when diff --git a/tests/installation/test_installer.py b/tests/installation/test_installer.py index d39f7df7a4a..0e526b741b2 100644 --- a/tests/installation/test_installer.py +++ b/tests/installation/test_installer.py @@ -33,7 +33,6 @@ from tests.helpers import MOCK_DEFAULT_GIT_REVISION from tests.helpers import get_dependency from tests.helpers import get_package -from tests.repositories.test_pypi_repository import MockRepository if TYPE_CHECKING: @@ -1096,16 +1095,16 @@ def test_run_installs_extras_with_deps_if_requested( assert installer.executor.removals_count == expected_removals_count -@pytest.mark.network def test_installer_with_pypi_repository( package: ProjectPackage, locker: Locker, installed: CustomInstalledRepository, config: Config, env: NullEnv, + pypi_repository: PyPiRepository, ) -> None: pool = RepositoryPool() - pool.add_repository(MockRepository()) + pool.add_repository(pypi_repository) installer = Installer( NullIO(), env, package, locker, pool, config, installed=installed @@ -1117,7 +1116,6 @@ def test_installer_with_pypi_repository( assert result == 0 expected = fixture("with-pypi-repository") - assert expected == locker.written_data diff --git a/tests/repositories/fixtures/legacy/pytest-with-extra-packages.html b/tests/repositories/fixtures/legacy/pytest-with-extra-packages.html index 428c2f5a0ee..2c1d3610186 100644 --- a/tests/repositories/fixtures/legacy/pytest-with-extra-packages.html +++ b/tests/repositories/fixtures/legacy/pytest-with-extra-packages.html @@ -7,7 +7,7 @@

Links for pytest

- pytest-3.5.0-py2.py3-none-any.whl
pytest-3.5.0.tar.gz
diff --git a/tests/repositories/fixtures/legacy/pytest.html b/tests/repositories/fixtures/legacy/pytest.html index 487444cc0ce..5601180545e 100644 --- a/tests/repositories/fixtures/legacy/pytest.html +++ b/tests/repositories/fixtures/legacy/pytest.html @@ -4,7 +4,7 @@ Links for pytest -

Links for pytest

pytest-3.5.0-py2.py3-none-any.whl
+

Links for pytest

pytest-3.5.0-py2.py3-none-any.whl
pytest-3.5.0.tar.gz
diff --git a/tests/repositories/fixtures/pypi.org/dists/pytest-3.5.0-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/dists/pytest-3.5.0-py2.py3-none-any.whl deleted file mode 100644 index 911f902125d..00000000000 Binary files a/tests/repositories/fixtures/pypi.org/dists/pytest-3.5.0-py2.py3-none-any.whl and /dev/null differ diff --git a/tests/repositories/fixtures/pypi.org/dists/pytest-3.5.1-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/dists/pytest-3.5.1-py2.py3-none-any.whl deleted file mode 100644 index 4eb8ce84187..00000000000 Binary files a/tests/repositories/fixtures/pypi.org/dists/pytest-3.5.1-py2.py3-none-any.whl and /dev/null differ 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 e7cc36a48d6..05c4159e14b 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 @@ -65,13 +65,13 @@ { "comment_text": "", "digests": { - "md5": "5835a573b3f0316e1602dac3fd9c1daf", - "sha256": "a17a9573a6f475c99b551c0e0a812707ddda1ec9653bed04c13841404ed6f450" + "md5": "9d32f2b5a93343e01f54d87740f2da60", + "sha256": "d38e57f381e891928357c68e300d28d3d4dcddc50486d5f8dfaf743d40477619" }, "downloads": -1, "filename": "attrs-17.4.0-py2.py3-none-any.whl", "has_sig": true, - "md5_digest": "5835a573b3f0316e1602dac3fd9c1daf", + "md5_digest": "9d32f2b5a93343e01f54d87740f2da60", "packagetype": "bdist_wheel", "python_version": "py2.py3", "size": 31658, @@ -81,13 +81,13 @@ { "comment_text": "", "digests": { - "md5": "d7a89063b2e0fd36bd82389c4d82821d", - "sha256": "1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9" + "md5": "8616d045c10fcefc04098b26327ed7a2", + "sha256": "a8727b9fe35f8938cbb51a5ce3b219a21e119f31593a530db429c2c37ebaa8c6" }, "downloads": -1, "filename": "attrs-17.4.0.tar.gz", "has_sig": true, - "md5_digest": "d7a89063b2e0fd36bd82389c4d82821d", + "md5_digest": "8616d045c10fcefc04098b26327ed7a2", "packagetype": "sdist", "python_version": "source", "size": 97071, diff --git a/tests/repositories/fixtures/pypi.org/json/black/19.10b0.json b/tests/repositories/fixtures/pypi.org/json/black/19.10b0.json index 3b766a815d5..84996136ff1 100644 --- a/tests/repositories/fixtures/pypi.org/json/black/19.10b0.json +++ b/tests/repositories/fixtures/pypi.org/json/black/19.10b0.json @@ -81,13 +81,13 @@ { "comment_text": "", "digests": { - "md5": "496632a95b73b8f5c5081d795a4e6af1", - "sha256": "c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539" + "md5": "fe37873d07c9b609301374a8b0b00a86", + "sha256": "620384969b02289ae5b39cdf7b092d7abae0dbe4d40e86c2bb6c457c8d6746e4" }, "downloads": -1, "filename": "black-19.10b0.tar.gz", "has_sig": true, - "md5_digest": "496632a95b73b8f5c5081d795a4e6af1", + "md5_digest": "fe37873d07c9b609301374a8b0b00a86", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", diff --git a/tests/repositories/fixtures/pypi.org/json/black/21.11b0.json b/tests/repositories/fixtures/pypi.org/json/black/21.11b0.json index f816ef3b96b..3a3151f7bb5 100644 --- a/tests/repositories/fixtures/pypi.org/json/black/21.11b0.json +++ b/tests/repositories/fixtures/pypi.org/json/black/21.11b0.json @@ -133,13 +133,13 @@ { "comment_text": "", "digests": { - "md5": "6040b4e4c6ccc4e7eb81bb2634ef299a", - "sha256": "83f3852301c8dcb229e9c444dd79f573c8d31c7c2dad9bbaaa94c808630e32aa" + "md5": "8f87bf1961fc6e7532d11ed532aa8bb8", + "sha256": "ad33921e7cc6b5045123a1b3b7daf6807f26bbbb6935eb8bc52d143a5d1d6057" }, "downloads": -1, "filename": "black-21.11b0.tar.gz", "has_sig": false, - "md5_digest": "6040b4e4c6ccc4e7eb81bb2634ef299a", + "md5_digest": "8f87bf1961fc6e7532d11ed532aa8bb8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.2", 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 9caccabb548..989eb18a5b3 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 @@ -50,13 +50,13 @@ { "comment_text": "", "digests": { - "md5": "f1baef403e8dd68c5a203e2eb23a0f2e", - "sha256": "cef77effdf51b43178f6a2d3b787e3734f98ade253fa3187f3bb7315aaa42ff7" + "md5": "c0c2e9a36661927466e8f32b5da695b2", + "sha256": "31f9dcb3d4a013f94f81646ae2d044a97bc9083dfcb0958f51bb82253ba92dec" }, "downloads": -1, "filename": "CacheControl-0.12.5.tar.gz", "has_sig": false, - "md5_digest": "f1baef403e8dd68c5a203e2eb23a0f2e", + "md5_digest": "c0c2e9a36661927466e8f32b5da695b2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", diff --git a/tests/repositories/fixtures/pypi.org/json/cleo/1.0.0a5.json b/tests/repositories/fixtures/pypi.org/json/cleo/1.0.0a5.json index 570ed2f108b..3dd0f9c654a 100644 --- a/tests/repositories/fixtures/pypi.org/json/cleo/1.0.0a5.json +++ b/tests/repositories/fixtures/pypi.org/json/cleo/1.0.0a5.json @@ -68,13 +68,13 @@ { "comment_text": "", "digests": { - "md5": "90e60b2ad117d3534f92a4ce37f9f462", - "sha256": "097c9d0e0332fd53cc89fc11eb0a6ba0309e6a3933c08f7b38558555486925d3" + "md5": "1ea4559e73cd5f5e3adeca77cb419943", + "sha256": "f258c532a52bf16af2305b007e762e718e73d2609b3f4630bdeeb068da9d5b76" }, "downloads": -1, "filename": "cleo-1.0.0a5.tar.gz", "has_sig": false, - "md5_digest": "90e60b2ad117d3534f92a4ce37f9f462", + "md5_digest": "1ea4559e73cd5f5e3adeca77cb419943", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", diff --git a/tests/repositories/fixtures/pypi.org/json/clikit/0.2.4.json b/tests/repositories/fixtures/pypi.org/json/clikit/0.2.4.json index 633cf18be8c..59ce4f43850 100644 --- a/tests/repositories/fixtures/pypi.org/json/clikit/0.2.4.json +++ b/tests/repositories/fixtures/pypi.org/json/clikit/0.2.4.json @@ -73,13 +73,13 @@ { "comment_text": "", "digests": { - "md5": "2543daad83b072e960ded5f68074a443", - "sha256": "d6807cf4a41e6b981b056075c0aefca2db1dabc597ed18fa4d92b8b2e2678835" + "md5": "6b66bd666a97691bf73cce1a663c3047", + "sha256": "722325813d9ec92a40b138af45a5167ec20d50a99751715b6187cbae10415479" }, "downloads": -1, "filename": "clikit-0.2.4.tar.gz", "has_sig": false, - "md5_digest": "2543daad83b072e960ded5f68074a443", + "md5_digest": "6b66bd666a97691bf73cce1a663c3047", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", 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 6ddef249f6c..fcd15058c3f 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 @@ -49,13 +49,13 @@ { "comment_text": "", "digests": { - "md5": "cc0c01c7b3b34d0354d813e9ab26aca3", - "sha256": "463f8483208e921368c9f306094eb6f725c6ca42b0f97e313cb5d5512459feda" + "md5": "faef2bbd3c2ecc43e0969877d67b4c92", + "sha256": "5b632359f1ed2b7676a869812ba0edaacb99be04679b29eb56c07a5e137ab5a2" }, "downloads": -1, "filename": "colorama-0.3.9-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "cc0c01c7b3b34d0354d813e9ab26aca3", + "md5_digest": "faef2bbd3c2ecc43e0969877d67b4c92", "packagetype": "bdist_wheel", "python_version": "2.7", "size": 20181, @@ -65,13 +65,13 @@ { "comment_text": "", "digests": { - "md5": "3a0e415259690f4dd7455c2683ee5850", - "sha256": "48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1" + "md5": "893dc382416f6ab49da4743935e5e5b8", + "sha256": "0a7cdc22e8579dae1cb9d5f5e65b9eb538fec711bf0dcb07a61b4f2701f544f0" }, "downloads": -1, "filename": "colorama-0.3.9.tar.gz", "has_sig": false, - "md5_digest": "3a0e415259690f4dd7455c2683ee5850", + "md5_digest": "893dc382416f6ab49da4743935e5e5b8", "packagetype": "sdist", "python_version": "source", "size": 25053, diff --git a/tests/repositories/fixtures/pypi.org/json/discord-py/2.0.0.json b/tests/repositories/fixtures/pypi.org/json/discord-py/2.0.0.json index be44790b769..6fa669e4592 100644 --- a/tests/repositories/fixtures/pypi.org/json/discord-py/2.0.0.json +++ b/tests/repositories/fixtures/pypi.org/json/discord-py/2.0.0.json @@ -91,13 +91,13 @@ { "comment_text": "", "digests": { - "md5": "3aaca51997210bd2ae4d4b5401c00ab7", - "sha256": "c36f26935938194c3465c2abf8ecfbbf5560c50b189f1b746d6f00d1e78c0d3b" + "md5": "e0a01822d5e04dec9a9d90416f385fe7", + "sha256": "029fcef24635075934723e72b127a637410b38609d5108a45416f8ead6c96f9b" }, "downloads": -1, "filename": "discord.py-2.0.0.tar.gz", "has_sig": false, - "md5_digest": "3aaca51997210bd2ae4d4b5401c00ab7", + "md5_digest": "e0a01822d5e04dec9a9d90416f385fe7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.8.0", 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 487ed79f531..0d849340fa0 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 @@ -48,13 +48,13 @@ { "comment_text": "", "digests": { - "md5": "701d58358171f34b6d1197de2923a35a", - "sha256": "330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca" + "md5": "bb61ae651a30926a4b4723e68f97238f", + "sha256": "510ab97424949e726b4b44294018e90142c9aadf8e737cf3a125b4cffed42e79" }, "downloads": -1, "filename": "funcsigs-1.0.2-py2.py3-none-any.whl", "has_sig": true, - "md5_digest": "701d58358171f34b6d1197de2923a35a", + "md5_digest": "bb61ae651a30926a4b4723e68f97238f", "packagetype": "bdist_wheel", "python_version": "2.7", "size": 17697, @@ -64,13 +64,13 @@ { "comment_text": "", "digests": { - "md5": "7e583285b1fb8a76305d6d68f4ccc14e", - "sha256": "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50" + "md5": "98ed19f3a9062bd3f35fb7b90c8d7473", + "sha256": "98ad3905f6cfa0a7358995f7fb19df7bacfd5d5407adca3a4f2638163ebb1408" }, "downloads": -1, "filename": "funcsigs-1.0.2.tar.gz", "has_sig": true, - "md5_digest": "7e583285b1fb8a76305d6d68f4ccc14e", + "md5_digest": "98ed19f3a9062bd3f35fb7b90c8d7473", "packagetype": "sdist", "python_version": "source", "size": 27947, diff --git a/tests/repositories/fixtures/pypi.org/json/hbmqtt/0.9.6.json b/tests/repositories/fixtures/pypi.org/json/hbmqtt/0.9.6.json index 5d58083834f..7f2ec0bb73d 100644 --- a/tests/repositories/fixtures/pypi.org/json/hbmqtt/0.9.6.json +++ b/tests/repositories/fixtures/pypi.org/json/hbmqtt/0.9.6.json @@ -90,13 +90,13 @@ { "comment_text": "", "digests": { - "md5": "cc1f010f129465cc396339640fcffed9", - "sha256": "6764d3c7cf6d056238c04709c23dbb72e2b0227495efd871c2f1da10a4472cd9" + "md5": "a0e79e7a9ffbfb6299e4af624cb7f0cb", + "sha256": "1d2150882e057b8946cf41daa9950cf81552ace314e6bf02f0d43380bf9a50e1" }, "downloads": -1, "filename": "hbmqtt-0.9.6.tar.gz", "has_sig": false, - "md5_digest": "cc1f010f129465cc396339640fcffed9", + "md5_digest": "a0e79e7a9ffbfb6299e4af624cb7f0cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, diff --git a/tests/repositories/fixtures/pypi.org/json/importlib-metadata/1.7.0.json b/tests/repositories/fixtures/pypi.org/json/importlib-metadata/1.7.0.json index 595674750f8..caf7fc3da1e 100644 --- a/tests/repositories/fixtures/pypi.org/json/importlib-metadata/1.7.0.json +++ b/tests/repositories/fixtures/pypi.org/json/importlib-metadata/1.7.0.json @@ -119,13 +119,13 @@ { "comment_text": "", "digests": { - "md5": "4505ea85600cca1e693a4f8f5dd27ba8", - "sha256": "90bb658cdbbf6d1735b6341ce708fc7024a3e14e99ffdc5783edea9f9b077f83" + "md5": "ce728306f5e813c84610842bdcf19003", + "sha256": "fd4253390eb13e83c0335a1a615517bfcf77aa158234500a485ef85c09519e32" }, "downloads": -1, "filename": "importlib_metadata-1.7.0.tar.gz", "has_sig": false, - "md5_digest": "4505ea85600cca1e693a4f8f5dd27ba8", + "md5_digest": "ce728306f5e813c84610842bdcf19003", "packagetype": "sdist", "python_version": "source", "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7", 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 df84973213d..c18e165d32f 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 @@ -74,13 +74,13 @@ { "comment_text": "", "digests": { - "md5": "512f0431c850c75a12baa9f8c4a9f12f", - "sha256": "4d0a08f3fd8837502bf33e9497a5ab28fe63e2fa4201765f378cb139c7a60d5f" + "md5": "ae0b233f09e1047a0240d30345b8ff91", + "sha256": "b593bcf0c53490f56809805a94b289403c8025859583a71f50c2305860ad187d" }, "downloads": -1, "filename": "ipython-4.1.0rc1-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "512f0431c850c75a12baa9f8c4a9f12f", + "md5_digest": "ae0b233f09e1047a0240d30345b8ff91", "packagetype": "bdist_wheel", "python_version": "py2.py3", "size": 736900, @@ -90,13 +90,13 @@ { "comment_text": "", "digests": { - "md5": "2aff56d8e78341f64663bcbc81366376", - "sha256": "6244a8e3293088ee31c1854abe1a1e7a409cf3ac2fb7579aa9616bdfadd3d4dc" + "md5": "aa0ac31879412727dc00a1e290b4c2b0", + "sha256": "b5383459cd106ab549a2d0535a5b36247f08d7de01b367bc21e4448cdf322c7f" }, "downloads": -1, "filename": "ipython-4.1.0rc1.tar.gz", "has_sig": false, - "md5_digest": "2aff56d8e78341f64663bcbc81366376", + "md5_digest": "aa0ac31879412727dc00a1e290b4c2b0", "packagetype": "sdist", "python_version": "source", "size": 4933377, @@ -106,13 +106,13 @@ { "comment_text": "", "digests": { - "md5": "a9ff233f176dd99b076b81dc8904ab7a", - "sha256": "efa3a5a676648cb18e2a2d3cd6353f3c83f0f704df8eb0eb6ae7d0dcbf187ea1" + "md5": "1f18b85e1d93dc10554ade23864f02cc", + "sha256": "8fe8ae7e62942f58b24b908fa2bee3dce0e2470a8cd22ea753f2de9bedf5ffc5" }, "downloads": -1, "filename": "ipython-4.1.0rc1.zip", "has_sig": false, - "md5_digest": "a9ff233f176dd99b076b81dc8904ab7a", + "md5_digest": "1f18b85e1d93dc10554ade23864f02cc", "packagetype": "sdist", "python_version": "source", "size": 5100723, diff --git a/tests/repositories/fixtures/pypi.org/json/jupyter/1.0.0.json b/tests/repositories/fixtures/pypi.org/json/jupyter/1.0.0.json index 3f305d40af1..f6ba3b1a417 100644 --- a/tests/repositories/fixtures/pypi.org/json/jupyter/1.0.0.json +++ b/tests/repositories/fixtures/pypi.org/json/jupyter/1.0.0.json @@ -90,13 +90,13 @@ { "comment_text": "", "digests": { - "md5": "25142b08e2ad7142b6f920bc8cc8dfeb", - "sha256": "3e1f86076bbb7c8c207829390305a2b1fe836d471ed54be66a3b8c41e7f46cc7" + "md5": "f17788876b1a2a293259677e9fe6f89c", + "sha256": "ec5fe067c28aa2a4cf2764305c5853d8e820bdec0f90d5c1affded6d9c657411" }, "downloads": -1, "filename": "jupyter-1.0.0.zip", "has_sig": false, - "md5_digest": "25142b08e2ad7142b6f920bc8cc8dfeb", + "md5_digest": "f17788876b1a2a293259677e9fe6f89c", "packagetype": "sdist", "python_version": "source", "requires_python": null, 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 b44e77b1a57..24a21c08a50 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 @@ -49,13 +49,13 @@ { "comment_text": "", "digests": { - "md5": "07b04864472c90cdf4452cf250687334", - "sha256": "6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa" + "md5": "71d44ac2adeca84c00c0291e1635382a", + "sha256": "62e668c1cb0ef8eeb837d21c2f5a5748ea6eed3d079669df290fda8172825f90" }, "downloads": -1, "filename": "lockfile-0.12.2-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "07b04864472c90cdf4452cf250687334", + "md5_digest": "71d44ac2adeca84c00c0291e1635382a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, @@ -66,13 +66,13 @@ { "comment_text": "", "digests": { - "md5": "a6a1a82957a23afdf44cfdd039b65ff9", - "sha256": "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" + "md5": "be5701273128a490b818d56ca5352502", + "sha256": "3d0e998282d12ae349b4c78bd28a5f8a984d99f4a850499dbb480e4e1780552f" }, "downloads": -1, "filename": "lockfile-0.12.2.tar.gz", "has_sig": false, - "md5_digest": "a6a1a82957a23afdf44cfdd039b65ff9", + "md5_digest": "be5701273128a490b818d56ca5352502", "packagetype": "sdist", "python_version": "source", "requires_python": null, 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 7f86866b37f..bed5fc5927a 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 @@ -47,13 +47,13 @@ { "comment_text": "", "digests": { - "md5": "2a6a4b9abf941edf6d190fc995c0c935", - "sha256": "11a625025954c20145b37ff6309cd54e39ca94f72f6bb9576d1195db6fa2442e" + "md5": "c70269eabc5fae5e0d93c2eca638720e", + "sha256": "5dd7dfd88d2fdaea446da478ffef8d7151fdf26ee92ac7ed7b14e8d71efe4b62" }, "downloads": -1, "filename": "more_itertools-4.1.0-py2-none-any.whl", "has_sig": false, - "md5_digest": "2a6a4b9abf941edf6d190fc995c0c935", + "md5_digest": "c70269eabc5fae5e0d93c2eca638720e", "packagetype": "bdist_wheel", "python_version": "py2", "size": 47987, @@ -63,13 +63,13 @@ { "comment_text": "", "digests": { - "md5": "3229d872f8d193e36119ec76e1b0c097", - "sha256": "0dd8f72eeab0d2c3bd489025bb2f6a1b8342f9b198f6fc37b52d15cfa4531fea" + "md5": "26d7c309ef806b4e563d2a7e4ceafb14", + "sha256": "29b1e1661aaa56875ce090fa219fa84dfc13daecb52cd4fae321f6f57b419ec4" }, "downloads": -1, "filename": "more_itertools-4.1.0-py3-none-any.whl", "has_sig": false, - "md5_digest": "3229d872f8d193e36119ec76e1b0c097", + "md5_digest": "26d7c309ef806b4e563d2a7e4ceafb14", "packagetype": "bdist_wheel", "python_version": "py3", "size": 47988, @@ -79,13 +79,13 @@ { "comment_text": "", "digests": { - "md5": "246f46686d95879fbad37855c115dc52", - "sha256": "c9ce7eccdcb901a2c75d326ea134e0886abfbea5f93e91cc95de9507c0816c44" + "md5": "e484925a107e474f918879f68c517230", + "sha256": "ba5dd3cc0a0d2c036497bbaefe6a8130d9c8b4ac0563e3df5dfdabb8044981c6" }, "downloads": -1, "filename": "more-itertools-4.1.0.tar.gz", "has_sig": false, - "md5_digest": "246f46686d95879fbad37855c115dc52", + "md5_digest": "e484925a107e474f918879f68c517230", "packagetype": "sdist", "python_version": "source", "size": 51310, 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 1ce124ceb65..fc89c6c810e 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 @@ -50,13 +50,13 @@ { "comment_text": "", "digests": { - "md5": "ffdde7c3a5ba9a440404570366ffb6d5", - "sha256": "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff" + "md5": "6ed061419b7d344bfa713a87f7f07f97", + "sha256": "c764684334fefd2390e89d15a9f37f8f8ca6ae0535c93954b26fbf6dace56808" }, "downloads": -1, "filename": "pluggy-0.6.0.tar.gz", "has_sig": false, - "md5_digest": "ffdde7c3a5ba9a440404570366ffb6d5", + "md5_digest": "6ed061419b7d344bfa713a87f7f07f97", "packagetype": "sdist", "python_version": "source", "size": 19678, diff --git a/tests/repositories/fixtures/pypi.org/json/poetry-core/1.5.0.json b/tests/repositories/fixtures/pypi.org/json/poetry-core/1.5.0.json index 9cfc450c625..93114d70b89 100644 --- a/tests/repositories/fixtures/pypi.org/json/poetry-core/1.5.0.json +++ b/tests/repositories/fixtures/pypi.org/json/poetry-core/1.5.0.json @@ -73,14 +73,13 @@ { "comment_text": "", "digests": { - "blake2b_256": "57bb2435fef60bb01f6c0891d9482c7053b50e90639f0f74d7658e99bdd4da69", - "md5": "481671a4895af7cdda4944eab67f3843", - "sha256": "253521bb7104e1df81f64d7b49ea1825057c91fa156d7d0bd752fefdad6f8c7a" + "md5": "0161e715b545e61c12a244e8f6e975d7", + "sha256": "6c01ed311b937712b92d4f4602c8fe6d896dff9fc7270db5ce25416a430b90d9" }, "downloads": -1, "filename": "poetry_core-1.5.0.tar.gz", "has_sig": false, - "md5_digest": "481671a4895af7cdda4944eab67f3843", + "md5_digest": "0161e715b545e61c12a244e8f6e975d7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", 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 b0a7530a020..1ef69b2acae 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 @@ -51,13 +51,13 @@ { "comment_text": "", "digests": { - "md5": "a7975e8b090eb3e006814d5e7c2c986f", - "sha256": "9d3759bf7f3d8107262cda917b615c185da57e96785a696dd1f117526917f850" + "md5": "763b00c6295dfdc3d0223eb35eadffb3", + "sha256": "1819c1587198652bafb1698b6ef1f70f4ff85682e536ca991509e9b1e679cc21" }, "downloads": -1, "filename": "poetry-0.12.4-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "a7975e8b090eb3e006814d5e7c2c986f", + "md5_digest": "763b00c6295dfdc3d0223eb35eadffb3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", @@ -68,13 +68,13 @@ { "comment_text": "", "digests": { - "md5": "c3d1d7576d2ee6663b59e12236a163e9", - "sha256": "fc924ef535c9229aac4f7cfda948e64e890417242d808c0880febb0ea333b9f6" + "md5": "0373715028efd744b17b7ab0bd4b630c", + "sha256": "f4ae546759ff787f979cf2a45200bfb3ab3be4e78a2a274175023c5582eb1592" }, "downloads": -1, "filename": "poetry-0.12.4.tar.gz", "has_sig": false, - "md5_digest": "c3d1d7576d2ee6663b59e12236a163e9", + "md5_digest": "0373715028efd744b17b7ab0bd4b630c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", 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 4c998966bd8..cf5f505d3d0 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 @@ -51,13 +51,13 @@ { "comment_text": "", "digests": { - "md5": "3184fb17d224b073117a25336040d7c7", - "sha256": "983f77f3331356039fdd792e9220b7b8ee1aa6bd2b25f567a963ff1de5a64f6a" + "md5": "98652ecee6fc3bb5393a17828f93e1fb", + "sha256": "43ee6c7f95e0ec6a906de49906b79d138d89728fff17109d49f086abc2fdd985" }, "downloads": -1, "filename": "py-1.5.3-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "3184fb17d224b073117a25336040d7c7", + "md5_digest": "98652ecee6fc3bb5393a17828f93e1fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "size": 84903, @@ -67,13 +67,13 @@ { "comment_text": "", "digests": { - "md5": "667d37a148ad9fb81266492903f2d880", - "sha256": "29c9fab495d7528e80ba1e343b958684f4ace687327e6f789a94bf3d1915f881" + "md5": "b2232d9cf4700db53a6cfa80236ae37f", + "sha256": "fb6b107b5494ac7c13c76221002934ae27d38cee67b21131f13e4b668562005f" }, "downloads": -1, "filename": "py-1.5.3.tar.gz", "has_sig": false, - "md5_digest": "667d37a148ad9fb81266492903f2d880", + "md5_digest": "b2232d9cf4700db53a6cfa80236ae37f", "packagetype": "sdist", "python_version": "source", "size": 202335, diff --git a/tests/repositories/fixtures/pypi.org/json/pylev/1.3.0.json b/tests/repositories/fixtures/pypi.org/json/pylev/1.3.0.json index 32299a2452f..ebd1e1bc892 100644 --- a/tests/repositories/fixtures/pypi.org/json/pylev/1.3.0.json +++ b/tests/repositories/fixtures/pypi.org/json/pylev/1.3.0.json @@ -46,13 +46,13 @@ { "comment_text": "", "digests": { - "md5": "6da14dfce5034873fc5c2d7a6e83dc29", - "sha256": "1d29a87beb45ebe1e821e7a3b10da2b6b2f4c79b43f482c2df1a1f748a6e114e" + "md5": "4a18ac5d436decb5e4ef80633930559e", + "sha256": "79fe82d35708f7308ec60e7f424b15fc294fb43aca6c673679051a73be1b1e1d" }, "downloads": -1, "filename": "pylev-1.3.0-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "6da14dfce5034873fc5c2d7a6e83dc29", + "md5_digest": "4a18ac5d436decb5e4ef80633930559e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, @@ -66,13 +66,13 @@ { "comment_text": "", "digests": { - "md5": "3be579cfc32ce5140cc04001f898741b", - "sha256": "063910098161199b81e453025653ec53556c1be7165a9b7c50be2f4d57eae1c3" + "md5": "656169d0759eaf029f048e4dc8649818", + "sha256": "b85c5d4650488fb54534ed418e32a2442f98f7e7c7b296c3cf239e42790e7091" }, "downloads": -1, "filename": "pylev-1.3.0.tar.gz", "has_sig": false, - "md5_digest": "3be579cfc32ce5140cc04001f898741b", + "md5_digest": "656169d0759eaf029f048e4dc8649818", "packagetype": "sdist", "python_version": "source", "requires_python": null, diff --git a/tests/repositories/fixtures/pypi.org/json/pytest.json b/tests/repositories/fixtures/pypi.org/json/pytest.json index 6b600d14a84..3b1f9e0de67 100644 --- a/tests/repositories/fixtures/pypi.org/json/pytest.json +++ b/tests/repositories/fixtures/pypi.org/json/pytest.json @@ -6,7 +6,7 @@ "url": "https://files.pythonhosted.org/packages/ed/96/271c93f75212c06e2a7ec3e2fa8a9c90acee0a4838dc05bf379ea09aae31/pytest-3.5.0-py2.py3-none-any.whl", "hashes": { "md5": "c0b6697b7130c495aba71cdfcf939cc9", - "sha256": "6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c" + "sha256": "28e4d9c2ae3196d74805c2eba24f350ae4c791a5b9b397c79b41506a48dc64ca" } }, { 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 d279d12991b..7743725696a 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 @@ -58,13 +58,13 @@ { "comment_text": "", "digests": { - "md5": "c0b6697b7130c495aba71cdfcf939cc9", - "sha256": "6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c" + "md5": "d3b1e9aea9e5b9e7a226d8b08aa43662", + "sha256": "28e4d9c2ae3196d74805c2eba24f350ae4c791a5b9b397c79b41506a48dc64ca" }, "downloads": -1, "filename": "pytest-3.5.0-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "c0b6697b7130c495aba71cdfcf939cc9", + "md5_digest": "d3b1e9aea9e5b9e7a226d8b08aa43662", "packagetype": "bdist_wheel", "python_version": "py2.py3", "size": 194247, @@ -74,13 +74,13 @@ { "comment_text": "", "digests": { - "md5": "b8e13a4091f07ff1fda081cf40ff99f1", - "sha256": "fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1" + "md5": "83daa1bb948dfb1fe4a0df1c61455fb7", + "sha256": "0db90e9c56935b2376a7e286f079183c756677ae565e3ca72e90fefd928229b5" }, "downloads": -1, "filename": "pytest-3.5.0.tar.gz", "has_sig": false, - "md5_digest": "b8e13a4091f07ff1fda081cf40ff99f1", + "md5_digest": "83daa1bb948dfb1fe4a0df1c61455fb7", "packagetype": "sdist", "python_version": "source", "size": 830816, diff --git a/tests/repositories/fixtures/pypi.org/json/pytest/3.5.1.json b/tests/repositories/fixtures/pypi.org/json/pytest/3.5.1.json index 684d341cf6c..3a0fe1c5c01 100644 --- a/tests/repositories/fixtures/pypi.org/json/pytest/3.5.1.json +++ b/tests/repositories/fixtures/pypi.org/json/pytest/3.5.1.json @@ -66,13 +66,13 @@ { "comment_text": "", "digests": { - "md5": "01b206fe1d54f5255c360743ac9a044d", - "sha256": "829230122facf05a5f81a6d4dfe6454a04978ea3746853b2b84567ecf8e5c526" + "md5": "f1de372a436700e3a785e85c11d15821", + "sha256": "6d3e83b1c1697d220137e436980e73b3ca674f643e666d7c24b0321cb57b76a4" }, "downloads": -1, "filename": "pytest-3.5.1-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "01b206fe1d54f5255c360743ac9a044d", + "md5_digest": "f1de372a436700e3a785e85c11d15821", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", @@ -86,13 +86,13 @@ { "comment_text": "", "digests": { - "md5": "ffd870ee3ca561695d2f916f0f0f3c0b", - "sha256": "54713b26c97538db6ff0703a12b19aeaeb60b5e599de542e7fca0ec83b9038e8" + "md5": "8f0e4edb36ae4c32cb39c368cf53fbfe", + "sha256": "c1ca02d2a1952da24b56aa533a61052de22a95e3927195ca0a2ab84840bb2332" }, "downloads": -1, "filename": "pytest-3.5.1.tar.gz", "has_sig": false, - "md5_digest": "ffd870ee3ca561695d2f916f0f0f3c0b", + "md5_digest": "8f0e4edb36ae4c32cb39c368cf53fbfe", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", diff --git a/tests/repositories/fixtures/pypi.org/json/pyyaml/3.13.0.json b/tests/repositories/fixtures/pypi.org/json/pyyaml/3.13.0.json index bb718fe500f..4c94d073314 100644 --- a/tests/repositories/fixtures/pypi.org/json/pyyaml/3.13.0.json +++ b/tests/repositories/fixtures/pypi.org/json/pyyaml/3.13.0.json @@ -52,13 +52,13 @@ { "comment_text": "", "digests": { - "md5": "a83441aa7004e474bed6f6daeb61f27a", - "sha256": "d5eef459e30b09f5a098b9cea68bebfeb268697f78d647bd255a085371ac7f3f" + "md5": "57862339584f6f631cb2cd434c0dce22", + "sha256": "0cac9398d467c1d43b14380faeaa90dfc99223c0cf8d08ddb5168156240e9fc0" }, "downloads": -1, "filename": "PyYAML-3.13-cp27-cp27m-win32.whl", "has_sig": false, - "md5_digest": "a83441aa7004e474bed6f6daeb61f27a", + "md5_digest": "57862339584f6f631cb2cd434c0dce22", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, @@ -72,13 +72,13 @@ { "comment_text": "", "digests": { - "md5": "dd05ba2d6cb042452a3849dea13b94f0", - "sha256": "e01d3203230e1786cd91ccfdc8f8454c8069c91bee3962ad93b87a4b2860f537" + "md5": "595ab135b3b5d73984b6aa3c430804dc", + "sha256": "22604446b01612af63e369c6bed7a2c454eda9bd5ccb7edf9bfbfd39a14ae464" }, "downloads": -1, "filename": "PyYAML-3.13-cp27-cp27m-win_amd64.whl", "has_sig": false, - "md5_digest": "dd05ba2d6cb042452a3849dea13b94f0", + "md5_digest": "595ab135b3b5d73984b6aa3c430804dc", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, @@ -92,13 +92,13 @@ { "comment_text": "", "digests": { - "md5": "49365caa070d53e30deceae118e4fea8", - "sha256": "558dd60b890ba8fd982e05941927a3911dc409a63dcb8b634feaa0cda69330d3" + "md5": "febd1e0a6e54bc16ead1a355a41ef2a0", + "sha256": "8e537c28684698935e2c86a5ed6bc5af736e46712e9a7f8a4c69f3694f4b6bc3" }, "downloads": -1, "filename": "PyYAML-3.13-cp34-cp34m-win32.whl", "has_sig": false, - "md5_digest": "49365caa070d53e30deceae118e4fea8", + "md5_digest": "febd1e0a6e54bc16ead1a355a41ef2a0", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, @@ -112,13 +112,13 @@ { "comment_text": "", "digests": { - "md5": "0c486a54c19dd18b9e65a559886935c4", - "sha256": "d46d7982b62e0729ad0175a9bc7e10a566fc07b224d2c79fafb5e032727eaa04" + "md5": "ca6e472447f541d5a1bf5ff998e8fc2e", + "sha256": "a1ecddafcc43a383acb99f241ca7da0011082dd7a9236495ba8a87fbad0c40d2" }, "downloads": -1, "filename": "PyYAML-3.13-cp34-cp34m-win_amd64.whl", "has_sig": false, - "md5_digest": "0c486a54c19dd18b9e65a559886935c4", + "md5_digest": "ca6e472447f541d5a1bf5ff998e8fc2e", "packagetype": "bdist_wheel", "python_version": "cp34", "requires_python": null, @@ -132,13 +132,13 @@ { "comment_text": "", "digests": { - "md5": "53ce2b9f6b741fb2f070d12839b5789e", - "sha256": "a7c28b45d9f99102fa092bb213aa12e0aaf9a6a1f5e395d36166639c1f96c3a1" + "md5": "2f45666423475f050b5b5785930e5876", + "sha256": "e0aa0b28e3faf7a8bcb8f4ab3d28e4fb01d687bcfb75e5f6b12d53b82f99b6cc" }, "downloads": -1, "filename": "PyYAML-3.13-cp35-cp35m-win32.whl", "has_sig": false, - "md5_digest": "53ce2b9f6b741fb2f070d12839b5789e", + "md5_digest": "2f45666423475f050b5b5785930e5876", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, @@ -152,13 +152,13 @@ { "comment_text": "", "digests": { - "md5": "1b70e7ced4c82364bda4ac9094d6e259", - "sha256": "bc558586e6045763782014934bfaf39d48b8ae85a2713117d16c39864085c613" + "md5": "a21cdc697d03b9b446f95e6d6b5ab93e", + "sha256": "b96803e106c5ebbae46018e0523ec7dc970d95b2cf8761d6c0a2c75d8d5c027b" }, "downloads": -1, "filename": "PyYAML-3.13-cp35-cp35m-win_amd64.whl", "has_sig": false, - "md5_digest": "1b70e7ced4c82364bda4ac9094d6e259", + "md5_digest": "a21cdc697d03b9b446f95e6d6b5ab93e", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, @@ -172,13 +172,13 @@ { "comment_text": "", "digests": { - "md5": "8f62197b853b5b387ff588df05cee7a6", - "sha256": "40c71b8e076d0550b2e6380bada1f1cd1017b882f7e16f09a65be98e017f211a" + "md5": "088e59a995c3387ebe666841bc02ab1b", + "sha256": "9a3dbf2d52067e59d74d161655e6d841596cd736ad17f5fdadd9eb9416faddef" }, "downloads": -1, "filename": "PyYAML-3.13-cp36-cp36m-win32.whl", "has_sig": false, - "md5_digest": "8f62197b853b5b387ff588df05cee7a6", + "md5_digest": "088e59a995c3387ebe666841bc02ab1b", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, @@ -192,13 +192,13 @@ { "comment_text": "", "digests": { - "md5": "ff7280dd032d202b417871d39febadec", - "sha256": "3d7da3009c0f3e783b2c873687652d83b1bbfd5c88e9813fb7e5b03c0dd3108b" + "md5": "a4db4b28a9d04264f93d1aaf0d0ae88d", + "sha256": "cc1531e17d6de77b03971719feb1e8e5ff976bea3d645c3772dbb9fbb91ffde1" }, "downloads": -1, "filename": "PyYAML-3.13-cp36-cp36m-win_amd64.whl", "has_sig": false, - "md5_digest": "ff7280dd032d202b417871d39febadec", + "md5_digest": "a4db4b28a9d04264f93d1aaf0d0ae88d", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, @@ -212,13 +212,13 @@ { "comment_text": "", "digests": { - "md5": "03ac720a2dcb18f2f1a3d026d281d778", - "sha256": "e170a9e6fcfd19021dd29845af83bb79236068bf5fd4df3327c1be18182b2531" + "md5": "60fd8936e8bdf917a750172f33b62d51", + "sha256": "a0184bd61052fa6942d65c294468116eaf00f43669437d46ad5530f7005c7f37" }, "downloads": -1, "filename": "PyYAML-3.13-cp37-cp37m-win32.whl", "has_sig": false, - "md5_digest": "03ac720a2dcb18f2f1a3d026d281d778", + "md5_digest": "60fd8936e8bdf917a750172f33b62d51", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, @@ -232,13 +232,13 @@ { "comment_text": "", "digests": { - "md5": "02ab28701247a80e059daa6efe11e67d", - "sha256": "aa7dd4a6a427aed7df6fb7f08a580d68d9b118d90310374716ae90b710280af1" + "md5": "36d19ecd2632ba0e0a362f2a28d9244a", + "sha256": "84492bd518aeafdf1d2bceae160a60d748f75eb815533d96b8232205161f21f4" }, "downloads": -1, "filename": "PyYAML-3.13-cp37-cp37m-win_amd64.whl", "has_sig": false, - "md5_digest": "02ab28701247a80e059daa6efe11e67d", + "md5_digest": "36d19ecd2632ba0e0a362f2a28d9244a", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, @@ -252,13 +252,13 @@ { "comment_text": "", "digests": { - "md5": "b78b96636d68ac581c0e2f38158c224f", - "sha256": "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf" + "md5": "166e4b73f8a3f34312c858eaac865cc8", + "sha256": "48ea0ae60a84848ee35c3c013222f8d6b4d41aed50a8d8ed1bdfce5c21f19b02" }, "downloads": -1, "filename": "PyYAML-3.13.tar.gz", "has_sig": false, - "md5_digest": "b78b96636d68ac581c0e2f38158c224f", + "md5_digest": "166e4b73f8a3f34312c858eaac865cc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, 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 d6cd82526d0..7d46c9e970e 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 @@ -39,13 +39,13 @@ { "comment_text": "", "digests": { - "md5": "866ab722be6bdfed6830f3179af65468", - "sha256": "832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb" + "md5": "35b1057b388e276352d0709138b1e194", + "sha256": "112f5b46e6aa106db3e4e2494a03694c938f41c4c4535edbdfc816c2e0cb50f2" }, "downloads": -1, "filename": "six-1.11.0-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "866ab722be6bdfed6830f3179af65468", + "md5_digest": "35b1057b388e276352d0709138b1e194", "packagetype": "bdist_wheel", "python_version": "py2.py3", "size": 10702, @@ -55,13 +55,13 @@ { "comment_text": "", "digests": { - "md5": "d12789f9baf7e9fb2524c0c64f1773f8", - "sha256": "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" + "md5": "6af156e56151d24727a88f1125b23f66", + "sha256": "a88c970d719b44e5297022628e578615ede4b0d040f9cff2d0695c048cd07f24" }, "downloads": -1, "filename": "six-1.11.0.tar.gz", "has_sig": false, - "md5_digest": "d12789f9baf7e9fb2524c0c64f1773f8", + "md5_digest": "6af156e56151d24727a88f1125b23f66", "packagetype": "sdist", "python_version": "source", "size": 29860, diff --git a/tests/repositories/fixtures/pypi.org/json/tomlkit/0.5.3.json b/tests/repositories/fixtures/pypi.org/json/tomlkit/0.5.3.json index 4c27df88765..83498782432 100644 --- a/tests/repositories/fixtures/pypi.org/json/tomlkit/0.5.3.json +++ b/tests/repositories/fixtures/pypi.org/json/tomlkit/0.5.3.json @@ -52,13 +52,13 @@ { "comment_text": "", "digests": { - "md5": "0a6cf417df5d0fc911f89447c9a662a9", - "sha256": "f077456d35303e7908cc233b340f71e0bec96f63429997f38ca9272b7d64029e" + "md5": "b868779f054c64bc6c2ae4ad2cdbf6b3", + "sha256": "d4fe74be9b732d76886da6da2e96f76ae42551e53afce1ea29bc703629b70497" }, "downloads": -1, "filename": "tomlkit-0.5.3-py2.py3-none-any.whl", "has_sig": false, - "md5_digest": "0a6cf417df5d0fc911f89447c9a662a9", + "md5_digest": "b868779f054c64bc6c2ae4ad2cdbf6b3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", diff --git a/tests/repositories/fixtures/pypi.org/json/trackpy/0.4.1.json b/tests/repositories/fixtures/pypi.org/json/trackpy/0.4.1.json index 28035cee218..083ee906a57 100644 --- a/tests/repositories/fixtures/pypi.org/json/trackpy/0.4.1.json +++ b/tests/repositories/fixtures/pypi.org/json/trackpy/0.4.1.json @@ -38,13 +38,13 @@ { "comment_text": "", "digests": { - "md5": "4c92e8b74840f57c6047f56a4a4412c4", - "sha256": "f682f75e99f6c29c65e8531899b957c67d9d5a027b28b44258fa2c4a18e851cd" + "md5": "4facde2211a4b76b95794f8fac14d596", + "sha256": "d16985cbdffab9ce0e7a7fa7096db51c80ecc03c529db45a82998757618d7ca7" }, "downloads": -1, "filename": "trackpy-0.4.1.tar.gz", "has_sig": false, - "md5_digest": "4c92e8b74840f57c6047f56a4a4412c4", + "md5_digest": "4facde2211a4b76b95794f8fac14d596", "packagetype": "sdist", "python_version": "source", "requires_python": null, diff --git a/tests/repositories/fixtures/pypi.org/json/zipp/3.5.0.json b/tests/repositories/fixtures/pypi.org/json/zipp/3.5.0.json index 356bd2b3483..af8669c2144 100644 --- a/tests/repositories/fixtures/pypi.org/json/zipp/3.5.0.json +++ b/tests/repositories/fixtures/pypi.org/json/zipp/3.5.0.json @@ -121,13 +121,13 @@ { "comment_text": "", "digests": { - "md5": "617efbf3edb707c57008ec00f408972f", - "sha256": "f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4" + "md5": "8f0ec2e1ae55c8207ee98a38f95fb364", + "sha256": "36e654bed6e181d4c0c2ea94811c8f025d0b3a3aa2ce3767da91848b2c0acdc8" }, "downloads": -1, "filename": "zipp-3.5.0.tar.gz", "has_sig": false, - "md5_digest": "617efbf3edb707c57008ec00f408972f", + "md5_digest": "8f0ec2e1ae55c8207ee98a38f95fb364", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", diff --git a/tests/repositories/fixtures/pypi.org/stubbed/CacheControl-0.12.5.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/CacheControl-0.12.5.tar.gz new file mode 100644 index 00000000000..197b8c2589d Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/CacheControl-0.12.5.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp27-cp27m-win32.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp27-cp27m-win32.whl new file mode 100644 index 00000000000..c3d52ff4a28 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp27-cp27m-win32.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp27-cp27m-win_amd64.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp27-cp27m-win_amd64.whl new file mode 100644 index 00000000000..8089c15ea4c Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp27-cp27m-win_amd64.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp34-cp34m-win32.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp34-cp34m-win32.whl new file mode 100644 index 00000000000..614212b8e5d Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp34-cp34m-win32.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp34-cp34m-win_amd64.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp34-cp34m-win_amd64.whl new file mode 100644 index 00000000000..ebe69c21116 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp34-cp34m-win_amd64.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp35-cp35m-win32.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp35-cp35m-win32.whl new file mode 100644 index 00000000000..50ee3669476 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp35-cp35m-win32.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp35-cp35m-win_amd64.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp35-cp35m-win_amd64.whl new file mode 100644 index 00000000000..9815e84b902 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp35-cp35m-win_amd64.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp36-cp36m-win32.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp36-cp36m-win32.whl new file mode 100644 index 00000000000..a29133c6b7b Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp36-cp36m-win32.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp36-cp36m-win_amd64.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp36-cp36m-win_amd64.whl new file mode 100644 index 00000000000..feaf09aaf55 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp36-cp36m-win_amd64.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp37-cp37m-win32.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp37-cp37m-win32.whl new file mode 100644 index 00000000000..7a323a732db Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp37-cp37m-win32.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp37-cp37m-win_amd64.whl b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp37-cp37m-win_amd64.whl new file mode 100644 index 00000000000..967f3754168 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13-cp37-cp37m-win_amd64.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13.tar.gz new file mode 100644 index 00000000000..b7ecf49906f Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/PyYAML-3.13.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/attrs-17.4.0-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/attrs-17.4.0-py2.py3-none-any.whl new file mode 100644 index 00000000000..52264858d3c Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/attrs-17.4.0-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/attrs-17.4.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/attrs-17.4.0.tar.gz new file mode 100644 index 00000000000..a1d38f7469c Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/attrs-17.4.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/black-19.10b0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/black-19.10b0.tar.gz new file mode 100644 index 00000000000..efd4b74b4d1 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/black-19.10b0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/black-21.11b0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/black-21.11b0.tar.gz new file mode 100644 index 00000000000..72e3f4cc534 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/black-21.11b0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/cleo-1.0.0a5.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/cleo-1.0.0a5.tar.gz new file mode 100644 index 00000000000..bb9159377a6 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/cleo-1.0.0a5.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/clikit-0.2.4.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/clikit-0.2.4.tar.gz new file mode 100644 index 00000000000..a669a215fa3 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/clikit-0.2.4.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/colorama-0.3.9-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/colorama-0.3.9-py2.py3-none-any.whl new file mode 100644 index 00000000000..45aa098254c Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/colorama-0.3.9-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/colorama-0.3.9.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/colorama-0.3.9.tar.gz new file mode 100644 index 00000000000..0ca1677e9dd Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/colorama-0.3.9.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/discord.py-2.0.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/discord.py-2.0.0.tar.gz new file mode 100644 index 00000000000..3e1b606a2a5 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/discord.py-2.0.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/funcsigs-1.0.2-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/funcsigs-1.0.2-py2.py3-none-any.whl new file mode 100644 index 00000000000..ae6d9fcd973 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/funcsigs-1.0.2-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/funcsigs-1.0.2.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/funcsigs-1.0.2.tar.gz new file mode 100644 index 00000000000..63d6747e170 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/funcsigs-1.0.2.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/hbmqtt-0.9.6.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/hbmqtt-0.9.6.tar.gz new file mode 100644 index 00000000000..8b9b20737ac Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/hbmqtt-0.9.6.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/importlib_metadata-1.7.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/importlib_metadata-1.7.0.tar.gz new file mode 100644 index 00000000000..03ed41f7fc6 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/importlib_metadata-1.7.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1-py2.py3-none-any.whl new file mode 100644 index 00000000000..b67ae37d721 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1.tar.gz new file mode 100644 index 00000000000..68671a4ddb3 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1.zip b/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1.zip new file mode 100644 index 00000000000..5e52697ea0f Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/ipython-4.1.0rc1.zip differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/jupyter-1.0.0.zip b/tests/repositories/fixtures/pypi.org/stubbed/jupyter-1.0.0.zip new file mode 100644 index 00000000000..61446e74d26 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/jupyter-1.0.0.zip differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/lockfile-0.12.2-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/lockfile-0.12.2-py2.py3-none-any.whl new file mode 100644 index 00000000000..bfabdf413a4 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/lockfile-0.12.2-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/lockfile-0.12.2.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/lockfile-0.12.2.tar.gz new file mode 100644 index 00000000000..e493ce020f8 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/lockfile-0.12.2.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/more-itertools-4.1.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/more-itertools-4.1.0.tar.gz new file mode 100644 index 00000000000..0baa4c1d234 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/more-itertools-4.1.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/more_itertools-4.1.0-py2-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/more_itertools-4.1.0-py2-none-any.whl new file mode 100644 index 00000000000..436a62bfde7 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/more_itertools-4.1.0-py2-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/more_itertools-4.1.0-py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/more_itertools-4.1.0-py3-none-any.whl new file mode 100644 index 00000000000..07c288e372a Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/more_itertools-4.1.0-py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0-py2-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0-py2-none-any.whl new file mode 100644 index 00000000000..7dd96ebd5ce Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0-py2-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0-py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0-py3-none-any.whl new file mode 100644 index 00000000000..68b635e679d Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0-py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0.tar.gz new file mode 100644 index 00000000000..110e5e96bdf Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pluggy-0.6.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/poetry-0.12.4-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/poetry-0.12.4-py2.py3-none-any.whl new file mode 100644 index 00000000000..a9dfa65e604 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/poetry-0.12.4-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/poetry-0.12.4.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/poetry-0.12.4.tar.gz new file mode 100644 index 00000000000..cf3deb76cc7 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/poetry-0.12.4.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/poetry_core-1.5.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/poetry_core-1.5.0.tar.gz new file mode 100644 index 00000000000..1cd49adf3f3 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/poetry_core-1.5.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/py-1.5.3-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/py-1.5.3-py2.py3-none-any.whl new file mode 100644 index 00000000000..1231a39708e Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/py-1.5.3-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/py-1.5.3.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/py-1.5.3.tar.gz new file mode 100644 index 00000000000..6ec075929a0 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/py-1.5.3.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pylev-1.3.0-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/pylev-1.3.0-py2.py3-none-any.whl new file mode 100644 index 00000000000..e9dbb1dabe7 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pylev-1.3.0-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pylev-1.3.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/pylev-1.3.0.tar.gz new file mode 100644 index 00000000000..f88189e7bbc Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pylev-1.3.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.0-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.0-py2.py3-none-any.whl new file mode 100644 index 00000000000..2b43c100100 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.0-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.0.tar.gz new file mode 100644 index 00000000000..2a1c538c188 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.1-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.1-py2.py3-none-any.whl new file mode 100644 index 00000000000..4e2a1b6e1bd Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.1-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.1.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.1.tar.gz new file mode 100644 index 00000000000..c3fdda56ba6 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/pytest-3.5.1.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/six-1.11.0-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/six-1.11.0-py2.py3-none-any.whl new file mode 100644 index 00000000000..204a31d0a46 Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/six-1.11.0-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/six-1.11.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/six-1.11.0.tar.gz new file mode 100644 index 00000000000..2ab112d708c Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/six-1.11.0.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/tomlkit-0.5.3-py2.py3-none-any.whl b/tests/repositories/fixtures/pypi.org/stubbed/tomlkit-0.5.3-py2.py3-none-any.whl new file mode 100644 index 00000000000..0069680397f Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/tomlkit-0.5.3-py2.py3-none-any.whl differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/trackpy-0.4.1.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/trackpy-0.4.1.tar.gz new file mode 100644 index 00000000000..70bfb56938e Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/trackpy-0.4.1.tar.gz differ diff --git a/tests/repositories/fixtures/pypi.org/stubbed/zipp-3.5.0.tar.gz b/tests/repositories/fixtures/pypi.org/stubbed/zipp-3.5.0.tar.gz new file mode 100644 index 00000000000..6ddd29274ef Binary files /dev/null and b/tests/repositories/fixtures/pypi.org/stubbed/zipp-3.5.0.tar.gz differ diff --git a/tests/repositories/test_legacy_repository.py b/tests/repositories/test_legacy_repository.py index 054b92849a2..26916f78267 100644 --- a/tests/repositories/test_legacy_repository.py +++ b/tests/repositories/test_legacy_repository.py @@ -101,7 +101,7 @@ def test_page_filters_out_invalid_package_names( assert package.files == [ { "file": "pytest-3.5.0-py2.py3-none-any.whl", - "hash": "sha256:6266f87ab64692112e5477eba395cfedda53b1933ccd29478e671e73b420c19c", + "hash": "sha256:28e4d9c2ae3196d74805c2eba24f350ae4c791a5b9b397c79b41506a48dc64ca", }, { "file": "pytest-3.5.0.tar.gz", diff --git a/tests/repositories/test_pypi_repository.py b/tests/repositories/test_pypi_repository.py index 9781487c62c..298fa18d939 100644 --- a/tests/repositories/test_pypi_repository.py +++ b/tests/repositories/test_pypi_repository.py @@ -1,12 +1,7 @@ from __future__ import annotations -import json -import shutil - from io import BytesIO -from pathlib import Path from typing import TYPE_CHECKING -from typing import Any import pytest @@ -17,13 +12,10 @@ from requests.models import Response from poetry.factory import Factory -from poetry.repositories.exceptions import PackageNotFound -from poetry.repositories.link_sources.json import SimpleJsonPage from poetry.repositories.pypi_repository import PyPiRepository if TYPE_CHECKING: - from packaging.utils import NormalizedName from pytest_mock import MockerFixture @@ -32,51 +24,6 @@ def _use_simple_keyring(with_simple_keyring: None) -> None: pass -class MockRepository(PyPiRepository): - JSON_FIXTURES = Path(__file__).parent / "fixtures" / "pypi.org" / "json" - DIST_FIXTURES = Path(__file__).parent / "fixtures" / "pypi.org" / "dists" - - def __init__(self, fallback: bool = False) -> None: - super().__init__(url="http://foo.bar", disable_cache=True, fallback=fallback) - self._lazy_wheel = False - - def get_json_page(self, name: NormalizedName) -> SimpleJsonPage: - fixture = self.JSON_FIXTURES / (name + ".json") - - if not fixture.exists(): - raise PackageNotFound(f"Package [{name}] not found.") - - return SimpleJsonPage("", json.loads(fixture.read_text())) - - def _get( - self, url: str, headers: dict[str, str] | None = None - ) -> dict[str, Any] | None: - parts = url.split("/")[1:] - name = parts[0] - version = parts[1] if len(parts) == 3 else None - - if not version: - fixture = self.JSON_FIXTURES / (name + ".json") - else: - fixture = self.JSON_FIXTURES / name / (version + ".json") - - if not fixture.exists(): - return None - - with fixture.open(encoding="utf-8") as f: - data: dict[str, Any] = json.load(f) - return data - - def _download( - self, url: str, dest: Path, *, raise_accepts_ranges: bool = False - ) -> None: - filename = url.split("/")[-1] - - fixture = self.DIST_FIXTURES / filename - - shutil.copyfile(str(fixture), dest) - - def test_find_packages(pypi_repository: PyPiRepository) -> None: repo = pypi_repository packages = repo.find_packages(Factory.create_dependency("requests", "^2.18"))