Skip to content

chore(deps): update stamina requirement from <27.0,>=26.0 to >=26.1.0,<27.0 in /backend#45

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backend/stamina-gte-26.1.0-and-lt-27.0
Open

chore(deps): update stamina requirement from <27.0,>=26.0 to >=26.1.0,<27.0 in /backend#45
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backend/stamina-gte-26.1.0-and-lt-27.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 20, 2026

Copy link
Copy Markdown

Updates the requirements on stamina to permit the latest version.

Release notes

Sourced from stamina's releases.

26.1.0

Highlights

stamina now allows more than 1024 retries by handling overflows and warns on a footgun.

Full changelog below!

Special Thanks

This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If you would like to join them, go to https://github.com/sponsors/hynek and check out the sweet perks!

Above and Beyond

Variomedia AG (@variomedia), Tidelift (@tidelift), Kraken Tech (@kraken-tech), Klaviyo (@klaviyo), Privacy Solutions GmbH (@privacy-solutions), FilePreviews (@filepreviews), Ecosystems (@ecosyste-ms), TestMu AI Open Source Office (Formerly LambdaTest) (@LambdaTest-Inc), Doist (@Doist), Daniel Fortunov (@asqui), and Kevin P. Fleming (@kpfleming).

Maintenance Sustainers

Buttondown (@buttondown), Christopher Dignam (@chdsbd), Magnus Watn (@magnuswatn), David Cramer (@dcramer), Rivo Laks (@rivol), Polar (@polarsource), Mike Fiedler (@miketheman), Duncan Hill (@cricalix), Colin Marquardt (@cmarqu), Pieter Swinkels (@swinkels), Nick Libertini (@libertininick), Brian M. Dennis (@crossjam), Celebrity News AG (@celebritynewsag), The Westervelt Company (@westerveltco), Sławomir Ehlert (@slafs), Mostafa Khalil (@khadrawy), Filip Mularczyk (@mukiblejlok), Thomas Klinger (@thmsklngr), Andreas Poehlmann (@ap--), August Trapper Bigelow (@atbigelow), Carlton Gibson (@carltongibson), and Roboflow (@roboflow).

Full Changelog

Changed

  • Passing timeout=0 now raises a warning since it counterintuitively disables all retries. If you explicitly want to disable the timeout, use timeout=None.

Fixed

  • _compute_backoff() no longer raises OverflowError when the attempt number exceeds 1024 with a float wait_exp_base. The exponential result is now clamped to wait_max on overflow. #137

This release contains contributions from @​hynek, and @​vigneshakaviki.

Artifact Attestations

You can verify this release's artifact attestions using GitHub's CLI tool by downloading the sdist and wheel from PyPI and running:

$ gh attestation verify --owner hynek stamina-26.1.0.tar.gz

and

</tr></table> 

... (truncated)

Changelog

Sourced from stamina's changelog.

26.1.0 - 2026-04-13

Changed

  • Passing timeout=0 now raises a warning since it counterintuitively disables all retries. If you explicitly want to disable the timeout, use timeout=None.

Fixed

  • _compute_backoff() no longer raises OverflowError when the attempt number exceeds 1024 with a float wait_exp_base. The exponential result is now clamped to wait_max on overflow. #137

25.2.0 - 2025-12-11

Removed

  • Support for Python 3.8 and 3.9.

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 asend and athrow into 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.timedelta to specify a custom backoff that overrides the default backoff. #103 #125

Fixed

  • Prevent unbounded stop condition when both attempts and timeout are non-None falsy values. #109

  • Default wait_exp_base parameter is now an integer to prevent an OverflowError after the 1023th retry. #104

  • Attempt.next_wait now returns the correct value. #115

... (truncated)

Commits

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 show <dependency name> 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)

Updates the requirements on [stamina](https://github.com/hynek/stamina) to permit the latest version.
- [Release notes](https://github.com/hynek/stamina/releases)
- [Changelog](https://github.com/hynek/stamina/blob/main/CHANGELOG.md)
- [Commits](hynek/stamina@26.1.0...26.1.0)

---
updated-dependencies:
- dependency-name: stamina
  dependency-version: 26.1.0
  dependency-type: direct:production
...

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 May 20, 2026
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.

0 participants