Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump typeguard from 4.0.0 to 4.0.1 #477

Merged
merged 1 commit into from
Jul 27, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 27, 2023

Bumps typeguard from 4.0.0 to 4.0.1.

Changelog

Sourced from typeguard's changelog.

Version history

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

4.0.1 (2023-07-27)

  • Fixed handling of typing_extensions.Literal on Python 3.8 and 3.9 when typing_extensions>=4.6.0 is installed ([#363](https://github.com/agronholm/typeguard/issues/363) <https://github.com/agronholm/typeguard/issues/363>_; PR by Alex Waygood)
  • Fixed NameError when generated type checking code references an imported name from a method ([#362](https://github.com/agronholm/typeguard/issues/362) <https://github.com/agronholm/typeguard/issues/362>_)
  • Fixed docstrings disappearing from instrumented functions ([#359](https://github.com/agronholm/typeguard/issues/359) <https://github.com/agronholm/typeguard/issues/359>_)
  • Fixed @typechecked failing to instrument functions when there are more than one function within the same scope ([#355](https://github.com/agronholm/typeguard/issues/355) <https://github.com/agronholm/typeguard/issues/355>_)
  • Fixed frozenset not being checked ([#367](https://github.com/agronholm/typeguard/issues/367) <https://github.com/agronholm/typeguard/issues/367>_)

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

... (truncated)

Commits
  • cc5cc54 Added release date
  • 2766aa7 Install typing_extensions on Python 3.11 too
  • 00ac621 Fixed frozenset not being checked
  • 686f25a Bumped the minimum version of typing_extensions
  • 1950db1 Updated pre-commit modules
  • 53525e1 Fixed @typechecked failing to instrument functions with duplicate names in ...
  • f377be3 Fixed deprecation warnings on Python 3.12
  • 91204af Test against Python 3.12
  • 05b1c67 Fixed docstrings being unavailable after instrumentation
  • 845fcbc Fixed NameError when a decorated method references an imported name
  • Additional commits viewable in compare view

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 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)

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

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

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, 2023
@staticdev staticdev merged commit ccb9e80 into main Jul 27, 2023
24 checks passed
@dependabot dependabot bot deleted the dependabot/pip/typeguard-4.0.1 branch July 27, 2023 20:33
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