-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update dependency beartype to >=0.22.7,<0.23.0 #21
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/beartype-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58f409d to
062d899
Compare
062d899 to
5d6be96
Compare
5d6be96 to
b67c499
Compare
b67c499 to
d1581b6
Compare
d1581b6 to
104fbf8
Compare
104fbf8 to
1aec2d0
Compare
1aec2d0 to
5689ca7
Compare
5689ca7 to
4575db7
Compare
4575db7 to
17a89c8
Compare
17a89c8 to
d0bb87b
Compare
d0bb87b to
3b8c867
Compare
3b8c867 to
3be6363
Compare
3be6363 to
95b6196
Compare
95b6196 to
686f340
Compare
686f340 to
4796d38
Compare
4796d38 to
3a4e918
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=0.19.0,<0.20.0->>=0.22.7,<0.23.0>=0.19.0,<0.20.0->>=0.22.7,<0.23.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
beartype/beartype (beartype)
v0.22.7: Beartype 0.22.7: The Road to QA Is Paved with Gradio Intentions@beartype
0.22.7descends like an owl with sorta unsettling black eyes devoid of pupils, majestic wings aloft on the winds of QA. Do not be alarmed. Actually, isn't that when you should be most alarmed? When somebody says, "Do not be alarmed"!? The italicization isn't helping, either. But this will:@beartype
0.22.7is the last patch release of the0.22.Xdev cycle. That was a lie. Fortunately, seductive lies aren't a problem here at @beartype. If we want to hear it, it can't be bad. This release brings big:0.22.7. 🕸️ + 🐻 = 🧷async yield fromexpression atfuture-async-yield-fromwas hugely inspiring. If you're into mutating Python into misshapen forms through the cosmic horrors of forbidden AST transformations, ...who isn't? am i right? i'm right check out @rbroderi's work. He's up to no good, which is the best kind. 🤗 🫂That's it. That's all we've got. But you don't even want to know the things we did, the places we went, the behaviour we regret, to make Gradio + @beartype happen. If Gradio means nothing to you, we've got nothing but memes for you.
@beartype should now support all popular Python frameworks. If you (or a codebase you love) know of any Python packages, modules, APIs, or other services that @beartype does not support, please drop us a line on the issue tracker. We'll drop what we're doing video games. it's always video games. and "immediately" resolve that for your heroic team.
Until then, video games await. Let's get those memes started!
@beartype
0.22.7is helping @leycec and his beautiful science wife to eat food. Thanks entirely to...GitHub Sponsors: Befriend the Bear and Get a Bear for Life
This release comes courtesy these proud GitHub Sponsors, without whom everyone in the @leycec family would currently be eating grasshoppers in the abandoned back lot again:
https://sescollc.com
https://dylanmodesitt.com
https://www.sonarsource.com/products/sonarqube/advanced-security
If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @beartype and secure your own workflow is by subscribing to Tidelift through SonarQube Advanced Security. Security giant Sonar recently acquired Tidelift, guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.
Thanks so much, masters of fintech and lifted tides.
Lastly but Beastly (but not Leastly)...
...to financially feed @leycec and his friendly @beartype through either:
Cue hypnagogic rave music that encourages fiscal irresponsibility. 🎵 🎹 🎶
Bear Club: The First Rule of Bear Club Is You Crush Bugs
@beartype high-fives the reclusive secret society of worldwide bear bros who might possibly care about this. You are the select few. The elect enlightened. You are:
@adamtheturtle. @pablovela5620. @crypdick. @Glinte. @JWCS. @bitranox. Heroes among us.
0.22.Xdev cycle: bye now tnx so much for comingv0.22.6: Beartype 0.22.6: Gradio, They Said. It'll Be Easy, They Said.@beartype
0.22.6sidles up to your door at 11:20PM with a steaming hot-out-of-the-oven delivery of... wait. This isn't pizza. Where's the pizza, delivery bear? Delivery bear growls, "There is no pizza." You feel uneasy. Maybe asking delivery bear awkward questions as it loiters outside your door under the pale moonlight isn't a choice you'd make again. You accept the misshapen bundle cradled gently in its paws. You know what it is without even looking. It's all so eerily familiar:@beartype
0.22.6is the patch release you can trust. Finally. caveats may apply. caveats may destroy your app stack mere minutes after upgrading.https://moneybags.aimere minutes after upgrading.@beartype
0.22.5is helping @leycec and his beautiful science wife to eat food. Thanks entirely to...GitHub Sponsors: Befriend the Bear and Get a Bear for Life
This release comes courtesy these proud GitHub Sponsors, without whom everyone in the @leycec family would currently be eating grasshoppers in the abandoned back lot again:
https://sescollc.com
https://dylanmodesitt.com
https://www.sonarsource.com/products/sonarqube/advanced-security
If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @beartype and secure your own workflow is by subscribing to Tidelift through SonarQube Advanced Security. Security giant Sonar recently acquired Tidelift, guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.
Thanks so much, masters of fintech and lifted tides.
These Are the Days of Our Patch Releases
@beartype
0.22.6delivers almost full-blown Gradio compatibility. If the adverb "almost" wasn't doing so much heavy lifting in the prior sentence, we would've punctuated that sentence with an exclamation point. Do not be alarmed by the lack of an exclamation point. @beartype0.22.6doesn't destroy your app stack. At 11:20PM, it's the small things.@beartype
0.22.6preservesinspect.isgeneratorfunction()-ness across@beartype-decorated synchronous generator functions. Gradio needs this, apparently. Previously, the standardinspect.isgeneratorfunction()returnedFalsewhen passed@beartype-decorated generators. Now,inspect.isgeneratorfunction()returnsTrue. Pretend you understand what this means even as you nod off in the La-Z-Bear-Boy in the foyer that smells faintly of shaving cream:@beartype
0.22.6does not, unfortunately, preserveinspect.isasyncgenfunction()-ness across@beartype-decorated asynchronous generator functions. Gradio needs that, too. But everyone who's anyone says that's impossible. When you ask the impossible of @beartype, do not be surprised when @beartype fillets a salmon on your desk instead.And... that's all we've got. It ain't much. It ain't how the QA was won. But that'll do, bear. That'll do.
0.22.6: people smile when you shoot arrows through your hatLastly but Beastly (but not Leastly)...
...to financially feed @leycec and his friendly @beartype through either:
Cue hypnagogic rave music that encourages fiscal irresponsibility. 🎵 🎹 🎶
Bear Club: The First Rule of Bear Club Is You Crush Bugs
@beartype high-fives the reclusive secret society of worldwide bear bros who might possibly care about this. You are the select few. The elect enlightened. You are:
@adamtheturtle. @pablovela5620. @crypdick. @Glinte. @JWCS. @bitranox. Heroes among us.
v0.22.5: Beartype 0.22.5: Beloved Even byPYTHONOPTIMIZE=1@beartype
0.22.5does stuff. Uhhh. Wait. Why are we releasing yet another @beartype0.22.xpatch within the span of ten seconds? We were just here. We already released @beartype0.22.4a week ago. Wasn't that good enough!? I... I guess not. Turns out${PYTHONOPTIMIZE}support has been busted in @beartype for literally years. Probably decades. Nobody cared – until somebody cared. I blame only myself despite wanting to point the finger at somebody else. Anybody else. I'll take anybody. Let's start over.@beartype
0.22.5valiantly arises from the ashes of our issue tracker like a burning phoenix on fire!!!! You can't stop this:@beartype
0.22.5stoically puts on the sunglasses so you don't have to.@beartype
0.22.5is helping @leycec and his beautiful science wife to eat food. Thanks entirely to...GitHub Sponsors: Befriend the Bear and Get a Bear for Life
This release comes courtesy these proud GitHub Sponsors, without whom everyone in the @leycec family would currently be eating grasshoppers in the abandoned back lot again:
https://sescollc.com
https://dylanmodesitt.com
https://www.sonarsource.com/products/sonarqube/advanced-security
If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @beartype and secure your own workflow is by subscribing to Tidelift through SonarQube Advanced Security. Security giant Sonar recently acquired Tidelift, guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.
Thanks so much, masters of fintech and lifted tides.
Gods Not Another Patch Release. What's Still Wrong with You, @beartype?
@beartype
0.22.5is a patch release that guarantees compatibility with Python optimization. Both the@beartypedecorator andbeartype.clawimport hooks now silently reduce to noops (i.e., do nothing rather than type-checking everything) when users:-Ooptions to the Python interpreter (e.g.,python -O worldshattering_app_shatters_world_accidentally.py).${PYTHONOPTIMIZE}environment variable to a positive integer (e.g.,PYTHONOPTIMIZE=1 python worldrepairing_app_repairs_world_shattered_by_worldshattering_app.py).FastMCP users really care about Python optimization. Apparently, nobody else does. Makes sense. Even @beartype is too slow for those speed-obsessed LLM gurus. How can this be!? It's never enough for the AI. In the relentless drive for faster query turnaround times, FastMCP is plumbing the depths of the impossible. There are always casualties on the road to progress. @beartype was one of those casualties. But no more.
@beartype
0.22.5is a burning phoenix on fire. It's not a metaphor anymore. We're pretty sure our issue tracker is on fire. What is it now? Still 98 open issues despite a flurry of recent issue resolutions that took our last will to code? Yup. 98 open issues. My... my gods. GitHub. Does no one sleep around here? 😮💨@beartype +
PYTHONOPTIMIZE=1: because you're too tired to even run @beartype anymore.Lastly but Beastly (but not Leastly)...
...to financially feed @leycec and his friendly @beartype through either:
Cue hypnagogic rave music that encourages fiscal irresponsibility. 🎵 🎹 🎶
Bear Club: The First Rule of Bear Club Is You Crush Bugs
@beartype high-fives the reclusive secret society of worldwide bear bros who might possibly care about this. You are the select few. The elect enlightened. You are:
@strawgate. @Glinte. @bitranox. Heroes among us.
v0.22.4: Beartype 0.22.4: Now Less Hated by Poetry@beartype
0.22.4catastrophically explodes all over your monitor. An oily black residue redolent of snail mucus slides off the screen, dripping with a maddening cadence into the crevices of your trusty mechanical keyboard:@beartype
0.22.4never gets tired of bug-eyed dudes punching squinty-eyed dudes. Childhood memories do not fade.0.22.4. Right: Poetry andpipenvtogether as one dude.@beartype
0.22.4is helping @leycec and his beautiful science wife to eat food. Thanks entirely to...GitHub Sponsors: Befriend the Bear and Get a Bear for Life
This release comes courtesy these proud GitHub Sponsors, without whom everyone in the @leycec family would currently be eating grasshoppers in the abandoned back lot again:
https://sescollc.com
https://dylanmodesitt.com
https://www.sonarsource.com/products/sonarqube/advanced-security
If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @beartype and secure your own workflow is by subscribing to Tidelift through SonarQube Advanced Security. Security giant Sonar recently acquired Tidelift, guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.
Thanks so much, masters of fintech and lifted tides.
Gods Not Another Patch Release. What's Wrong with You, @beartype?
@beartype
0.22.4is a patch release that guarantees compatibility with both Poetry andpipenv. Previously, @beartype just assumed that Poetry andpipenvliked @beartype. What's not to like about @beartype, guys? Huh!? Apparently...Everything. @beartype
0.22.3broke the assumption that everybody likes @beartype. Our prior release shipped apyproject.tomlfile with a PEP 440-compliant version string:That syntax is valid. But Poetry and
pipenvdidn't care. They do what they want! And they didn't want to have anything to do with @beartype0.22.3. We disagree, but that's fair enough. Everyone has bad opinions.@beartype
0.22.4resolves these trivial incompatibilities with popular devtooling. @beartype0.22.4also promises this will never happen again. A new integration test in the @beartype test suite guarantees Poetry andpipenvcompatibility, safeguarding both your QA stack and sanity against midnight regressions at 4:52AM.0.22.4: what is even happening hereLastly but Beastly (but not Leastly)...
...to financially feed @leycec and his friendly @beartype through either:
Cue hypnagogic rave music that encourages fiscal irresponsibility. 🎵 🎹 🎶
Bear Club: The First Rule of Bear Club Is You Crush Bugs
@beartype high-fives the reclusive secret society of worldwide bear bros who might possibly care about this. You are the select few. The elect enlightened. You are:
@nizdolin, @SaiAakash, @markspace, @Spikhalskiy! Because you care, @beartype cares.
0.22.4: it's more painful than it looks, and it looks pretty painfulv0.22.3: Beartype 0.22.3: Yo Dawg We Heard You Like Redis@beartype
0.22.3descends softly. A crinkled QA leaf drifts somnabulently. Autumn gusts on GitHub. Rain hails on PyPI. These are the haiku of our Pythonic lives:That's right.
uvinstallation instructions. It's happening, people.0.22.3dances the happy dance as your codebase watches in horror@beartype
0.22.3is helping @leycec and his beautiful science wife to eat food. Thanks entirely to...GitHub Sponsors: Befriend the Bear and Get a Bear for Life
This release comes courtesy these proud GitHub Sponsors, without whom everyone in the @leycec family would currently be eating grasshoppers in the abandoned back lot again:
https://sescollc.com
https://dylanmodesitt.com
https://www.sonarsource.com/products/sonarqube/advanced-security
If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @beartype and secure your own workflow is by subscribing to Tidelift through SonarQube Advanced Security. Security giant Sonar recently acquired Tidelift, guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.
Thanks so much, masters of fintech and lifted tides.
Patch Release? What's This All About Then?
@beartype
0.22.3is a patch release with a big heart, but not a lot to say. It means well, but it doesn't do much. But what it does do, it does so well:redis-pyPython client! @beartype now officially supports Redis in general and theredis.Redisclass specifically. Hype it!nightmare dev fuelan ongoing pain point, @beartype0.22.3drops Python 3.9 support a week ahead of its official End-of-Life (EoL). I generally prefer to abandon Python compatibility with minor releases (e.g.,0.23.0) rather than patch releases like this. But... I gotta make an exception for Bad Boy Python 3.9. I'm sorry, everyone. It got axed.0.22.3: it's funny until Helmet Bear eats your codeLastly but Beastly (but not Leastly)...
...to financially feed @leycec and his friendly @beartype through either:
Cue hypnagogic rave music that encourages fiscal irresponsibility. 🎵 🎹 🎶
Bear Club: The First Rule of Bear Club Is You Crush Bugs
@beartype high-fives the reclusive secret society of worldwide bear bros who might possibly care about this. You are the select few. The elect enlightened. You are:
0.22.3at 2:01AM in the morningv0.22.2: Beartype 0.22.2: Yo Dawg We Heard You Like LLMBeartype
0.22.00.22.10.22.2 portals into the mortal plenum with a disturbing "WHOOOMP!" As you panic, all the oxygen in the room is rapidly vacuumed into an adjacent hyperdimension. It's not @beartype's safest entrance – but it's one we're all sure to remember. This is @beartype0.22.2: don't ask what happened to0.22.0. just... don't.pip install --upgrade --pre beartype # beartype casts magic missile on the darknessThe central dogma of @beartype
0.22.2is LLM compatibility. Do you like LLM? Do you like compatibility? Then your code likes @beartype0.22.2(even against your better judgement). But before the liking starts...0.22.2salutes you who are about to code@leycec and his beautiful science wife are eating well. Thanks entirely to...
GitHub Sponsors: Befriend the Bear and Get a Bear for Life
This release comes courtesy these proud GitHub Sponsors, without whom @leycec's cats would currently be eating grasshoppers in the abandoned back lot again:
https://sescollc.com
https://dylanmodesitt.com
Additional financial shout-outs to @ilyapoz (@Ilia Pozhilov), the amazing former Yandex code cosmonaut who graciously donated a pile of Georgian lari to @beartype this go-around. Apparently, the lari is denominated in the ლ Unicode character. What a symbol! It looks like a beautiful hat. If only the Canadian dollar was half as manly. 😭
Thanks so much, masters of fintech and Yandex.
Tidelift: A Rising Tide Lifted @beartype's Not-At-All-Leaky Boat
This release also comes courtesy Tidelift, which very graciously pays out recurring income to security-sensitive open-source projects like @beartype, NumPy, and other stuff you probably care about. @beartype joining Tidelift has super-positive implications for Python's broader QA community – including:
responsibilityQA. Somebody smart said that.If you represent a security-conscious corporate, government, or non-profit, the best way bar none for you to support @beartype and secure your own workflow is by subscribing to Tidelift through SonarQube Advanced Security. Security giant Sonar recently acquired Tidelift, guaranteeing the economic viability of the Tidelift model for billions of future open-source projects that have yet to be born. Join the jargon-laden conversation and pay someone else to think about unreadable acronyms like SAST, SCA, and SBOM for once.
!!STUFF YOU WANNA READ EVEN THOUGH ITS EXHAUSTING!!
You really want to bump the @beartype requirement in your
pyproject.tomlfile. Preserve end user sanity tomorrow by explicitly requiring a minimum of @beartype>=0.22.2today: e.g.,Why? Bear with us. This explanation may bore you. Imagine what typing this out felt like.
Prior versions of @beartype are fundamentally incompatible with Python 3.14. Python packagers like
pipanduvdo not update packages by default. Unless you bump your @beartype requirement, your existing userbase who already installed your package will be unable to use your package under Python 3.14 – even after manually updating your package, because manually updating your package fails to transitively update all dependencies of your package by default. In other words, Python packaging still kinda sucks.This is why...
!!MORE STUFF YOU WANNA READ EVEN THOUGH ITS EXHAUSTING!!
beartype.clawimport hooks have been supremely revamped. They still work the same, but they're now explicitly compatible with a lot more than they used to be. If you tried enablingbeartype_this_package()but switched back to manually decorating everything with@beartypebecausebeartype_this_package()spewed too many errors everywhere, please givebeartype_this_package()a second chance:Let us know how it goes. If stuff is still busted, we'll immediately fix that stuff. We now have the necessary machinery in our abstract syntax tree (AST) transformer to support all (or most, anyway) compatibility woes previously associated with
beartype.clawimport hooks.beartype.clawshamelessly dances for anyonetl;dr: Llamas, Bears, & You
@beartype
0.22.2dramatically improves compatibility across the board with the APIs, packages, and paradigms you care about. Because you care, we care. In fact, we spent whole months caring. We cared so much we're all cared out. The summer went away in a blitz of caring and we didn't even notice. Oh, Gods. The warmth has fled. The snow is coming. And all we have to show for it is massive compatibility gains across the board.This includes:
0.22.2weeps from pride and accomplishment, but mostly sleep deprivationPython 3.14: Oh, It's Big
Python 3.14. You care about Python 3.14 even if you don't know you care. @beartype now fully supports [PEP 649][] and [749][PEP 749] – landmark QA standards introduced by Python 3.14 that finally obsolete [PEP 563][]. All these numbers mean something. We swear. Since all horror stories start with two nondescript teens in a Buick, let's start there:
That's [PEP 563][]. And... that's now deprecated. PEP 749 officially deprecated PEP 563 a few months ago:
tl;dr: On October ~15th 2029,
from __future__ import annotationswill be officially deprecated. On October ~15th 2031,from __future__ import annotationswill be removed entirely from the Python language. At that time, any module usingfrom __future__ import annotationswill raise aSyntaxErrorat importation time and thus become unimportable. In 2025, nobody should enablefrom __future__ import annotationsvoluntarily.Sometime over the next several five years, you and your righteous dev team will require Python ≥ 3.14 as a mandatory dependency. That's just the way of the Python world. Planned obsolesce is the road we walk. When that happens, you'll no longer need
from __future__ import annotationsto declare forward references to undefined types in type hints like this:Unquoted forward references are thus baked into Python 3.14. Order of type hints and types is no longer significant. Define and annotate stuff in any order you like.
@beartype
0.22.2: because life is too short and code is too long.Large Language Models: Apparently, They're Large
@beartype
0.22.2now ships with out-of-the-box support for Bad Boy LLM APIs that defy community standards, mental health, and your last hair follicles. This includes:These APIs are awesome
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.