Skip to content

Pin down multidict#6550

Merged
Dreamsorcerer merged 2 commits into3.8from
Dreamsorcerer-patch-3
Jan 23, 2022
Merged

Pin down multidict#6550
Dreamsorcerer merged 2 commits into3.8from
Dreamsorcerer-patch-3

Conversation

@Dreamsorcerer
Copy link
Copy Markdown
Member

With the new errors coming in, it might be a good idea to pin this down in the 3.8 release.

Copy link
Copy Markdown
Member

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I like the idea.

@webknjaz
Copy link
Copy Markdown
Member

@Dreamsorcerer this probably needs a change note, though.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Jan 23, 2022
@Dreamsorcerer Dreamsorcerer merged commit c08031b into 3.8 Jan 23, 2022
@Dreamsorcerer Dreamsorcerer deleted the Dreamsorcerer-patch-3 branch January 23, 2022 23:12
@Dreamsorcerer
Copy link
Copy Markdown
Member Author

Looks like it is already affecting some others. Maybe make a new 3.8 release tomorrow to minimise the impact?

@asvetlov
Copy link
Copy Markdown
Member

multidict 6.0.2 should fix problems.
Sorry for the inconvinience.

@jakob-keller
Copy link
Copy Markdown

aiohttp 3.8.2 was just released and it restricts the multidict dependency to >=4.5,<6.0. Is this still intended?

@hugovk
Copy link
Copy Markdown
Contributor

hugovk commented Sep 21, 2022

@jakob-keller Please see PR #6950 to re-bump it.

webknjaz added a commit that referenced this pull request Sep 21, 2022
The `multidict` dependency used to be `multidict >=4.5, < 7.0` in `aiohttp` v3.8.1,
but was pinned down to `multidict >=4.5, < 6.0` in `aiohttp` v3.8.2
(#6550) in an attempt to help avoid
new errors.

However, https://github.com/python/bedevere/ uses `multidict==6.0.2`
so the requirements resolution fails with `aiohttp==3.8.2`:

```console
ERROR: Cannot install -r requirements.txt (line 1) and multidict==6.0.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested multidict==6.0.2
    aiohttp 3.8.2 depends on multidict<6.0 and >=4.5

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
```

https://github.com/hugovk/bedevere/actions/runs/3095794573/jobs/5010600772

This patch makes it possible to have `multidict` v6 installed in the same env as `aiohttp` v3.8.3, as with `aiohttp` v3.8.1.

Partially related to closed #6600 and
merged #6550.

PR #6950

Co-Authored-By: Sviatoslav Sydorenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants