Fix end-to-end tests (synapse setup) (#7420)
* Update install.sh * Update install.sh * Update develop.yml * Update install.sh * Update develop.yml * Update install.sh * Update install.sh * Work around suspected frozendict bug * Faff around with install-webserver.sh * Actually I don't think these clash anyway * Minor cleanup * Add comments Co-authored-by: Olivier <olivier@librepush.net>
This commit is contained in:
parent
f87b5ee996
commit
b90a0c443d
2 changed files with 15 additions and 10 deletions
|
@ -9,11 +9,11 @@ cd $BASE_DIR
|
||||||
virtualenv -p python3 env
|
virtualenv -p python3 env
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
|
|
||||||
# Having been bitten by pip SSL fail too many times, I don't trust the existing pip
|
pip install --upgrade pip
|
||||||
# to be able to --upgrade itself, so grab a new one fresh from source.
|
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
# Pin setuptools to work around crash bug in v60
|
||||||
python get-pip.py
|
# See https://github.com/vector-im/element-web/issues/20287
|
||||||
rm get-pip.py
|
pip install setuptools==v59.8.0
|
||||||
|
|
||||||
pip install ComplexHttpServer
|
pip install ComplexHttpServer
|
||||||
|
|
||||||
|
|
|
@ -21,13 +21,18 @@ cd $SERVER_DIR
|
||||||
virtualenv -p python3 env
|
virtualenv -p python3 env
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
|
|
||||||
# Having been bitten by pip SSL fail too many times, I don't trust the existing pip
|
pip install --upgrade pip
|
||||||
# to be able to --upgrade itself, so grab a new one fresh from source.
|
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
# Pin setuptools to work around crash bug in v60
|
||||||
python get-pip.py
|
# See https://github.com/vector-im/element-web/issues/20287
|
||||||
|
pip install setuptools==v59.8.0
|
||||||
|
|
||||||
pip install --upgrade setuptools
|
|
||||||
pip install https://codeload.github.com/matrix-org/synapse/zip/$SYNAPSE_BRANCH
|
pip install https://codeload.github.com/matrix-org/synapse/zip/$SYNAPSE_BRANCH
|
||||||
|
|
||||||
|
# reivilibre: Suspected bug in frozendict 2.1.2 leading to a core dump...
|
||||||
|
# See https://github.com/vector-im/element-web/issues/20287
|
||||||
|
pip install frozendict==2.0.2
|
||||||
|
|
||||||
# apply configuration
|
# apply configuration
|
||||||
pushd env/bin/
|
pushd env/bin/
|
||||||
cp -r $BASE_DIR/config-templates/$CONFIG_TEMPLATE/. ./
|
cp -r $BASE_DIR/config-templates/$CONFIG_TEMPLATE/. ./
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue