Repository navigation
Allow multidict 7 - #1226
Open
itzzdev09 wants to merge 1 commit into
Open
Allow multidict 7#1226itzzdev09 wants to merge 1 commit into
itzzdev09 wants to merge 1 commit into
Conversation
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.
The
aiohttpextra pinsmultidict = "^6.0.4"(i.e.<7). multidict 7.0.0 came out on 26 Sep and aiohttp already allows it (multidict>=4.5,<8.0), soopenapi-core[aiohttp]is what keeps environments on multidict 6.openapi-core only uses
multidict.CIMultiDictas the type ofAIOHTTPOpenAPIWebResponse.headers. multidict 7's breaking changes are thatistrcan no longer be subclassed and that the C extension rejects an argument passed both positionally and by keyword; neither applies here. This changes the constraint to>=6.0.4,<8.poetry.lockchanges only incontent-hash(Poetry 2.4.1, the version in its header; locked versions unchanged).Tests:
pytest tests/integration/contrib/aiohttp tests/unit/contrib/aiohttpon Python 3.12 with theaiohttpextra: 11 passed / 2 skipped with both multidict 6.9.1 and 7.0.0.