Revert pinning of setuptools (#8239)

This commit is contained in:
Patrick Cloke 2020-09-03 09:45:36 -04:00 committed by GitHub
parent 5bfc79486d
commit 2aa127c207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 6 deletions

View file

@ -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!=50.0 # setuptools==50.0 fails on some older Python versions pip install --upgrade setuptools
pip install matrix-synapse pip install matrix-synapse
``` ```

View file

@ -1 +0,0 @@
Do not install setuptools 50.0. It can lead to a broken configuration on some older Python versions.

1
changelog.d/8239.misc Normal file
View file

@ -0,0 +1 @@
Revert pinning of setuptools.

View file

@ -74,10 +74,6 @@ 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 = {