guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 542cc091dc9cf7281b039306dc0d62001d95152a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Nov 5 12:31:10 2026 +0000
gnu: Add python-falcon-minimal.
* gnu/packages/python-web.scm (python-falcon-minimal): New variable.
---
gnu/packages/python-web.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 58b992ded68..b4cc604ce5c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6260,6 +6260,21 @@ incoming requests, enabling the ability to serve
resources over a different
origin than that of the web application.")
(license license:asl2.0)))
+;; A bare minimal package, mainly to use in tests and reduce closure size.
+;; Tests are left out in the main package to slim down native-inputs and
+;; propagated-inputs.
+(define-public python-falcon-minimal
+ (package/inherit python-falcon
+ (name "python-falcon-minimal")
+ (arguments
+ (substitute-keyword-arguments arguments
+ ((#:tests? _ #t) #f)))
+ (native-inputs
+ (list python-cython
+ python-setuptools))
+ (propagated-inputs
+ (list python-mimeparse))))
+
(define-public python-furl
(package
(name "python-furl")