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 2.13.3 to 4.1.5 #976

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps typeguard from 2.13.3 to 4.1.5.

Release notes

Sourced from typeguard's releases.

4.1.5

  • Fixed Callable erroneously rejecting a callable that has the requested amount of positional arguments but they have defaults (#400)
  • Fixed a regression introduced in v4.1.4 where the elements of Literal got quotes removed from them by the AST transformer (#399)

4.1.4

  • Fixed AttributeError where the transformer removed elements from a PEP 604 union (#384)
  • Fixed AttributeError: 'Subscript' object has no attribute 'slice' when encountering an annotation with a subscript containing an ignored type (imported within an if TYPE_CHECKING: block) (#397)
  • Fixed type checking not being skipped when the target is a union (PEP 604 or typing.Union) where one of the elements is an ignored type (shadowed by an argument, variable assignment or an if TYPE_CHECKING import) (#394, #395)
  • Fixed type checking of class instances created in __new__() in cases such as enums where this method is already invoked before the class has finished initializing (#398)
Changelog

Sourced from typeguard's changelog.

Version history

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

4.1.5 (2023-09-11)

  • Fixed Callable erroneously rejecting a callable that has the requested amount of positional arguments but they have defaults ([#400](https://github.com/agronholm/typeguard/issues/400) <https://github.com/agronholm/typeguard/issues/400>_)
  • Fixed a regression introduced in v4.1.4 where the elements of Literal got quotes removed from them by the AST transformer ([#399](https://github.com/agronholm/typeguard/issues/399) <https://github.com/agronholm/typeguard/issues/399>_)

4.1.4 (2023-09-10)

  • Fixed AttributeError where the transformer removed elements from a PEP 604 union ([#384](https://github.com/agronholm/typeguard/issues/384) <https://github.com/agronholm/typeguard/issues/384>_)
  • Fixed AttributeError: 'Subscript' object has no attribute 'slice' when encountering an annotation with a subscript containing an ignored type (imported within an if TYPE_CHECKING: block) ([#397](https://github.com/agronholm/typeguard/issues/397) <https://github.com/agronholm/typeguard/issues/397>_)
  • Fixed type checking not being skipped when the target is a union (PEP 604 or typing.Union) where one of the elements is an ignored type (shadowed by an argument, variable assignment or an if TYPE_CHECKING import) ([#394](https://github.com/agronholm/typeguard/issues/394) <https://github.com/agronholm/typeguard/issues/394>, [#395](https://github.com/agronholm/typeguard/issues/395) <https://github.com/agronholm/typeguard/issues/395>)
  • Fixed type checking of class instances created in __new__() in cases such as enums where this method is already invoked before the class has finished initializing ([#398](https://github.com/agronholm/typeguard/issues/398) <https://github.com/agronholm/typeguard/issues/398>_)

4.1.3 (2023-08-27)

  • Dropped Python 3.7 support
  • Fixed @typechecked optimization causing compilation of instrumented code to fail when any block was left empty by the AST transformer (eg if or try / except blocks) ([#352](https://github.com/agronholm/typeguard/issues/352) <https://github.com/agronholm/typeguard/issues/352>_)
  • Fixed placement of injected typeguard imports with respect to __future__ imports and module docstrings ([#385](https://github.com/agronholm/typeguard/issues/385) <https://github.com/agronholm/typeguard/issues/385>_)

4.1.2 (2023-08-18)

  • Fixed Any being removed from a subscript that still contains other elements ([#373](https://github.com/agronholm/typeguard/issues/373) <https://github.com/agronholm/typeguard/issues/373>_)

4.1.1 (2023-08-16)

  • Fixed suppress_type_checks() causing annotated variable assignments to always

... (truncated)

Commits
  • fa5f675 Added release date
  • ec87739 Fixed AnnotationTransformer removing quotes from Literals
  • 2a58441 Fixed check_callable() not counting positional args with defaults properly
  • b10b9b2 Added release date
  • b218fd8 Removed an erroneous check added in 888a8c57
  • bf71c4f Removed an inadvertently added argument to coverage
  • 888a8c5 Allowed __new__() to type check against its own class
  • 4d1768c Fixed bad type checking logic when a union element is shadowed
  • 2fc1dd5 Fixed formatting issues in the changelog
  • 4c04b12 Fixed AttributeError when a subscript's slice is removed
  • 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 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 dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 11, 2023
@Quentame
Copy link
Member

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-4.1.5 branch from ba72209 to 7e36ae9 Compare October 20, 2023 11:43
@epenet
Copy link
Collaborator

epenet commented Dec 14, 2023

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-4.1.5 branch 4 times, most recently from fd650be to 5f9cd03 Compare December 14, 2023 08:51
@epenet
Copy link
Collaborator

epenet commented Mar 12, 2024

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-4.1.5 branch 2 times, most recently from 17981d1 to 3b1533d Compare March 12, 2024 08:43
@epenet
Copy link
Collaborator

epenet commented Mar 13, 2024

@dependabot recreate

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-4.1.5 branch from 3b1533d to 89c44b8 Compare March 13, 2024 10:07
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 25, 2024

Superseded by #1122.

@dependabot dependabot bot closed this Mar 25, 2024
@dependabot dependabot bot deleted the dependabot/pip/typeguard-4.1.5 branch March 25, 2024 10:11
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.

None yet

2 participants