requirements makefile adds pkg-resources 0.0.0
Summary
Regeneration of the requirements .txt
files results in requirements files that do not work.
Steps to reproduce
Run make -C requirements
What is the current bug behavior?
After updating the requirements and running tox
, I get the following error:
Collecting Click==7.0 (from -r requirements/requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting grpcio==1.17.1 (from -r requirements/requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/34/91/e3027ebb8e42ed14830488d4c82f6ceb8e47c811dd1e4a4dd87be151b570/grpcio-1.17.1-cp37-cp37m-manylinux1_x86_64.whl
Collecting Jinja2==2.10 (from -r requirements/requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting pluginbase==0.7 (from -r requirements/requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/6e/f4/1db0a26c1c7fad81a1214ad1b02839a7bd98d8ba68f782f6edcc3d343441/pluginbase-0.7.tar.gz
Collecting protobuf==3.6.1 (from -r requirements/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/3a/30/289ead101f94998d88e8961a3548aea29417ae0057be23972483cddebf4f/protobuf-3.6.1-cp37-cp37m-manylinux1_x86_64.whl
Collecting psutil==5.4.8 (from -r requirements/requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/e3/58/0eae6e4466e5abf779d7e2b71fac7fba5f59e00ea36ddb3ed690419ccb0f/psutil-5.4.8.tar.gz
Collecting ruamel.yaml==0.15.51 (from -r requirements/requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/fb/f4/a889830fe33284fc9a04c5d1ff699b6200a7ddd8527c6329dc541add022a/ruamel.yaml-0.15.51-cp37-cp37m-manylinux1_x86_64.whl
Collecting setuptools==39.0.1 (from -r requirements/requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/20/d7/04a0b689d3035143e2ff288f4b9ee4bf6ed80585cc121c90bfd85a1a8c2e/setuptools-39.0.1-py2.py3-none-any.whl
Collecting pyroaring==0.2.6 (from -r requirements/requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/c0/64/c9f6a46aa52f05681a3a57bfadaec71d06d5c8d958b86f053eeca7bacbeb/pyroaring-0.2.6.tar.gz
Collecting ujson==1.35 (from -r requirements/requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/16/c4/79f3409bc710559015464e5f49b9879430d8f87498ecdc335899732e5377/ujson-1.35.tar.gz
Collecting MarkupSafe==1.1.0 (from -r requirements/requirements.txt (line 19))
Using cached https://files.pythonhosted.org/packages/e4/c4/adcc2d6f2ac2146cc04e076f14f1006c1de8e1e747fa067668b6573000b8/MarkupSafe-1.1.0-cp37-cp37m-manylinux1_x86_64.whl
Collecting six==1.12.0 (from -r requirements/requirements.txt (line 20))
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting coverage==4.5.2 (from -r requirements/dev-requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/d0/a1/ea743f1facd8d287c2088d47fc80b06e042833041ba906fdd5c8f5d291bb/coverage-4.5.2-cp37-cp37m-manylinux1_x86_64.whl
Collecting pylint==2.2.2 (from -r requirements/dev-requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/a5/06/ecef826f319055e6b231716730d7f9047dd7524ffda224b521d989f085b6/pylint-2.2.2-py3-none-any.whl
Collecting pycodestyle==2.5.0 (from -r requirements/dev-requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/0e/0c/04a353e104d2f324f8ee5f4b32012618c1c86dd79e52a433b64fceed511b/pycodestyle-2.5.0-py2.py3-none-any.whl
Collecting pytest==4.2.1 (from -r requirements/dev-requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/11/e9/dc9a7269a7e1fed46de7d5864da6a86370256c791bf263dd0c7d7e8f1ff1/pytest-4.2.1-py2.py3-none-any.whl
Collecting pytest-cov==2.6.1 (from -r requirements/dev-requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/7d/b5/92f32674ab954f80499ac73347bfeb815545ea295439c12b0ef3ac8f0975/pytest_cov-2.6.1-py2.py3-none-any.whl
Collecting pytest-datafiles==2.0 (from -r requirements/dev-requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/21/a2/7da7d04eeca8def8062480e6696570aefde1c378152d2da9d5f3870649fb/pytest_datafiles-2.0-py2.py3-none-any.whl
Collecting pytest-env==0.6.2 (from -r requirements/dev-requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/f9/6e/31efb8dc1d17052c12f39262223e94038bfcc4cc7a124235630a6d50f166/pytest-env-0.6.2.tar.gz
Collecting pytest-xdist==1.26.1 (from -r requirements/dev-requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/fb/24/b71217c2083beca1f3b1fb8b32030c68ef189a718034bafe6b5895daf6a8/pytest_xdist-1.26.1-py2.py3-none-any.whl
Collecting pytest-timeout==1.3.3 (from -r requirements/dev-requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/58/92/f60ea2e27074d6f97c8aaf21e34d1f838eb623e4b8070680846c65318a10/pytest_timeout-1.3.3-py2.py3-none-any.whl
Collecting pyftpdlib==1.5.4 (from -r requirements/dev-requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/0d/64/eb0daca74956d0e6849b71c5ba99ab873ec59b888a1d7651d92fb686ee04/pyftpdlib-1.5.4.tar.gz
Collecting apipkg==1.5 (from -r requirements/dev-requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages/67/08/4815a09603fc800209431bec5b8bd2acf2f95abdfb558a44a42507fb94da/apipkg-1.5-py2.py3-none-any.whl
Collecting astroid==2.1.0 (from -r requirements/dev-requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages/fc/53/8809bc008bad0300897281a7b320b286dc0e84e836396c0cff6279841e8a/astroid-2.1.0-py3-none-any.whl
Collecting atomicwrites==1.3.0 (from -r requirements/dev-requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting attrs==18.2.0 (from -r requirements/dev-requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/3a/e1/5f9023cc983f1a628a8c2fd051ad19e76ff7b142a0faf329336f9a62a514/attrs-18.2.0-py2.py3-none-any.whl
Collecting execnet==1.5.0 (from -r requirements/dev-requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/f9/76/3343e69a2a1602052f587898934e5fea395d22310d39c07955596597227c/execnet-1.5.0-py2.py3-none-any.whl
Collecting isort==4.3.4 (from -r requirements/dev-requirements.txt (line 17))
Using cached https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl
Collecting lazy-object-proxy==1.3.1 (from -r requirements/dev-requirements.txt (line 18))
Using cached https://files.pythonhosted.org/packages/55/08/23c0753599bdec1aec273e322f277c4e875150325f565017f6280549f554/lazy-object-proxy-1.3.1.tar.gz
Collecting mccabe==0.6.1 (from -r requirements/dev-requirements.txt (line 19))
Using cached https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting more-itertools==6.0.0 (from -r requirements/dev-requirements.txt (line 20))
Using cached https://files.pythonhosted.org/packages/ae/d4/d6bad4844831943dd667510947712750004525c5807711982f4ec390da2b/more_itertools-6.0.0-py3-none-any.whl
Collecting pathlib2==2.3.3 (from -r requirements/dev-requirements.txt (line 21))
Using cached https://files.pythonhosted.org/packages/2a/46/c696dcf1c7aad917b39b875acdc5451975e3a9b4890dca8329983201c97a/pathlib2-2.3.3-py2.py3-none-any.whl
Collecting pkg-resources==0.0.0 (from -r requirements/dev-requirements.txt (line 22))
Could not find a version that satisfies the requirement pkg-resources==0.0.0 (from -r requirements/dev-requirements.txt (line 22)) (from versions: )
No matching distribution found for pkg-resources==0.0.0 (from -r requirements/dev-requirements.txt (line 22))
You are using pip version 18.1, however version 19.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
What is the expected correct behavior?
The tests might fail after updating the requirements, but only because of an back-compat issue in a dependency: It should definitely not fail to setup the new environment for testing.