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 3.0.0 to 3.0.1 #250

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2023

Bumps typeguard from 3.0.0 to 3.0.1.

Changelog

Sourced from typeguard's changelog.

Version history

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

3.0.1 (2023-03-16)

  • Improved the documentation
  • Fixed assignment unpacking (a, b = ...) being checked incorrectly
  • Fixed @typechecked attempting to instrument wrapper decorators such as @contextmanager when applied to a class
  • Fixed py.typed missing from the wheel when not building from a git checkout

3.0.0 (2023-03-15)

  • BACKWARD INCOMPATIBLE Dropped the argname, memo, globals and locals arguments from check_type()
  • BACKWARD INCOMPATIBLE Removed the check_argument_types() and check_return_type() functions (use @typechecked instead)
  • BACKWARD INCOMPATIBLE Moved install_import_hook to be directly importable from the typeguard module
  • BACKWARD INCOMPATIBLE Changed the checking of collections (list, set, dict, sequence, mapping) to only check the first item by default. To get the old behavior, set typeguard.config.collection_check_strategy to CollectionCheckStrategy.ALL_ITEMS
  • BACKWARD INCOMPATIBLE Type checking failures now raise typeguard.TypeCheckError instead of TypeError
  • Dropped Python 3.5 and 3.6 support
  • Dropped the deprecated profiler hook (TypeChecker)
  • Added a configuration system
  • Added support for custom type checking functions
  • Added support for PEP 604 union types (X | Y) on all Python versions
  • Added support for generic built-in collection types (list[int] et al) on all Python versions
  • Added support for checking arbitrary Mapping types
  • Added support for the Self type
  • Added support for typing.Never (and typing_extensions.Never)
  • Added support for Never and NoReturn in argument annotations
  • Added support for LiteralString
  • Added support for TypeGuard
  • Added support for the subclassable Any on Python 3.11 and typing_extensions
  • Added the possibility to have the import hook instrument all packages
  • Added the suppress_type_checks() context manager function for temporarily disabling type checks
  • Much improved error messages showing where the type check failed
  • Made it possible to apply @typechecked on top of @classmethod / @staticmethod (PR by jacobpbrugh)
  • Changed check_type() to return the passed value, so it can be used (to an extent) in place of typing.cast(), but with run-time type checking
  • Replaced custom implementation of is_typeddict() with the implementation from

... (truncated)

Commits
  • 55dec69 Added release date
  • 84331cd Added extra test for unpacking assignment
  • 188e002 Fixed unpacking assignment failing when only some target variables are annotated
  • ffbd603 Mentioned the packaging fix for py.typed
  • 216a7b9 Fixed wrapper checks not being done when @typechecked is used on a class
  • bc215ed Improved the documentation
  • 24bfa6c Fixed test_unpacking_assign() failing on Python 3.7 and 3.8
  • a52c655 Fixed wrong test condition in check_variable_assignment()
  • 98ee364 Ensure that py.typed gets included even when building w/o a git checkout
  • 4d3bd6f Add missing news item about TypeCheckError
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 16, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/typeguard-3.0.1 branch from cb3c44f to 397024a Compare March 20, 2023 16:14
Bumps [typeguard](https://github.com/agronholm/typeguard) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/agronholm/typeguard/releases)
- [Changelog](https://github.com/agronholm/typeguard/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/typeguard@3.0.0...3.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 force-pushed the dependabot/pip/typeguard-3.0.1 branch from 397024a to c610f58 Compare March 21, 2023 13:37
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 23, 2023

Superseded by #259.

@dependabot dependabot bot closed this Mar 23, 2023
@dependabot dependabot bot deleted the dependabot/pip/typeguard-3.0.1 branch March 23, 2023 13:09
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.

0 participants