From 59a4a18150d771e871dca4131cdd58ed2e610e05 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 20 May 2014 18:59:48 +0000 Subject: [PATCH] No longer whitelist externally-hosted requirements * pypi_mirror/cmd/run_mirror.py: Stop whitelisting netifaces, psutil, pysendfile and pytidylib for insecure/external hosting off-PyPI. They all now host versions on PyPI which meet the listed requirements in openstack/requirements:global-requirements.txt for currently supported branches. Change-Id: I640a85435de7bb300aaaa347cb97b1fad7543e17 --- pypi_mirror/cmd/run_mirror.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pypi_mirror/cmd/run_mirror.py b/pypi_mirror/cmd/run_mirror.py index 7e59627..2f98645 100644 --- a/pypi_mirror/cmd/run_mirror.py +++ b/pypi_mirror/cmd/run_mirror.py @@ -173,10 +173,6 @@ class Mirror(object): "%(pip)s install -U %(extra_args)s --exists-action=w" " --download-cache=%(download_cache)s" " --build %(build_dir)s -f %(find_links)s" - " --allow-external netifaces --allow-insecure netifaces" - " --allow-external psutil --allow-insecure psutil" - " --allow-external pysendfile --allow-insecure pysendfile" - " --allow-external pytidylib --allow-insecure pytidylib" " --no-use-wheel" " -r %(requirements_file)s") venv_format = ( @@ -185,25 +181,13 @@ class Mirror(object): upgrade_format = ( "%(pip)s install -U --exists-action=w" " --download-cache=%(download_cache)s --build %(build_dir)s" - " --allow-external netifaces --allow-insecure netifaces" - " --allow-external psutil --allow-insecure psutil" - " --allow-external pysendfile --allow-insecure pysendfile" - " --allow-external pytidylib --allow-insecure pytidylib" " -f %(find_links)s %(requirement)s") wheel_file_format = ( "%(pip)s wheel --download-cache=%(download_cache)s" " --wheel-dir %(wheel_dir)s -f %(find_links)s" - " --allow-external netifaces --allow-insecure netifaces" - " --allow-external psutil --allow-insecure psutil" - " --allow-external pysendfile --allow-insecure pysendfile" - " --allow-external pytidylib --allow-insecure pytidylib" " -r %(requirements_file)s") wheel_format = ( "%(pip)s wheel --download-cache=%(download_cache)s" - " --allow-external netifaces --allow-insecure netifaces" - " --allow-external psutil --allow-insecure psutil" - " --allow-external pysendfile --allow-insecure pysendfile" - " --allow-external pytidylib --allow-insecure pytidylib" " -f %(find_links)s --wheel-dir %(wheel_dir)s %(requirement)s") workdir = tempfile.mkdtemp()