Skip to content

Support zuban #3457

Open
Open

Description

@A5rocks

I haven't tried zuban out yet, but hopefully being mypy compatible means minimal work for us!

Activity

  1. added
    typing
    on Jun 26, 2026
  2. A5rocks commented on Jun 27, 2026

    @A5rocks
    ContributorAuthor
  3. jakkdl commented on Jul 29, 2026

    @jakkdl
    Member

    (both blockers have now been resolved)

  4. A5rocks commented on Jul 29, 2026

    @A5rocks
    ContributorAuthor

    Yeah, unfortunately there's been no release since then :(

    (I could probably compile from source but ehhh, not worth it :^)

  5. A5rocks commented on Aug 1, 2026

    @A5rocks
    ContributorAuthor

    Now just zubanls/zuban#518 and then I think everything under src/trio/_core/_tests/type_tests works. (I haven't checked src/trio/_tests/type_tests)

    We need to make a couple changes because zuban recognizes mypy error codes but the inference logic is slightly different, but they're pretty simple to do.

  6. CheViana commented on Oct 7, 2026

    @CheViana
    Contributor

    I would like to try to try out type checkers zuban, ty, pyrefly for trio. perhaps the blocker issues are fixed/outdated.

  7. A5rocks commented on Oct 7, 2026

    @A5rocks
    ContributorAuthor

    Feel free but I believe the blockers still exist. They're hard issues to solve for the type-checker!

  8. EmmanuelNiyonshuti commented on Nov 16, 2026

    @EmmanuelNiyonshuti
    Contributor

    The issue blocker have been resolved

  9. A5rocks commented on Nov 16, 2026

    @A5rocks
    ContributorAuthor

    Yep! It's possible to do this now, though the inference changes are a little annoying and mypy uses a different error code -- I was going to wait for mypy 2.5.0 for mypy: ignore! But if someone wants to do the annoying work before then that's fine.

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

    typing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions