-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aiohttp 3.0 release #2343
Comments
|
I think at 3.0 time it would better to drop even 3.5 support. |
+1 We should drop all depredations. Convert write method for response and send method for websockets to real coroutines |
@kxepal what we can simplify by dropping 3.5? |
The show stopper I guess is Debian, I don't know when it will upgrade to 3.6. |
+100. But let's be careful about dropping everything. Let's look on every deprecation one by one. |
on old middleware: I agree with have to keep it for longer. |
@samuelcolvin |
@samuelcolvin @kxepal I would love to drop 3.5 at all but one of our major downstreams is https://home-assistant.io/ aiohttp 2.3 was waiting for a long (we had security issues etc.), I hope to release 3.0 at the end of the year. |
@asvetlov I fear that trying to satisfy everyone will keep us slow in adapting new features. |
big -1 for splitting release branches. |
Since 3.7 coming soon |
Ok, not today, 3.5, not today (: P.S. May be offtopic, but why it's so problematic for home-asistant.io to move to 3.6? |
As far as I can tell home-asistant.io app runs on ruspberipi, and used by bunch of regular hobbyists, not software engineers. Having prepared by debian python environment simplify a lot of things for them. |
Home Assistant has just announced that we're deprecating Python 3.4 support. We are planning to drop support for it in the beginning of 2018. -1 for dropping Python 3.5 here too. I think that following Debian stable is a good guideline. |
I would love to contribute. Starting right now. |
would you consider creating a new branch for PRs? |
@eteamin no new branch is needed, just make a PR against master. |
Well, the remaining question is minimal 3.5 supported version. |
I haven't looked at the different versions of 3.5 yet. However if we are following Debian stable, Python 3.5.3 seems like the way to go 👍 |
The key difference is fixed In 3.5.2 async iterator protocol has changed: |
Also minor but pleasant changes like |
I thought |
No, https://docs.python.org/3/library/asyncio-eventloop.html#tasks BTW, @1st1 do you need help for it? Python 3.7 is coming, I have some spare time ;) |
@asvetlov слушай если у тебя есть время можешь этот Тикет доделать? python/cpython#528 (comment) |
Oh, I remember now. It was about `current_task`
… On Oct 19, 2017, at 10:27 AM, Andrew Svetlov ***@***.***> wrote:
No, https://docs.python.org/3/library/asyncio-eventloop.html#tasks
For 3.8 @1st1 has a plan to add calls like asynsio.create_task() and asyncio.create_future()m asyncio.run_in_executor() etc.
BTW, @1st1 do you need help for it? Python 3.7 is coming, I have some spare time ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
🚢 📦 ! |
🚀 |
would be good to have a list of breaking changes and a pre-release tag before the actual release. This will making it easier to make sure supporting packages support 3.0 the day it's released. Perhaps we should also have a list of packages which we aim to have compatible the day of release?
Any more, any less? |
Beta tag is building right now: https://pypi.python.org/pypi/aiohttp/3.0.0b0 Rough list of breaking changes is generated by |
Can you explain this a little more please. |
Also https://pypi.python.org/pypi/aiohttp/3.0.0b0 doesn't show changes since 2.3.10 |
You dont need Nope, I didn't generate changelog for 3.0 yet, will do it soon along with migration document. |
The linux wheel builder job is stuck https://travis-ci.org/aio-libs/aiohttp/jobs/338922307#L882. Can anyone test this in docker in their local machine plz? |
Investigating |
Good news, agree lets make the first step. We can iterare with other bits
in minor releases.
In my backlog I have at least two pending things.
|
This is happening to me at my laptop as well. @asvetlov it looks like a sane idea to add this wheel building job at least to cron runs for sanity test (w/o deployment of course) |
Sounds good, especially if you'll setup everything yourself :) |
it's not that hard: just a bit of copy-paste involved :) |
Everything is done. |
you should for couple more days |
On Monday? |
Monday is good, people can test over weekend |
ok |
aiohttp-devtools is ready for a new release as soon as aiohttp is released, required a big rewrite to use |
cool! |
release is out |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
I'd like to name the next release 3.0
3.0 means the major.
Let's drop Python 3.4 and use
async/await
everywhere.Another important question is what 3.5 release to cut off?
Honestly I want to support
3.5.3+
only: the release fixes well known ugly bug forasyncio.get_event_loop()
.Debian stable has shipped with Python 3.5.3, not sure about RHEL.
All other distributions with faster release cycle support 3.5.3 too at least or event 3.6.
The transition should not be done at once.
setup.py
.async/await
.Every bullet except number one could be done in a long series of PRs, part by part.
BTW at the end I hope to get minor performance increase :)
The text was updated successfully, but these errors were encountered: