From eb2ce826ef699cfd50d8fc762f8da87d84af03f6 Mon Sep 17 00:00:00 2001 From: ricolin Date: Thu, 18 Jan 2024 21:00:27 +0800 Subject: [PATCH] Revert "Remove uwsgi by default" This reverts commit 39aaeb3f329993046703233d2f52c9f7470a8de1. Change-Id: Ib607f3ecd5ada46ffe724fbc0d245d08f2a0fe01 --- pydep.txt | 2 +- scripts/requirements.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pydep.txt b/pydep.txt index c607f43..1cd1984 100644 --- a/pydep.txt +++ b/pydep.txt @@ -8,4 +8,4 @@ purestorage [(cinder purestorage) (nova purestorage) requirements] pymysql [] python-ldap [(keystone ldap)] python-memcached [] -uwsgi [barbican] +uwsgi [] diff --git a/scripts/requirements.sh b/scripts/requirements.sh index b8f980f..9f3b170 100755 --- a/scripts/requirements.sh +++ b/scripts/requirements.sh @@ -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