Further document guix workaround for Werkzeug.

This commit is contained in:
Ben Sturmfels 2020-05-13 15:22:04 +10:00
parent 85107918b5
commit 1171b5b738
No known key found for this signature in database
GPG Key ID: 023C05E2C9C068F0

View File

@ -48,7 +48,7 @@
;;; make ;;; make
;;; python3 -m venv --system-site-packages . && bin/python setup.py develop --no-deps ;;; 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 --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 ;;; bin/python -m pip install 'email-validator' # email-validator
;;; ;;;
;;; ... wait whaaat, what's that venv line?! I thought you said this ;;; ... wait whaaat, what's that venv line?! I thought you said this
@ -67,6 +67,11 @@
;;; ./lazyserver.sh <-- won't work ;;; ./lazyserver.sh <-- won't work
;;; CELERY_ALWAYS_EAGER=true ./bin/paster serve paste.ini --reload ;;; 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: ;;; So anyway, now you can do:
;;; PYTHONPATH="${PYTHONPATH}:$(pwd)" ./runtests.sh ;;; PYTHONPATH="${PYTHONPATH}:$(pwd)" ./runtests.sh
;;; or: ;;; or: