summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorwrobell <wrobell@riseup.net>2025-09-29 18:08:56 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-30 14:47:40 +0100
commit803964399cd64afab17599d49e9c6212553e937e (patch)
tree4afff2b648090344789a92b9b379dc1e59bc8cb6 /gnu/packages/python-web.scm
parent21085d9a1e14aa3c9321a01b6c02ccf14698aa68 (diff)
gnu: python-blacksheep: Update to 2.4.1.
Blacksheep 2.4.1, among other changes, removes dateutil package dependency and improves compatibility with newer versions of pytest-asyncio. The latter allows to run all unit tests with python-pytests-asyncio 1.0 (current version in Guix). * gnu/packages/python-web.scm (python-blacksheep): Update to 2.4.1. [arguments] <#:test-flags>: Remove ignore for tests/clients directory. [native-inputs]: Add nss-certs-for-test. [propagated-inputs]: Remove python-dateutil. Change-Id: I7f391a6f15b1563e28a10197a8444441b3f2e7a7 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm21
1 files changed, 9 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 69f132f5215..adea9889b26 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -80,6 +80,7 @@
;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2025 Hugo Buddelmeijer <hugo@buddelmeijer.nl>
+;;; Copyright © 2025 Artur Wroblewski <wrobell@riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -251,7 +252,7 @@ SNS, Gotify, etc.")
(define-public python-blacksheep
(package
(name "python-blacksheep")
- (version "2.4.0")
+ (version "2.4.1")
(source
(origin
(method git-fetch)
@@ -260,20 +261,16 @@ SNS, Gotify, etc.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1iwlj6vl0rnvddbn9zsdgpya88z0lifr86wz3ci1d67li7w5bjiq"))))
+ (base32 "0znkqj4cipdr1qdsdlbb48b82cpvj24dqiwi0nyiy50b8nd7g5np"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 1443 passed, 3 skipped
- ;;
- ;; 1. Ignore integration tests.
- ;; 2. Client tests use test fixture no longer available in
- ;; pytest-asyncio,
+ ;; tests: 1609 passed, 3 skipped
;;
- ;; See: <https://github.com/Neoteroi/BlackSheep/issues/596>.
+ ;; Run all unit tests, but do not run integration tests from `itests`
+ ;; directory.
#:test-flags
- #~(list "--ignore=itests"
- "--ignore=tests/client")
+ #~(list "tests")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'cythonize
@@ -283,7 +280,8 @@ SNS, Gotify, etc.")
(invoke "cython" "-3" file "-I" "."))
(find-files "." ".*\\.pyx$"))))))))
(native-inputs
- (list python-cython
+ (list nss-certs-for-test
+ python-cython
python-flask
python-jinja2
python-pydantic
@@ -293,7 +291,6 @@ SNS, Gotify, etc.")
python-setuptools))
(propagated-inputs
(list python-certifi
- python-dateutil
python-essentials-openapi
python-guardpost
python-itsdangerous))