Skip to content

Bump typeguard from 2.13.3 to 4.5.1#123

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/typeguard-4.5.1
Open

Bump typeguard from 2.13.3 to 4.5.1#123
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/typeguard-4.5.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps typeguard from 2.13.3 to 4.5.1.

Release notes

Sourced from typeguard's releases.

4.5.1

  • Fixed iterable unpacking incorrectly calculating the cut-off offset of the item list when assigning remaining values to the star variable (#546)

4.5.0

  • Restored the check_argument_types() and check_return_type() functions that were dropped in v3.0.0, for users who want more fine-grained control over run-time type checking (#437)
  • Added support for extra_items in TypedDict, allowing users to specify the types for the values of "leftover" keys in a typed dict (keys that weren't explicitly defined in the TypedDict subclass) (#538)
  • Fixed NameError when evaluating forward references on Python 3.14 (#536; PR by @​dionhaefner)
  • Fixed protocol check incorrectly rejecting inherited classmethods and staticmethods (#539)
  • Fixed missing TypeCheckError when checking TypedDict with Required[...] annotations (#533; PR by @​dionhaefner)
  • Fixed type aliases (e.g. type Foo = list[int]) not being resolved during type checking (#526)
  • Fixed type-checked assignments to a single tuple target (e.g. x, = ("foo",)) falsely raising TypeCheckedError (#535)

4.4.4

  • Fixed IndexError when using @typechecked on more than one function with the same name under certain circumstances (#527)
  • Fixed TypeError during type checking when the value to check is a parametrized generic class (#526)

4.4.3

  • Fixed @typechecked unable to find the target function or method if it or the containing class had PEP 695 type parameters on them (#500)
  • Fixed handling of union types on Python 3.14 (#522)
  • Fixed __type_params__ getting lost when a function is instrumented

4.4.2

  • Fixed TypeCheckError in unpacking assignment involving properties of a parameter of the function (#506; regression introduced in v4.4.1)
  • Fixed display of module name for forward references (#492; PR by @​JelleZijlstra)
  • Fixed TypeError when using an assignment expression (#510; PR by @​JohannesK71083)
  • Fixed ValueError: no signature found for builtin when checking against a protocol and a matching attribute in the subject is a built-in function (#504)

4.4.1

  • Dropped Python 3.8 support
  • Changed the signature of typeguard_ignore() to be compatible with typing.no_type_check() (PR by @​jolaf)
  • Avoid creating reference cycles when type checking uniontypes and classes
  • Fixed checking of variable assignments involving tuple unpacking (#486)
  • Fixed TypeError when checking a class against type[Self] (#481)
  • Fixed checking of protocols on the class level (against type[SomeProtocol]) (#498)
  • Fixed Self checks in instance/class methods that have positional-only arguments
  • Fixed explicit checks of PEP 604 unions against types.UnionType (#467)
  • Fixed checks against annotations wrapped in NotRequired not being run unless the NotRequired is a forward reference (#454)

4.4.0

  • Added proper checking for method signatures in protocol checks (#465)
  • Fixed basic support for intersection protocols (#490; PR by @​antonagestam)
  • Fixed protocol checks running against the class of an instance and not the instance itself (this produced wrong results for non-method member checks)

4.3.0

  • Added support for checking against static protocols
  • Fixed some compatibility problems when running on Python 3.13 (#460; PR by @​JelleZijlstra)
  • Fixed test suite incompatibility with pytest 8.2 (#461)
  • Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just present) (#343)

4.2.1

... (truncated)

Commits
  • 67cae3d Added release date
  • 8005884 Fixed incorrect calculation of cutoff_offset in check_variable_assignment()
  • 85bf35b Fixed the PyPI upload step
  • 16e827f Added release date
  • 5a075bc Fixed duplicate test parameter ID
  • af3ab1f Updated README to mention the two restored functions
  • 574dda4 Restored check_argument_types() and check_return_value()
  • b05b7da Fixed single-tuple unpacking assignments not working
  • 208c246 Added funding information and moved the security info
  • 1cd7638 Fixed type aliases not being resolved during type checking
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 [typeguard](https://github.com/agronholm/typeguard) from 2.13.3 to 4.5.1.
- [Release notes](https://github.com/agronholm/typeguard/releases)
- [Commits](agronholm/typeguard@2.13.3...4.5.1)

---
updated-dependencies:
- dependency-name: typeguard
  dependency-version: 4.5.1
  dependency-type: direct:production
  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 Apr 2, 2026
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

CI Commands

The following CI workflows run automatically on every push and pull request:

Workflow What it runs
GPU Cluster Monitoring Python CI lint, tests, typecheck, format, deb build, pyoxidizer builds
Go packages CI shelper tests, format, lint

The following commands can be used by maintainers to trigger additional tests that require access to secrets:

Command Description Requires approval?
/metaci tests Runs Meta internal integration tests (pytest) Yes — a maintainer must trigger the command and approve the deployment request
/metaci integration tests Same as above (alias) Yes

Note: Only repository maintainers (OWNER association) can trigger /metaci commands. After commenting the command, a maintainer must also navigate to the Actions tab and approve the deployment to the graph-api-access environment before the jobs will run. See the approval guidelines for what to approve or reject.

@meta-cla meta-cla bot added the cla signed label Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed 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