Work around for newly-upgraded pip breaking pip-licenses (#1346)

* Work around for newly upgrdaded pip breaking pip-licenses  (can be reverted once https://github.com/raimon49/pip-licenses/issues/113 is fixed)

* Update .github/workflows/ci.yml

Co-authored-by: Joe Ranweiler <joe@lemma.co>

Co-authored-by: stas <statis@microsoft.com>
Co-authored-by: Joe Ranweiler <joe@lemma.co>
This commit is contained in:
Stas
2021-10-11 15:19:48 -07:00
committed by GitHub
parent 8753ef382b
commit 03f79ed211

View File

@ -89,7 +89,8 @@ jobs:
set -ex set -ex
ls artifacts ls artifacts
cd src/cli cd src/cli
python -m pip install --upgrade pip # Workaround: pin `pip` version until raimon49/pip-licenses#113 is fixed.
python -m pip install --upgrade pip==21.2.4
pip install -r requirements-dev.txt pip install -r requirements-dev.txt
pip-licenses -uf json > onefuzz/data/licenses.json pip-licenses -uf json > onefuzz/data/licenses.json
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel