chore(deps): Update dependency stamina to v25.2.0#125
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): Update dependency stamina to v25.2.0#125renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
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
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:
==25.1.0→==25.2.0Release Notes
hynek/stamina (stamina)
v25.2.0Compare Source
Removed
Added
The type hints for our public API are now also verified using Pyrefly and ty.
#124
stamina.retry()now retries wrapped generator functions and async generator functions.Warning: Being able to
asendandathrowinto wrapped async generators introduced nontrivial complexity in the implementation and is therefore provisional.If supporting these features causes problems, they may be removed again in a future version.
#123
An on hook can now return a float or a
datetime.timedeltato specify a custom backoff that overrides the default backoff.#103
#125
Fixed
Prevent unbounded stop condition when both attempts and timeout are non-
Nonefalsy values.#109
Default
wait_exp_baseparameter is now an integer to prevent anOverflowErrorafter the 1023th retry.#104
Attempt.next_waitnow returns the correct value.#115
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 this update again.
This PR was generated by Mend Renovate. View the repository job log.