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.2 #259

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps typeguard from 3.0.0 to 3.0.2.

Changelog

Sourced from typeguard's changelog.

Version history

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

3.0.2 (2023-03-22)

  • Improved warnings by ensuring that they target user code and not Typeguard internal code
  • Fixed warn_on_error() not showing where the type violation actually occurred
  • Fixed local assignment to *args or **kwargs being type checked incorrectly
  • Fixed TypeError on check_type(..., None)
  • Fixed unpacking assignment not working with a starred variable (x, *y = ...) in the target tuple
  • Fixed variable multi-assignment (a = b = c = ...) being type checked incorrectly

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

... (truncated)

Commits
  • db77710 Added release date
  • 247529f [pre-commit.ci] pre-commit autoupdate
  • a37c482 Added explicit stacklevel arguments to all warnings
  • 76fcd70 Fixed variable multi-assignment not being type checked properly
  • 20a0a77 Fixed unpacking assignment not working with starred variable
  • 4790b43 Fixed TypeError on check_type(..., None)
  • 0a78466 Fixed test failure on Python 3.7
  • 835fb65 Fixed checks for assignments to varargs or varkwargs variables
  • c333a35 Fixed warn_on_error() not showing the actual line of the type violation
  • 55dec69 Added release date
  • 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 23, 2023
Bumps [typeguard](https://github.com/agronholm/typeguard) from 3.0.0 to 3.0.2.
- [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.2)

---
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.2 branch from d31f51a to f9c2687 Compare March 23, 2023 21:33
@aeturrell aeturrell merged commit 404ab53 into master Mar 24, 2023
@aeturrell aeturrell deleted the dependabot/pip/typeguard-3.0.2 branch March 24, 2023 17:42
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