[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
95/299: gnu: python-falcon: Update to 4.0.2.
From: |
guix-commits |
Subject: |
95/299: gnu: python-falcon: Update to 4.0.2. |
Date: |
Mon, 13 Jan 2025 15:18:06 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit db895a117f59e0694d2131ea457b712b7c5286ed
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Dec 31 21:13:55 2024 +0100
gnu: python-falcon: Update to 4.0.2.
* gnu/packages/python-web.scm (python-falcon): Update to 4.0.2.
[source]: Remove snippet.
[arguments]: Disable slow tests; rename 'set-HOME to 'pre-check.
[native-inputs]: Replace python-cython with python-cython-3.
Change-Id: I10d3b412b8abc3bfb2271adba7fb1597fdb24098
---
gnu/packages/python-web.scm | 30 +++++++++++-------------------
1 file changed, 11 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 80854b5196..6995c9fc15 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1430,7 +1430,7 @@ Interchange Format (SARIF)} file format.")
(define-public python-falcon
(package
(name "python-falcon")
- (version "3.1.0")
+ (version "4.0.2")
(source
(origin
;; Use git, as there are some test files missing from the PyPI release,
@@ -1440,37 +1440,29 @@ Interchange Format (SARIF)} file format.")
(url "https://github.com/falconry/falcon")
(commit version)))
(file-name (git-file-name name version))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "falcon/vendor")
- (substitute* "setup.py"
- ((".*falcon\\.vendor\\.mimeparse.*") ""))
- (substitute* '("falcon/media/handlers.py"
- "falcon/request.py"
- "tests/test_deps.py")
- (("from falcon\\.vendor ") "")
- (("mimeparse.mimeparse") "mimeparse"))))
(sha256
(base32
- "17k31d8avl63xsr6fzvmkxcsm7gnz5dqpgsz65psm1lpc38c79k3"))))
+ "1zhyvfbz4c1bxd4vbsgk19dzih6kkzgin10lmsr32x3b4qgnwqxs"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- '(list "--ignore=tests/test_utils.py"
- "--ignore-glob=examples/*"
- "--ignore-glob=bench/*" "tests")
+ '(list "-k" "not slow"
+ "--ignore-glob=examples/*" "--ignore-glob=bench/*" "tests")
#:phases
'(modify-phases %standard-phases
- (add-before 'check 'set-HOME
- (lambda _ (setenv "HOME" "/tmp"))))))
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "FALCON_ASGI_WRAP_NON_COROUTINES" "Y")
+ (setenv "FALCON_TESTING_SESSION" "Y")
+ (setenv "PYTHONASYNCIODEBUG" "1")
+ (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list python-mimeparse))
(native-inputs
(list python-aiofiles
python-cbor2
- python-cython ;for faster binaries
+ python-cython-3 ;for faster binaries
python-fakeredis
python-httpx
python-mujson
- 297/299: gnu: Add python-python3-saml., (continued)
- 297/299: gnu: Add python-python3-saml., guix-commits, 2025/01/13
- 295/299: gnu: python-asgiref: Update to 3.8.1., guix-commits, 2025/01/13
- 290/299: gnu: unicorn: Add missing inputs., guix-commits, 2025/01/13
- 105/299: gnu: Add python-aiohappyeyeballs., guix-commits, 2025/01/13
- 121/299: gnu: python-pyvisa: Update to 1.14.1., guix-commits, 2025/01/13
- 139/299: gnu: python-kombu: Add missing inputs., guix-commits, 2025/01/13
- 143/299: gnu: python-pillow: Update to 11.1.0., guix-commits, 2025/01/13
- 161/299: gnu: python-lightning-cloud: Update to 0.5.70., guix-commits, 2025/01/13
- 25/299: gnu: python-tox: Update to 4.23.2., guix-commits, 2025/01/13
- 78/299: gnu: python-schema-salad: Update to 8.8.20241206093842., guix-commits, 2025/01/13
- 95/299: gnu: python-falcon: Update to 4.0.2.,
guix-commits <=
- 86/299: gnu: python-traittypes: Fix tests., guix-commits, 2025/01/13
- 104/299: gnu: python-yarl: Update to 1.18.3., guix-commits, 2025/01/13
- 110/299: gnu: python-matrix-nio: Update to 0.25.2., guix-commits, 2025/01/13
- 136/299: gnu: awscli-2: Remove obsolete build phase., guix-commits, 2025/01/13
- 132/299: gnu: Add python-pyogrio., guix-commits, 2025/01/13
- 142/299: gnu: python-pillow-simd: Inherit build system and native inputs., guix-commits, 2025/01/13
- 154/299: gnu: Add python-rich-toolkit., guix-commits, 2025/01/13
- 146/299: gnu: python-imageio: Update to 2.36.1., guix-commits, 2025/01/13
- 162/299: gnu: Rename python-starsessions-for-pytorch-lightning., guix-commits, 2025/01/13
- 165/299: gnu: python-starsessions: Disable one more test., guix-commits, 2025/01/13