Skip to content

Update typeguard requirement from >=4.0.0 to >=4.6.0 - #560

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/typeguard-gte-4.6.0
Closed

Update typeguard requirement from >=4.0.0 to >=4.6.0#560
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/typeguard-gte-4.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on typeguard to permit the latest version.

Release notes

Sourced from typeguard's releases.

4.6.0

  • Added support for type checking against the PEP 661 sentinel type (built-in on Python 3.15 and available on typing_extensions for earlier Pythons)
  • Added the typeguard-packages-ignore option (--typeguard-packages-ignore on the command line) to the pytest plugin to exclude specific packages from type checking (#523)
  • Added recognition of wildcard imports from typing and typing_extensions in the import hook/instrumenter (#489; PR by @​ShipitAndPray)
  • Fixed compatibility with Python 3.15 (#554; PR by @​hrnciar)
  • Fixed an assignment expression against an annotated name (x: int, then if (x := ...)) being instrumented as an unpacking target, which raised TypeError for a non-iterable value and silently replaced an iterable value with list(value) (#557)
  • Fixed false positive when checking a class against type[SomeProtocol] where the protocol declares non-ClassVar (instance) attributes; only ClassVar members are now required on the class itself (#499)
  • Fixed Literal checks depending on the order of the arguments, where a bool would not match if an == equal int came first (Literal[1, True] rejected True, but Literal[True, 1] accepted it) (#566; PR by @​uttam12331)
  • Fixed the import hook/instrumenter erasing the subscript of an empty tuple annotation (tuple[()]) down to a bare tuple, causing any tuple (including non-empty ones) to pass the check (#565; PR by @​chuenchen309)
  • Dropped support for Python 3.9
Commits
  • 9f289c7 Added release date
  • f7784d6 Removed leftover compatibility code for Python 3.9 and earlier
  • f971baa Added support for the sentinel type
  • abf8f43 Added the typeguard-packages-ignore option
  • 7e5102e Fixed a typo
  • a319de1 Do not erase a meaningful empty tuple[()] subscript in the transformer (#565)
  • dd7fa67 Fixed Literal check depending on argument order for bools (#566)
  • a42dc4d Recognize wildcard-imported Literal annotations (#549)
  • f1007ef Fixed false positive checking a class against type[Protocol] with instance at...
  • 32e7c85 Fixed annotated assignment expressions being treated as unpacking targets (#563)
  • Additional commits viewable in compare view

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)

Updates the requirements on [typeguard](https://github.com/agronholm/typeguard) to permit the latest version.
- [Release notes](https://github.com/agronholm/typeguard/releases)
- [Commits](agronholm/typeguard@4.0.0...4.6.0)

---
updated-dependencies:
- dependency-name: typeguard
  dependency-version: 4.6.0
  dependency-type: direct:production
...

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 Jul 27, 2026
@hategan

hategan commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Keeping Python 3.9 compatibility for now.

@hategan hategan closed this Jul 28, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pip/typeguard-gte-4.6.0 branch July 28, 2026 20:13
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.

1 participant