-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Python 3.5 Deprecation Checklist / Chores #9131
Comments
When 3.5 compatibility is finally dropped, i'll tackle #8332 by using
Synapse is head-and-toes-deep into twisted, if you'd like to formally announce to move to asyncio, that'd be a huge boon on far-in-the-future compatibility, imo. In the meantime, it'd likely be very possible to just start using the asyncio twisted reactor, which makes it possible to mix in Diversion: I saw twisted use "fade to black" as the commit that massively |
|
I think we'll keep this snippet to make sure people actually don't run synapse on
|
com2ann (gh) looks like a good way to also convert any comment-type-annotations to inline type annotations, I ran it on the synapse codebase, and mypy seems to complain a lot about 3.6 allows type annotations on variables, thus the suggestion. |
Hynek is a big 👍 on pyupgrade, too: https://twitter.com/hynek/status/1357651722852786176
|
https://github.com/matrix-org/synapse/blob/develop/INSTALL.md#matrixorg-packages |
I just checked off a few more tasks on here. There's a couple more:
I didn't see anything about this, but not sure if I missed it.
I don't think there is much here, honestly. I suspect this can be closed. What do you think @callahad? |
Sure; time to open a new one for dropping 3.6, too :) |
We've announced the deprecation of Python 3.5, intending to break compatibility no sooner than April 2021.
So here are a bunch of small tasks we can take care of when April rolls around:
tool.black.target-version
in pyproject.toml[lint]
not supporting 3.5, and that complicating install / contributing docs, maybe?secrets
module to replaceos.urandom
, see if that would make life easier for usignore_missing_imports
line frommypy.ini
The text was updated successfully, but these errors were encountered: