mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-16 12:10:29 +03:00
gitlab-ci: workaround "ImportError: No module named 'packaging'"
https://github.com/pypa/setuptools/issues/937 fdroid/ci-images#1
This commit is contained in:
parent
4929349555
commit
36272656fc
2 changed files with 6 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ python3 setup.py sdist
|
|||
rm -rf $WORKSPACE/env
|
||||
pyvenv $WORKSPACE/env
|
||||
. $WORKSPACE/env/bin/activate
|
||||
# workaround https://github.com/pypa/setuptools/issues/937
|
||||
pip3 install setuptools==33.1.1
|
||||
pip3 install dist/fdroidserver-*.tar.gz
|
||||
|
||||
# run tests in new pip+pyvenv install
|
||||
|
|
@ -68,6 +70,8 @@ cd $WORKSPACE
|
|||
rm -rf $WORKSPACE/env
|
||||
pyvenv $WORKSPACE/env
|
||||
. $WORKSPACE/env/bin/activate
|
||||
# workaround https://github.com/pypa/setuptools/issues/937
|
||||
pip3 install setuptools==33.1.1
|
||||
pip3 install -e $WORKSPACE
|
||||
python3 setup.py install
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue