Skip to content

Bump pytest-mypy-plugins from 3.3.0 to 4.0.0#2377

Merged
sobolevn merged 1 commit intomasterfrom
dependabot/pip/pytest-mypy-plugins-4.0.0
Apr 14, 2026
Merged

Bump pytest-mypy-plugins from 3.3.0 to 4.0.0#2377
sobolevn merged 1 commit intomasterfrom
dependabot/pip/pytest-mypy-plugins-4.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 14, 2026

Bumps pytest-mypy-plugins from 3.3.0 to 4.0.0.

Release notes

Sourced from pytest-mypy-plugins's releases.

Version 4.0.0

What's Changed

Bugfixes

  • Breaking: Errors are now ignored in site-packages by default. The --mypy-only-local-stub flag has been removed and replaced with --mypy-no-silence-site-packages which can be used to restore the previous behavior if needed. This change was made to avoid errors being raised when enabling certain mypy options, e.g. the explicit-override error code or the --disallow-subclassing-any flag, which resulted in violations due to these not being supported with the stubs provided by typeshed for the standard library. In addition, this affected other error codes or flags for some third-party libraries in django-stubs.
  • Breaking: When running in a subprocess (the default), PYTHONPATH is no longer set. With the above change, violations would still be raised in the main module for a test case, but those that were flagged in imported modules would no longer be raised. This was because these modules were being added to PYTHONPATH which caused mypy to treat them as belonging in site-packages and not as part of the first-party package. The new --mypy-modify-pythonpath flag can be used to revert to the previous behavior if needed.

New Contributors

Full Changelog: typeddjango/pytest-mypy-plugins@3.3.0...4.0.0

Changelog

Sourced from pytest-mypy-plugins's changelog.

4.0.0

Bugfixes

  • Breaking: Errors are now ignored in site-packages by default. The --mypy-only-local-stub flag has been removed and replaced with --mypy-no-silence-site-packages which can be used to restore the previous behavior if needed. This change was made to avoid errors being raised when enabling certain mypy options, e.g. the explicit-override error code or the --disallow-subclassing-any flag, which resulted in violations due to these not being supported with the stubs provided by typeshed for the standard library. In addition, this affected other error codes or flags for some third-party libraries in django-stubs.
  • Breaking: When running in a subprocess (the default), PYTHONPATH is no longer set. With the above change, violations would still be raised in the main module for a test case, but those that were flagged in imported modules would no longer be raised. This was because these modules were being added to PYTHONPATH which caused mypy to treat them as belonging in site-packages and not as part of the first-party package. The new --mypy-modify-pythonpath flag can be used to revert to the previous behavior if needed.
Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 14, 2026
@sobolevn
Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [pytest-mypy-plugins](https://github.com/TypedDjango/pytest-mypy-plugins) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/TypedDjango/pytest-mypy-plugins/releases)
- [Changelog](https://github.com/typeddjango/pytest-mypy-plugins/blob/master/CHANGELOG.md)
- [Commits](typeddjango/pytest-mypy-plugins@3.3.0...4.0.0)

---
updated-dependencies:
- dependency-name: pytest-mypy-plugins
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-mypy-plugins-4.0.0 branch from b3a9f16 to 84b8707 Compare April 14, 2026 14:26
@sobolevn sobolevn merged commit e1148ff into master Apr 14, 2026
22 checks passed
@sobolevn sobolevn deleted the dependabot/pip/pytest-mypy-plugins-4.0.0 branch April 14, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Development

Successfully merging this pull request may close these issues.

1 participant