Skip to content

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

Open
dependabot[bot] wants to merge 1 commit into8.0.xfrom
dependabot/pip/pytest-mypy-plugins-4.0.0
Open

Bump pytest-mypy-plugins from 3.3.0 to 4.0.0#230
dependabot[bot] wants to merge 1 commit into8.0.xfrom
dependabot/pip/pytest-mypy-plugins-4.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 13, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants