Browse Source

Fix Python-Esprima upstream failing

Sigh, python-esprima is really not well maintained:
- the maintainer merged https://github.com/Kronuz/esprima-python/pull/19
- this breaks entirely his project
- the submitter of PR 19 submitted a fix one week later
- 10 months later, the fix is still not merged :(

Pull it locally so we get our docs building again.

Fixes: #4731
Benjamin Tissoires 2 years ago
parent
commit
7adba9fea3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      releases/rebuild-docs.sh

+ 3 - 0
releases/rebuild-docs.sh

@@ -21,6 +21,9 @@ if [ ! -d ~/python/esprima-python ]; then
   cd ~/python
   cd ~/python
   git clone --depth 1 -b master https://github.com/Kronuz/esprima-python
   git clone --depth 1 -b master https://github.com/Kronuz/esprima-python
   cd ~/python/esprima-python
   cd ~/python/esprima-python
+  # temporary fix until https://github.com/Kronuz/esprima-python/pull/20 gets merged
+  git fetch origin pull/20/head:delete_fix
+  git checkout delete_fix
   # a) Generating docs works on Kubuntu 21.10 with this,
   # a) Generating docs works on Kubuntu 21.10 with this,
   #    but generating Sandstorm WeKan package does not work
   #    but generating Sandstorm WeKan package does not work
   #    https://github.com/wekan/wekan/issues/4280
   #    https://github.com/wekan/wekan/issues/4280