antonagestam / phantom-types

Phantom types for Python.
https://pypi.org/project/phantom-types/
BSD 3-Clause "New" or "Revised" License
204 stars 9 forks source link

Bump beartype from 0.18.5 to 0.19.0 #314

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Bumps beartype from 0.18.5 to 0.19.0.

Release notes

Sourced from beartype's releases.

Beartype 0.19.0: A Flying Man-Pig Gives the Thumbs Up of QA

@​beartype 0.19.0 gently glides into your CI workflow for a crash miracle landing. Engines go brrrrrrrr.

@​beartype 0.19.0 narrowly avoids the grazing sheep in this terrifying metaphor.

@​beartype 0.19.0 invites you to experience either the future of QA or a new catastrophe for QA – all from the comfort of your (t)rusty keyboard. It now thrums with untold power and the lurid afterglow of our out-of-control release cycle.

pip install --upgrade beartype    # <-- engines hit full throttle, stomach hits full empty

@​beartype 0.19.0 is proudly brought to you by...

GitHub Sponsors: When You Befriend the Bear, You Got a Bear

This release comes courtesy these proud GitHub Sponsors, without whom @​leycec's cats would currently be eating grasshoppers:

Thanks so much, masters of fintech and metrology.

The Masters of Fintech and Metrology. That's who.

@​beartype 0.19.0: What Broke This Time?

Probably, a whole lot. Hopefully, a whole little. The truth lies in the middle.

@​beartype 0.19.0 sidles up to your codebase in its blind spot with something suspicious in its paws. Questionable new features include:

  • beartype.door.infer_hint(): let BeartypeAI™ write your type hints for you, because you no longer have der Wille zur Macht to constantly deal with all this [redacted pejorative]:

    # I've got a crazy object here, @beartype. What's the crazy type hint that
    # matches my crazy object? This is gonna really suck. I can *FEEL* it coming
    # through my monitor tonight.
    >>> beartype.door.infer_hint(pygments.lexers.PythonLexer().tokens["root"])
    list[typing.Union[tuple[str | collections.abc.Callable[
    typing.Concatenate[object, object, ...], object], ...], tuple[str |
    pygments.token._TokenType[str], ...], typing.Annotated[
    collections.abc.Collection[str], beartype.vale.IsInstance[
    pygments.lexer.include]]]]  # <-- I have no idea. Neither does that cute intern.
    

... (truncated)

Commits
  • f17bbed Beartype 0.19.0: A Flying Man-Pig Gives the Thumbs Up of QA
  • 00a5520 @​beartype 0.19.0: All abooooooard!
  • 62d40dc Beartype 0.19.0rc3 started.
  • b355139 Beartype 0.19.0 RC 2: Prelude to Bug-free Bliss
  • 2a86c99 Shallow PEP 646 + 692 x 4.
  • 2760fed Shallow PEP 692 x 3.
  • c6a3f1a Shallow PEP 692 x 2.
  • 8f56cc9 Shallow PEP 692 x 1.
  • a427eea mypy + pyright: Be Silent, You!
  • fe20269 Forward reference resolution exception improved.
  • 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 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)