From 6d8965368b6f69bd5b779b6d06a9519b6b27c722 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 13 Jan 2025 13:07:48 +0100 Subject: [PATCH] gnu: python-falcon: Add missing inputs. * gnu/packages/python-web.scm (python-falcon)[native-inputs]: Add python-setuptools and python-wheel. [arguments]: Remove custom 'check phase; ignore test_utils.py. Change-Id: I030504dc8113b8e44a37970cc0832c685aa51ec9 --- gnu/packages/python-web.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 27ac440014545ed1f4cfbaa788e759332d7835d9..59e02c89ee28dcef6511c6806087498952dc7b65 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1259,15 +1259,13 @@ Interchange Format (SARIF)} file format.") (arguments (list #:test-flags - '(list "--ignore-glob=examples/*" "--ignore-glob=bench/*" "tests") + '(list "--ignore=tests/test_utils.py" + "--ignore-glob=examples/*" + "--ignore-glob=bench/*" "tests") #:phases '(modify-phases %standard-phases (add-before 'check 'set-HOME - (lambda _ (setenv "HOME" "/tmp"))) - (replace 'check - (lambda* (#:key tests? test-flags #:allow-other-keys) - (when tests? - (apply invoke "pytest" "-vv" test-flags))))))) + (lambda _ (setenv "HOME" "/tmp")))))) (propagated-inputs (list python-mimeparse)) (native-inputs @@ -1287,9 +1285,11 @@ Interchange Format (SARIF)} file format.") python-pyyaml python-rapidjson python-requests + python-setuptools python-testtools python-ujson - python-websockets)) + python-websockets + python-wheel)) (home-page "https://falconframework.org") (synopsis "Web framework for building APIs and application backends") (description "Falcon is a web API framework for building microservices,