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

chore(deps): Update typeguard requirement from ~=2.13.3 to >=2.13.3,<4.2.0 in /packages/@jsii/python-runtime #4233

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2023

Updates the requirements on typeguard to permit the latest version.

Changelog

Sourced from typeguard's changelog.

Version history

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

4.1.0 (2023-07-30)

  • Added support for passing a tuple as expected_type to check_type(), making it more of a drop-in replacement for isinstance() ([#371](https://github.com/agronholm/typeguard/issues/371) <https://github.com/agronholm/typeguard/issues/371>_
  • Fixed regression where Literal inside a Union had quotes stripped from its contents, thus typically causing NameError to be raised when run ([#372](https://github.com/agronholm/typeguard/issues/372) <https://github.com/agronholm/typeguard/issues/372>_)

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

... (truncated)

Commits
  • fe7cf07 Added release date
  • 0141f43 Added support for passing a tuple as expected_type to check_type()
  • 6a5b8e2 Fixed literal quotes being stripped from Union[Literal[...],]
  • 2a5ef72 Separated building and publishing to different jobs
  • 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 ...
  • Additional commits viewable in compare view

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

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added auto-approve dependencies This issue is a problem in a dependency or a pull request that updates a dependency file. language/python Related to Python bindings labels Aug 14, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch from addffe0 to 99b39b6 Compare August 14, 2023 13:59
@dependabot dependabot bot force-pushed the dependabot/pip/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch from 99b39b6 to 338798e Compare August 14, 2023 16:27
@dependabot dependabot bot force-pushed the dependabot/pip/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch from 338798e to bf3eb47 Compare August 14, 2023 17:30
Updates the requirements on [typeguard](https://github.com/agronholm/typeguard) to permit the latest version.
- [Changelog](https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/typeguard@2.13.3...4.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch from bf3eb47 to 1740819 Compare August 15, 2023 16:55
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 4, 2023

A newer version of typeguard exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@mrgrain
Copy link
Contributor

mrgrain commented Nov 14, 2023

@dependabot recreate

@mrgrain
Copy link
Contributor

mrgrain commented Nov 14, 2023

https://github.com/dependabot recreate

@mrgrain mrgrain closed this Nov 14, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 14, 2023

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/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch November 14, 2023 20:29
@mrgrain
Copy link
Contributor

mrgrain commented Nov 14, 2023

@dependabot reopen

@dependabot dependabot bot reopened this Nov 14, 2023
@dependabot dependabot bot restored the dependabot/pip/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch November 14, 2023 20:29
@mrgrain mrgrain closed this Nov 14, 2023
@mrgrain mrgrain deleted the dependabot/pip/packages/jsii/python-runtime/typeguard-gte-2.13.3-and-lt-4.2.0 branch November 14, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-approve dependencies This issue is a problem in a dependency or a pull request that updates a dependency file. language/python Related to Python bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants