guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 9909c6f8bf06d90e25a7023c9b299f3cf858da87
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 14 00:18:37 2025 +0100
gnu: Add python-pyramid-retry.
* gnu/packages/python-web.scm (python-pyramid-retry): New variable.
Change-Id: If1716098625c43b7d668a556d113b7b8c4a086a9
---
gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1b963f9108..610097b13e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10338,6 +10338,32 @@ Pyramid web framework.")
framework.")
(license license:repoze))))
+(define-public python-pyramid-retry
+ (package
+ (name "python-pyramid-retry")
+ (version "2.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyramid_retry" version))
+ (sha256
+ (base32 "1jf07v6zhli0abgm2qajzfwg68bl9zy4xygjwl4svawbwrm2ga5s"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-webtest))
+ (propagated-inputs
+ (list python-pyramid
+ python-zope-interface))
+ (home-page "https://github.com/Pylons/pyramid_retry")
+ (synopsis "Pyramid execution policy supporting retrying failed requests")
+ (description
+ "@code{pyramid_retry} is an execution policy for Pyramid that wraps
requests
+and can retry them a configurable number of times under certain \"retryable\"
+error conditions before indicating a failure to the client.")
+ (license license:expat)))
+
(define-public python-random-user-agent
(package
(name "python-random-user-agent")