Further document guix workaround for Werkzeug.
authorBen Sturmfels <ben@sturm.com.au>
Wed, 13 May 2020 05:22:04 +0000 (15:22 +1000)
committerBen Sturmfels <ben@sturm.com.au>
Wed, 13 May 2020 05:22:04 +0000 (15:22 +1000)
guix-env.scm

index 04469aafdb3586fc01d0810c7cf8460b02c8f32f..9d60740773ccccebc8c4c81819ae83044d063d12 100644 (file)
@@ -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
 ;;;   ./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: