guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 803964399cd64afab17599d49e9c6212553e937e
Author: wrobell <[email protected]>
AuthorDate: Mon Sep 29 18:08:56 2025 +0100

    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 <[email protected]>
---
 gnu/packages/python-web.scm | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 69f132f521..adea9889b2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -80,6 +80,7 @@
 ;;; Copyright © 2025 Jake Forster <[email protected]>
 ;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
 ;;; Copyright © 2025 Hugo Buddelmeijer <[email protected]>
+;;; Copyright © 2025 Artur Wroblewski <[email protected]>
 ;;;
 ;;; 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))

Reply via email to