summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-14 00:18:37 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-30 18:34:55 +0000
commit9909c6f8bf06d90e25a7023c9b299f3cf858da87 (patch)
tree21eb8aba2b5b2dcec091cd36aba7c7c5b848951a /gnu/packages/python-web.scm
parent686df4b987c993e269e6a4360f7f5ef899f3bb17 (diff)
gnu: Add python-pyramid-retry.
* gnu/packages/python-web.scm (python-pyramid-retry): New variable. Change-Id: If1716098625c43b7d668a556d113b7b8c4a086a9
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1b963f9108c..610097b13e4 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")