[Twisted-Python] Drop support for Python 3.4?
![](https://secure.gravatar.com/avatar/469df05f5dfd5b75fb3cb3a0868d36bf.jpg?s=120&d=mm&r=g)
What do people think of dropping Twisted support for Python 3.4? According to https://devguide.python.org/#status-of-python-branches Python 3.4 EOL'd on March 19, 2019. In the Python 3 world, we have Python 3.4, 3.5, 3.6, 3.7, and at the end of this year we will have Python 3.8. That's quite a lot of Python versions to support. Python 3.5 introduced async/await keywords, which are very relevant to Twisted: https://docs.python.org/3.5/whatsnew/3.5.html#whatsnew-pep-492 If it makes sense, it would be nice to use these keywords as first-level features in Twisted. Since Amber brought up discussion of dropping Python 2.7 here: https://twistedmatrix.com/pipermail/twisted-python/2019-March/032234.html I thought I would raise dropping Python 3.4 also. -- Craig
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
I'll let any 3.4 users speak for themselves if they're out there, but while I can imagine a host of reasons we might want to still support 2.7, I can't think of any that we'd want to hang on to 3.4 any longer than necessary. 3.5 still has the lingering benefit of a production(-ish) pypy, so we might not want to jump to 3.6-only anyway, but if it's unsupported by python core, let's get rid of it. Faster round trips through CI are reason enough :-). -g
![](https://secure.gravatar.com/avatar/fbd473e7e3b6675a84cd3c3b4a2c1972.jpg?s=120&d=mm&r=g)
On Wednesday, 27 March 2019 06:04:17 CET Glyph wrote:
Python 3.5 is still the default python3 version in Debian stable, so updating beyond that might make it more complex for Debian users to install Twisted. One advantage of 3.5 over 3.4 is that support for type annotations is included (with some limitations compared to 3.6). Is this something that Twisted plans to adopt? My personal experience with type annotations so far as that they occasionally uncover a bug, but the main benefit is in having formal documentation of types that can be verified by tooling (mypy). Bye, Maarten
![](https://secure.gravatar.com/avatar/d0e895e27d970995fff580593c1793c5.jpg?s=120&d=mm&r=g)
yeah, that, and: as of today, pypy3 is at python 3.5 so _not_ supporting 3.5 would definitely be a problem for us (crossbar.io) dropping 3.4: no problem with that, same with 3.3 dropping 2.7: np .. even though there are users of autobahn (a websocket/wamp library) still on py2.7, and we fully support that right now and have no plans (yet) to retire it cheers, /Tobias
![](https://secure.gravatar.com/avatar/e1554622707bedd9202884900430b838.jpg?s=120&d=mm&r=g)
I'll let any 3.4 users speak for themselves if they're out there, but while I can imagine a host of reasons we might want to still support 2.7, I can't think of any that we'd want to hang on to 3.4 any longer than necessary. 3.5 still has the lingering benefit of a production(-ish) pypy, so we might not want to jump to 3.6-only anyway, but if it's unsupported by python core, let's get rid of it. Faster round trips through CI are reason enough :-). -g
![](https://secure.gravatar.com/avatar/fbd473e7e3b6675a84cd3c3b4a2c1972.jpg?s=120&d=mm&r=g)
On Wednesday, 27 March 2019 06:04:17 CET Glyph wrote:
Python 3.5 is still the default python3 version in Debian stable, so updating beyond that might make it more complex for Debian users to install Twisted. One advantage of 3.5 over 3.4 is that support for type annotations is included (with some limitations compared to 3.6). Is this something that Twisted plans to adopt? My personal experience with type annotations so far as that they occasionally uncover a bug, but the main benefit is in having formal documentation of types that can be verified by tooling (mypy). Bye, Maarten
![](https://secure.gravatar.com/avatar/d0e895e27d970995fff580593c1793c5.jpg?s=120&d=mm&r=g)
yeah, that, and: as of today, pypy3 is at python 3.5 so _not_ supporting 3.5 would definitely be a problem for us (crossbar.io) dropping 3.4: no problem with that, same with 3.3 dropping 2.7: np .. even though there are users of autobahn (a websocket/wamp library) still on py2.7, and we fully support that right now and have no plans (yet) to retire it cheers, /Tobias
participants (6)
-
Craig Rodrigues
-
Donal McMullan
-
Glyph
-
Maarten ter Huurne
-
Tobias Oberstein
-
Tom Most