Skip to content

Mypy 1.4 Release Planning #15372

Closed
Closed

Description

@jhance

I'm planning to make a 1.4 release around early July. (This is actually meant to be the June release but it is delayed).

Please post here any issues you'd like to see fixed in the release, or PRs you'd like to have merged. The release branch is available as release-1.4.

Activity

  1. JelleZijlstra commented on Jun 5, 2023

    @JelleZijlstra
    Member

    I hope you mean the 1.4 release :)

  2. cdce8p commented on Jun 6, 2023

    @cdce8p
    Collaborator

    Update: Fixed with #15383

    The mypy wheel build seems to be broken atm. It seems to be platform specific to x86_64, arm64 isn't affected. More details: #15283 (comment)

    Cross posting it here to keep track.

  3. changed the title [-]Mypy 0.970 Release Planning[/-] [+]Mypy 1.4 Release Planning[/+] on Jun 6, 2023
  4. JukkaL commented on Jun 6, 2023

    @JukkaL
    Collaborator

    Updated the version number.

  5. jhance commented on Jun 6, 2023

    @jhance
    CollaboratorAuthor

    Hmm, I'm not sure how that happened. I suspect I copied the issue template from the oldest link in our table, rather than the newest one, and then incremented that without thinking if the version number made sense.

  6. added
    metaIssues tracking a broad area of work
    and removed
    bugmypy got something wrong
    on Jun 6, 2023
  7. AlexWaygood commented on Jun 9, 2023

    @AlexWaygood
    Member
  8. AlexWaygood commented on Jun 9, 2023

    @AlexWaygood
    Member

    Also, just to note: #15161 caused a LiteralString-related regression for typeshed that still exists on the master branch. I reported the regression here immediately after the PR was merged: #15161 (comment).

    It looks like it's probably a typeshed-specific problem, and we can definitely just work around it in typeshed if we need to. So it's not a huge issue by any means. Just thought I'd mention it anyway, though!

  9. ilevkivskyi commented on Jun 9, 2023

    @ilevkivskyi
    Member

    I am going to work on some recently reported crashes. I will post them here as soon as I have a fix, the first will be #15351

  10. ilevkivskyi commented on Jun 9, 2023

    @ilevkivskyi
    Member

    And here is a fix for this crash #15402

  11. ilevkivskyi commented on Jun 9, 2023

    @ilevkivskyi
    Member

    And here is a fix for another crash #15403

  12. ilevkivskyi commented on Jun 9, 2023

    @ilevkivskyi
    Member

    And yet another crash fix #15404

  13. hauntsaninja commented on Jun 9, 2023

    @hauntsaninja
    Collaborator

    Two crash fixes of mine that didn't make the branch: #15392 #15399

  14. 2 remaining items

  15. ilevkivskyi commented on Jun 15, 2023

    @ilevkivskyi
    Member

    I think these two batches are good candidates for cherry-picking:

  16. ilevkivskyi commented on Jun 15, 2023

    @ilevkivskyi
    Member

    Oh and one more things, it seems these error codes do not have documentation (at least neither my script nor me have found it):

            known_missing = {
                # TODO: fix these before next release
                "annotation-unchecked",
                "empty-body",
                "possibly-undefined",
                "str-format",
                "top-level-await",
            }
  17. intgr commented on Jun 21, 2023

    @intgr
    Contributor

    @ymyzk Can you please add mypy 1.4.0 to mypy-play.net?

  18. ymyzk commented on Jun 21, 2023

    @ymyzk

    @intgr It should be available on mypy Playground now: ymyzk/mypy-playground#388

  19. hauntsaninja commented on Jun 21, 2023

    @hauntsaninja
    Collaborator

    Thanks for all the work! Regression for asyncio here #15489 with a potential fix here #15491. This will need a hotfix release (I can make it if you're busy, just let me know)

  20. ilevkivskyi commented on Jun 21, 2023

    @ilevkivskyi
    Member

    Wait, so this is already released? Is it early July already? What was the point of not including the stable error code links in the release?

  21. JukkaL commented on Jun 22, 2023

    @JukkaL
    Collaborator

    This was the postponed May mypy release. I think stable error code links arrived too late in the release process, but there will be a 1.5 release in July (targeting early July). @svalentin is the RM for 1.5.

  22. cdce8p commented on Jun 23, 2023

    @cdce8p
    Collaborator

    In case there is a 1.4.1 release. These fix the wheel build

    Fix for typing_extensions dependency issue

  23. AlexWaygood commented on Jun 23, 2023

    @AlexWaygood
    Member

    You'll probably also want to cherry-pick this, if there is a 1.4.1 release -- our test suite was very broken by the pytest release earlier today:

  24. hauntsaninja commented on Jun 24, 2023

    @hauntsaninja
    Collaborator

    I've cherry picked the following to the 1.4 release branch:

    Fix for async type checking regression

    f36ea01e9 (HEAD -> release-1.4) Shantanu: Fix async iterator body stripping (#15491)      (Fri Jun 23 18:12:13 2023)
    

    A fix for typeshed (reverts a PR that fixed another problem that only manifested on typeshed)

    ba7887be3             Shantanu: Revert "Fix spurious errors on builtins.open (#15161)" (#15508) (Fri Jun 23 18:12:10 2023)
    

    Docs changes:

    16fe5da0b      Ivan Levkivskyi: Fix readthedocs build (#15437)                            (Fri Jun 23 17:54:30 2023)
    9b327d12b      Ivan Levkivskyi: Use consistent anchors for error codes (#15435)           (Fri Jun 23 17:54:26 2023)
    32abe0210          Ilya Priven: docs: ref redirector (#15432)                             (Fri Jun 23 17:54:14 2023)
    

    Fixes for CI and wheel build:

    e5a5b33e1         Alex Waygood: Unbreak CI (#15505)                                       (Fri Jun 23 17:39:48 2023)
    81d01aa0b         Marc Mueller: Fix PEP 561 editable install test case (#15493)           (Fri Jun 23 17:39:30 2023)
    eba351e40         Marc Mueller: Add pip as test requirement for PEP 660 editable installs (#15482) (Fri Jun 23 17:39:26 2023)
    9faffe87c         Marc Mueller: Bump typing_extensions dependency (#15488)                (Fri Jun 23 17:39:21 2023)
    7871ed92a             Shantanu: Switch PEP 561 tests to a different build backend (#15451) (Fri Jun 23 17:39:16 2023)
    87ddfeeef         hauntsaninja: Add back +dev to version                                  (Fri Jun 23 17:38:45 2023)
    

    Hopefully this is all good. If I don't hear anything, I'll make a patch release this weekend (really excited to have the 1.4 speedups at work, but the async thing is a blocker)

  25. hauntsaninja commented on Jun 25, 2023

    @hauntsaninja
    Collaborator

    I've released mypy 1.4.1

  26. Avasam commented on Jul 23, 2023

    @Avasam
    SponsorContributor

    Was #15429 actually included in 1.4.1 ? I still have the issue where --ignore-missing-imports causes

    Restarting: configuration changed
    Daemon stopped
    Daemon started
    
  27. svalentin commented on Jul 23, 2023

    @svalentin
    Collaborator

    I don't see it in https://github.com/python/mypy/commits/release-1.4
    It will definitely be in release 1.5

  28. intgr commented on Jul 25, 2023

    @intgr
    Contributor

    The mypy website https://www.mypy-lang.org/ still hasn't been updated to list version 1.4.

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

    metaIssues tracking a broad area of work

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions