Skip to content

2.4.0: massive test suite failure #22103

Description

@0-wiz-0

Bug Report

While updating the mypy package in pkgsrc from 2.3.1 to 2.4.0, I ran the test suite.
I see a huge amount of test failures, while the test suite run for 2.3.1 was mostly ok (15 failed, 14149 passed, 403 skipped, 12 xfailed).

To Reproduce

Run pytest after building the package in pkgsrc.

Expected Behavior

2.3.1 output

Actual Behavior

2.4.0 output

Your Environment

  • Mypy version used: 2.3.1/2.4.0
  • Mypy command-line flags: test suite
  • Mypy configuration options from mypy.ini (and other config files): n/a
  • Python version used: 3.14.8

This is on NetBSD 11.99.9/x86_64 in case it matters.
For the tests above, I used the exact same versions of the dependencies, just ran the suite once for 2.3.1 and once for 2.4.0:

ast-serialize-0.12.1
attrs-26.1.0
build-1.6.1
coverage-7.16.2
execnet-2.1.2
filelock-4.0.10
iniconfig-2.3.0
installer-1.0.1
librt-0.16.0
mypy_extensions-1.1.0
packaging-26.3
pathspec-1.1.1
pluggy-1.6.0
psutil-7.2.2nb3
pygments-2.21.0
pyproject_hooks-1.3.3
setuptools-84.0.0
test-9.1.1
test-cov-7.1.0
test-xdist-3.8.0
typing-extensions-4.16.0

Activity

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

    bugmypy got something wrongtopic-developerIssues relevant to mypy developerstopic-tests

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions