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.1.3 to 4.4.1 in /training #73

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2024

Bumps typeguard from 4.1.3 to 4.4.1.

Release notes

Sourced from typeguard's releases.

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

  • Fixed missing typing_extensions dependency for Python 3.12 (#444)
  • Fixed deprecation warning in the test suite on Python 3.13 (#444)

4.2.0

  • Added support for specifying options for the pytest plugin via pytest config files (#440)
  • Avoid creating reference cycles when type checking unions (PR by Shantanu)
  • Fixed Optional[...] being removed from the AST if it was located within a subscript (#442)
  • Fixed TypedDict from typing_extensions not being recognized as one (#443)
  • Fixed typing types (dict[str, int], List[str], etc.) not passing checks against type or Type (#432, PR by Yongxin Wang)
  • Fixed detection of optional fields (NotRequired[...]) in TypedDict when using forward references (#424)
  • Fixed mapping checks against Django's MultiValueDict (#419)

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.4.1 (2024-11-03)

  • 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](https://github.com/agronholm/typeguard/issues/486) <https://github.com/agronholm/typeguard/issues/486>_)
  • Fixed TypeError when checking a class against type[Self] ([#481](https://github.com/agronholm/typeguard/issues/481) <https://github.com/agronholm/typeguard/issues/481>_)
  • Fixed checking of protocols on the class level (against type[SomeProtocol]) ([#498](https://github.com/agronholm/typeguard/issues/498) <https://github.com/agronholm/typeguard/issues/498>_)
  • Fixed Self checks in instance/class methods that have positional-only arguments
  • Fixed explicit checks of PEP 604 unions against types.UnionType ([#467](https://github.com/agronholm/typeguard/issues/467) <https://github.com/agronholm/typeguard/issues/467>_)
  • Fixed checks against annotations wrapped in NotRequired not being run unless the NotRequired is a forward reference ([#454](https://github.com/agronholm/typeguard/issues/454) <https://github.com/agronholm/typeguard/issues/454>_)

4.4.0 (2024-10-27)

  • Added proper checking for method signatures in protocol checks ([#465](https://github.com/agronholm/typeguard/issues/465) <https://github.com/agronholm/typeguard/pull/465>_)
  • Fixed basic support for intersection protocols ([#490](https://github.com/agronholm/typeguard/issues/490) <https://github.com/agronholm/typeguard/pull/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 (2024-05-27)

  • Added support for checking against static protocols
  • Fixed some compatibility problems when running on Python 3.13 ([#460](https://github.com/agronholm/typeguard/issues/460) <https://github.com/agronholm/typeguard/issues/460>_; PR by @​JelleZijlstra)
  • Fixed test suite incompatibility with pytest 8.2 ([#461](https://github.com/agronholm/typeguard/issues/461) <https://github.com/agronholm/typeguard/issues/461>_)
  • Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just present) ([#343](https://github.com/agronholm/typeguard/issues/343) <https://github.com/agronholm/typeguard/issues/343>_)

4.2.1 (2023-03-24)

  • Fixed missing typing_extensions dependency for Python 3.12 ([#444](https://github.com/agronholm/typeguard/issues/444) <https://github.com/agronholm/typeguard/issues/444>_)
  • Fixed deprecation warning in the test suite on Python 3.13 ([#444](https://github.com/agronholm/typeguard/issues/444) <https://github.com/agronholm/typeguard/issues/444>_)

... (truncated)

Commits
  • cb42103 Added release date
  • b32af0b Added tests against an empty protocol
  • 1c53caa Fixed pytest_ignore_collect not to block default pytest code (#464)
  • 6d6b4de Fixed test_raw_uniontype_fail failing on PyPy
  • 05a6772 Fixed checks being skipped for non-forward-reference NotRequired
  • 7ff5a51 Fixed issue links in the changelog
  • b0b20c2 Fixed explicit checks of PEP 604 unions against types.UnionType
  • 0a39830 Fixed Self checks when a method has positional-only arguments
  • eb1e869 Fixed reference cycles (#493)
  • 28dafec Fixed checking of protocols on the class level
  • 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 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 4.1.3 to 4.4.1.
- [Release notes](https://github.com/agronholm/typeguard/releases)
- [Changelog](https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/typeguard@4.1.3...4.4.1)

---
updated-dependencies:
- dependency-name: typeguard
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants