Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 15, 2023

Bumps typeguard from 2.13.3 to 4.0.0.

Changelog

Sourced from typeguard's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <https://semver.org/#semantic-versioning-200>_.

4.0.0 (2023-05-12)

  • No changes

4.0.0rc6 (2023-05-07)

  • Fixed @typechecked optimization causing compilation of instrumented code to fail when an if block was left empty by the AST transformer ([#352](https://github.com/agronholm/typeguard/issues/352) <https://github.com/agronholm/typeguard/issues/352>_)
  • Fixed the AST transformer trying to parse the second argument of typing.Annotated as a forward reference ([#353](https://github.com/agronholm/typeguard/issues/353) <https://github.com/agronholm/typeguard/issues/353>_)

4.0.0rc5 (2023-05-01)

  • Added InstrumentationWarning to the public API
  • Changed @typechecked to skip instrumentation in optimized mode, as in typeguard 2.x
  • Avoid type checks where the types in question are shadowed by local variables
  • Fixed instrumentation using typing.Optional without a subscript when the subscript value was erased due to being an ignored import
  • Fixed TypeError: isinstance() arg 2 must be a type or tuple of types when instrumented code tries to check a value against a naked (str, not ForwardRef) forward reference
  • Fixed instrumentation using the wrong "self" type in the __new__() method

4.0.0rc4 (2023-04-15)

  • Fixed imports guarded by if TYPE_CHECKING: when used with subscripts (SomeType[...]) being replaced with Any[...] instead of just Any
  • Fixed instrumentation inadvertently mutating a function's annotations on Python 3.7 and 3.8
  • Fixed Concatenate[...] in Callable parameters causing TypeError to be raised
  • Fixed type checks for *args or **kwargs not being suppressed when their types are unusable (guarded by if TYPE_CHECKING: or otherwise)
  • Fixed TypeError when checking against a generic NewType
  • Don't try to check types shadowed by argument names (e.g. def foo(x: type, type: str): ...)
  • Don't check against unions where one of the elements is Any

4.0.0rc3 (2023-04-10)

  • Fixed typing.Literal subscript contents being evaluated as forward references
  • Fixed resolution of forward references in type aliases

... (truncated)

Commits
  • 887e27e Declared the latest RC as final
  • 668d2a0 Added release date
  • be4dd33 Don't try to parse the second argument of Annotated as a forward reference
  • 3863c0f Fixed AST transformations potentially leaving "if" bodies empty
  • a2090ed [pre-commit.ci] pre-commit autoupdate (#351)
  • a6a9b71 Use the proper environment for release
  • c888515 Added release date
  • 8923b7b Made @typechecked a no-op in optimized mode (#350)
  • 43d686e Switch to the official coveralls action
  • e688da2 Skip type checks where the type names are shadowed by local variables
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team May 15, 2023 14:08
@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-4.0.0 branch 2 times, most recently from c20091b to f5ad77b Compare May 15, 2023 17:09
@danielknell
Copy link
Member

@dependabot rebase

Bumps [typeguard](https://github.com/agronholm/typeguard) from 2.13.3 to 4.0.0.
- [Changelog](https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/typeguard@2.13.3...4.0.0)

---
updated-dependencies:
- dependency-name: typeguard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-4.0.0 branch from f5ad77b to 157df83 Compare July 16, 2023 22:17
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 31, 2023

Superseded by #59.

@dependabot dependabot bot closed this Jul 31, 2023
@dependabot dependabot bot deleted the dependabot/pip/typeguard-4.0.0 branch July 31, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants