Skip to content
Snippets Groups Projects
Unverified Commit 318245ea authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Do not install setuptools 50.0. (#8212)

This is due to compatibility issues with old Python versions.
parent aa07c37c
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ mkdir -p ~/synapse ...@@ -73,7 +73,7 @@ mkdir -p ~/synapse
virtualenv -p python3 ~/synapse/env virtualenv -p python3 ~/synapse/env
source ~/synapse/env/bin/activate source ~/synapse/env/bin/activate
pip install --upgrade pip pip install --upgrade pip
pip install --upgrade setuptools pip install --upgrade setuptools!=50.0 # setuptools==50.0 fails on some older Python versions
pip install matrix-synapse pip install matrix-synapse
``` ```
......
Do not install setuptools 50.0. It can lead to a broken configuration on some older Python versions.
...@@ -74,6 +74,10 @@ REQUIREMENTS = [ ...@@ -74,6 +74,10 @@ REQUIREMENTS = [
"Jinja2>=2.9", "Jinja2>=2.9",
"bleach>=1.4.3", "bleach>=1.4.3",
"typing-extensions>=3.7.4", "typing-extensions>=3.7.4",
# setuptools is required by a variety of dependencies, unfortunately version
# 50.0 is incompatible with older Python versions, see
# https://github.com/pypa/setuptools/issues/2352
"setuptools!=50.0",
] ]
CONDITIONAL_REQUIREMENTS = { CONDITIONAL_REQUIREMENTS = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment