Only install async-timeout for Python < 3.11#7556
Merged
Dreamsorcerer merged 2 commits intoaio-libs:masterfrom Aug 26, 2023
Merged
Only install async-timeout for Python < 3.11#7556Dreamsorcerer merged 2 commits intoaio-libs:masterfrom
Dreamsorcerer merged 2 commits intoaio-libs:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7556 +/- ##
=======================================
Coverage 97.35% 97.35%
=======================================
Files 106 106
Lines 31481 31501 +20
Branches 3575 3583 +8
=======================================
+ Hits 30648 30668 +20
Misses 630 630
Partials 203 203
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Contributor
Author
|
I think, this could be tagged for a backport to |
Member
|
Great, thanks. |
Contributor
Backport to 3.9: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply db2c274 on top of patchback/backports/3.9/db2c274c91d17eb410225d504c83d4bd6971d0ae/pr-7556 Backporting merged PR #7556 into master
🤖 @patchback |
cdce8p
added a commit
to cdce8p/aiohttp
that referenced
this pull request
Aug 26, 2023
Replace `async-timeout` with `asyncio.timeout` for Python 3.11+. Overall the change isn't as clean as I would have liked it to be. That's mostly a result of the name conflict with `timeout`. I'm open for suggestions on how to improve it. `async-timeout` won't be a dependency for Python 3.11+ any longer. Fixes: aio-libs#7502 (cherry picked from commit db2c274)
Contributor
Author
Dreamsorcerer
pushed a commit
that referenced
this pull request
Aug 26, 2023
…7558) Replace `async-timeout` with `asyncio.timeout` for Python 3.11+. Overall the change isn't as clean as I would have liked it to be. That's mostly a result of the name conflict with `timeout`. I'm open for suggestions on how to improve it. `async-timeout` won't be a dependency for Python 3.11+ any longer. Fixes: #7502 (cherry picked from commit db2c274)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What do these changes do?
Replace
async-timeoutwithasyncio.timeoutfor Python 3.11+.Overall the change isn't as clean as I would have liked it to be. That's mostly a result of the name conflict with
timeout. I'm open for suggestions on how to improve it.Are there changes in behavior for the user?
async-timeoutwon't be a dependency for Python 3.11+ any longer.Related issue number
Fixes: #7502