Revert "Remove uwsgi by default"

This reverts commit 39aaeb3f32.

Change-Id: Ib607f3ecd5ada46ffe724fbc0d245d08f2a0fe01
This commit is contained in:
ricolin 2024-01-18 21:00:27 +08:00
parent f4cc70548a
commit eb2ce826ef
2 changed files with 5 additions and 2 deletions

View File

@ -8,4 +8,4 @@ purestorage [(cinder purestorage) (nova purestorage) requirements]
pymysql []
python-ldap [(keystone ldap)]
python-memcached []
uwsgi [barbican]
uwsgi []

View File

@ -88,9 +88,12 @@ if [ ! -z "${PIP_PACKAGES}" ]; then
pip install ${PIP_ARGS} -c /upper-constraints.txt --no-cache ${PIP_PACKAGES}
fi
export UWSGI_PROFILE_OVERRIDE=ssl=true
export CPUCOUNT=1
# Build all dependencies in parallel. This is safe because we are
# constrained on the version and we are building with --no-deps
echo ${PIP_PACKAGES} | xargs -n1 | split -l1 -a3
echo uwsgi enum-compat ${PIP_PACKAGES} | xargs -n1 | split -l1 -a3
if [[ "$KEEP_ALL_WHEELS" == "False" ]]; then
ls -1 | xargs -n1 -P20 -t bash -c 'pip wheel ${PIP_WHEEL_ARGS} --find-links /source-wheels --find-links / --no-deps --wheel-dir / -c /upper-constraints.txt -r $1 || cat $1 >> /failure' _ | tee /tmp/wheels.txt
# Remove native-binary wheels, we only want to keep wheels that we