You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2020/02/26 19:56:55 UTC

[allura] 01/02: Work around virtualenv 20 issue causing our entry points to not be found

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit f60155ed39ca98243100e668b36412ae70b85bce
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Wed Feb 26 14:55:55 2020 -0500

    Work around virtualenv 20 issue causing our entry points to not be found
---
 scripts/init-docker-dev.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/init-docker-dev.sh b/scripts/init-docker-dev.sh
index c0d7d13..fa4905f 100755
--- a/scripts/init-docker-dev.sh
+++ b/scripts/init-docker-dev.sh
@@ -38,7 +38,7 @@ echo "# No robots.txt rules here" > /allura-data/www-misc/robots.txt
 # share venv to allow update and sharing across containers
 if [ ! -e /allura-data/virtualenv ]; then
     echo -e "Creating virtualenv\n"
-    pip install virtualenv
+    pip install 'virtualenv < 20'  # https://github.com/pypa/virtualenv/issues/1670
     virtualenv /allura-data/virtualenv
     ln -s /usr/lib/python2.7/dist-packages/pysvn /allura-data/virtualenv/lib/python2.7/site-packages/
     echo # just a new line