guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit a6a9e8d444e24724dcc5e212a7258ad2a3ff93b0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 14 00:30:38 2025 +0100

    gnu: Add python-pyramid-tm.
    
    * gnu/packages/python-web.scm (python-pyramid-tm): New variable.
    
    Change-Id: Ica443a666e2188d98c78596ff9d69b5ff9f8aca8
---
 gnu/packages/python-web.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index fd67f2f7b3..fe71901d00 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9828,6 +9828,40 @@ 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-pyramid-tm
+  (package
+    (name "python-pyramid-tm")
+    (version "2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyramid_tm" version))
+       (sha256
+        (base32 "173hg16hldfh5n3mn482xx64nldk308dzri31jd0qa4528cx4j41"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "setup.cfg"
+                ((" --cov") "")))))))
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-webtest))
+    (propagated-inputs
+     (list python-pyramid
+           python-transaction))
+    (home-page "https://github.com/Pylons/pyramid_tm";)
+    (synopsis "Centralized transaction management for Pyramid")
+    (description
+     "@code{pyramid_tm} is a package which allows Pyramid requests to join the
+active @url{https://pypi.org/project/transaction/, transaction} as provided by
+the Python transaction package.")
+      (license license:repoze)))
+
 (define-public python-random-user-agent
   (package
     (name "python-random-user-agent")

Reply via email to