Do not install setuptools 50.0. (#8212)
This is due to compatibility issues with old Python versions.pull/8170/head
parent
aa07c37cf0
commit
318245eaa6
|
@ -73,7 +73,7 @@ mkdir -p ~/synapse
|
|||
virtualenv -p python3 ~/synapse/env
|
||||
source ~/synapse/env/bin/activate
|
||||
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
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Do not install setuptools 50.0. It can lead to a broken configuration on some older Python versions.
|
|
@ -74,6 +74,10 @@ REQUIREMENTS = [
|
|||
"Jinja2>=2.9",
|
||||
"bleach>=1.4.3",
|
||||
"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 = {
|
||||
|
|
Loading…
Reference in New Issue