diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2020-05-13 15:22:04 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-05-13 15:22:04 +1000 |
commit | 1171b5b7383e6015005bbcedd1f8fb9f66f2c5ab (patch) | |
tree | 88cc018d79d542eb05a5020440b615f0089921f4 /guix-env.scm | |
parent | 85107918b5481f0d47e6409a3bbdcaf8789aaba4 (diff) | |
download | mediagoblin-1171b5b7383e6015005bbcedd1f8fb9f66f2c5ab.tar.lz mediagoblin-1171b5b7383e6015005bbcedd1f8fb9f66f2c5ab.tar.xz mediagoblin-1171b5b7383e6015005bbcedd1f8fb9f66f2c5ab.zip |
Further document guix workaround for Werkzeug.
Diffstat (limited to 'guix-env.scm')
-rw-r--r-- | guix-env.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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: |