]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/setup-virtualenv.sh: pass --use-feature=2020-resolver to pip
authorKefu Chai <kchai@redhat.com>
Thu, 8 Oct 2020 07:13:36 +0000 (15:13 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 20 Oct 2020 11:09:25 +0000 (19:09 +0800)
commitfa9e2bfd4b3648f08ed3a88ce737d432ab97cce1
tree78a611f49ab45a5a808a2f4686efe93ac982a1d1
parent2437ef8648261953d3bacadcb81ec03f341b66ec
tools/setup-virtualenv.sh: pass --use-feature=2020-resolver to pip

as long as pip supports this option, pass it to `pip install`

to silence warnings and errors like:

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

autopep8 1.5.4 requires pycodestyle>=2.6.0, but you'll have pycodestyle 2.5.0 which is incompatible.
pytest-cov 2.10.1 requires pytest>=4.6, but you'll have pytest 3.10.1 which is incompatible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/setup-virtualenv.sh