Skip to content

Remove the multidict<7.2 dev constraint once Litestar works with multidict 7.2 #303

Closed

Description

@lesnik512

#302 added constraint-dependencies = ["multidict<7.2"] under [tool.uv] so CI stays green.

multidict 7.2.0 made CIMultiDictProxy.__new__() require the proxied multidict (aio-libs/multidict#1782). Litestar's Headers subclasses CIMultiDictProxy and converts a raw header list in __init__, which now fails in __new__ first with TypeError: ctor requires CIMultiDict or CIMultiDictProxy instance, not <class 'list'>. Every Litestar request hits it.

The cap only affects lite-bootstrap's own lock and CI; the published package does not constrain multidict.

Done when

  • multidict or Litestar ships a release that fixes this.
  • The [tool.uv] constraint is removed and CI is green with the newest multidict.

While the cap is in place, the scheduled dependency check cannot see a fix, so check upstream by hand.

Activity

  1. added
    blockedWaiting on an external dependency or upstream change
    on Oct 24, 2026
  2. lesnik512 commented on Oct 24, 2026

    @lesnik512
    MemberAuthor

    Reported upstream: aio-libs/multidict#1824.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedWaiting on an external dependency or upstream change

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions