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-dev): bump typeguard from 2.13.3 to 3.0.0 #645

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps typeguard from 2.13.3 to 3.0.0.

Changelog

Sourced from typeguard's changelog.

Version history

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

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
  • 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 typing_extensions v4.1.0
  • Emit InstrumentationWarning instead of raising RuntimeError from the pytest plugin if modules in the target package have already been imported
  • Fixed TypeError when checking against TypedDict when the value has mixed types among the extra keys (PR by biolds)
  • Fixed incompatibility with typing_extensions v4.1+ on Python 3.10 (PR by David C.)
  • Fixed checking of Tuple[()] on Python 3.11 and tuple[()] on Python 3.9+
  • Fixed integers 0 and 1 passing for Literal[False] and Literal[True], respectively
  • Fixed type checking of annotated variable positional and keyword arguments (*args and **kwargs)
  • Fixed checks against unittest.Mock and derivatives being done in the wrong place

2.13.3 (2021-12-10)

... (truncated)

Commits
  • f54e1db Added release date
  • 83ca180 Updated pre-commit modules
  • b10c2e0 Simplified imports
  • 71c4aec Documented current limitations on forward reference resolution
  • be35856 Added .pytest_cache and .ruff_cache to .gitignore
  • 1085eb8 Fixed Sphinx warning/error about ctypes._CData
  • 8f5c6b7 Removed pyupgrade from pre-commit configuration
  • f268739 Updated pre-commit modules
  • c123292 Replaced isort and flake8 with ruff
  • 9024521 Fixed @typechecked with return type annotation referencing nonlocal name
  • 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)

Bumps [typeguard](https://github.com/agronholm/typeguard) from 2.13.3 to 3.0.0.
- [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...3.0.0)

---
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 added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 15, 2023
@github-actions github-actions bot enabled auto-merge March 15, 2023 09:04
@github-actions github-actions bot merged commit a6e4252 into main Mar 15, 2023
@github-actions github-actions bot deleted the dependabot/pip/typeguard-3.0.0 branch March 15, 2023 15:30
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