From 1171b5b7383e6015005bbcedd1f8fb9f66f2c5ab Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 13 May 2020 15:22:04 +1000 Subject: [PATCH] Further document guix workaround for Werkzeug. --- guix-env.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/guix-env.scm b/guix-env.scm index 04469aaf..9d607407 100644 --- a/guix-env.scm +++ b/guix-env.scm @@ -48,7 +48,7 @@ ;;; make ;;; python3 -m venv --system-site-packages . && bin/python setup.py develop --no-deps ;;; bin/python -m pip install --force-reinstall PasteScript # workaround -;;; bin/python -m pip install 'werkzeug<1.0.0' # workaround +;;; bin/python -m pip install 'werkzeug<1.0.0' # workaround (also disabled below) ;;; bin/python -m pip install 'email-validator' # email-validator ;;; ;;; ... wait whaaat, what's that venv line?! I thought you said this @@ -67,6 +67,11 @@ ;;; ./lazyserver.sh <-- won't work ;;; CELERY_ALWAYS_EAGER=true ./bin/paster serve paste.ini --reload ;;; +;;; WORKAROUND: I have an incompatible newer Werkzeug installed in my profile, +;;; so to run MediaGoblin I need to: +;;; +;;; PYTHONPATH=lib/python3.8/site-packages:$PYTHONPATH CELERY_ALWAYS_EAGER=true ./bin/paster serve paste-vanilla.ini --reload +;;; ;;; So anyway, now you can do: ;;; PYTHONPATH="${PYTHONPATH}:$(pwd)" ./runtests.sh ;;; or: -- 2.25.1