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: