-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Do not install setuptools 50.0 on Python 3.5 #8212
Conversation
46528ad
to
58e88fb
Compare
setuptools gets pulled in from a bunch of dependencies:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone on the linked thread mentioned that this also breaks with Python 3.6.1, however 3.6.12 (which we're using) appears to work just fine.
Hopefully >=v50.1 works fine :)
We could completely blacklist 50.0 if we wanted? |
One moment, just trying it. |
Hrm, our Dockerfile is giving me hard times here. One other thing to mention is our INSTALL instructions currently specifically tell people to update to the latest Should we update those instructions at the same time to remove the explicit install (or perhaps specify the version)? |
Hmm...I'm not a big fan of specifying the version, it'll immediately get out of date. 😢 We could add "!=50.0" to that command, but that also seems not awesome. |
Well, it would be temporary until a new setuptools version comes out, so not the end of the world to add |
After a conversation in #synapse-dev, we've decided to just blacklist |
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm otherwise!
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
…sword_reset_confirmation * 'develop' of github.com:matrix-org/synapse: (39 commits) Fix errors when updating the user directory with invalid data (#8223) Explain better what GDPR-erased means (#8189) Convert additional databases to async/await part 3 (#8201) Convert appservice code to async/await. (#8207) Rename `_get_e2e_device_keys_txn` (#8222) Convert additional databases to async/await (#8199) Convert the well known resolver to async (#8214) Convert additional databases to async/await part 2 (#8200) Make MultiWriterIDGenerator work for streams that use negative stream IDs (#8203) Do not install setuptools 50.0. (#8212) Move and rename `get_devices_with_keys_by_user` (#8204) Rename `get_e2e_device_keys` to better reflect its purpose (#8205) Add a comment about _LimitedHostnameResolver Convert ReadWriteLock to async/await. (#8202) Fix incorrect return signature Fix `wait_for_stream_position` for multiple waiters. (#8196) Convert `event_push_actions`, `registration`, and `roommember` datastores to async (#8197) Only return devices with keys from `/federation/v1/user/devices/` (#8198) Convert state and stream stores and related code to async (#8194) Ensure that the OpenID Connect remote ID is a string. (#8190) ...
* commit '5bf8e5f55': Convert the well known resolver to async (#8214) Convert additional databases to async/await part 2 (#8200) Make MultiWriterIDGenerator work for streams that use negative stream IDs (#8203) Do not install setuptools 50.0. (#8212) Move and rename `get_devices_with_keys_by_user` (#8204) Rename `get_e2e_device_keys` to better reflect its purpose (#8205) Add a comment about _LimitedHostnameResolver
It seems that setuptools 50.0 breaks on Python 3.5, this avoids using that configuration. See pypa/setuptools#2352