guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/12: gnu: python-pydantic-2: Update to 2.10.4.


From: guix-commits
Subject: 07/12: gnu: python-pydantic-2: Update to 2.10.4.
Date: Sat, 4 Jan 2025 02:59:06 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 07926c05a5e13da5fd22caa8a164adf16c111502
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 3 21:33:55 2025 +0100

    gnu: python-pydantic-2: Update to 2.10.4.
    
    * gnu/packages/python-xyz.scm (python-pydantic-2): Update to 2.10.4.
    [arguments]: Run more tests.
    [native-inputs]: Remove python-cloudpickle.
    [propagated-inputs]: Add python-rich.
    
    Change-Id: I8c682d63a7b137c8e9dd1a0b890080f8e5d91cd9
---
 gnu/packages/python-xyz.scm | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 48a8ab18d7..7017d03543 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8416,13 +8416,13 @@ errors when data is invalid.")
   (package
     (inherit python-pydantic)
     (name "python-pydantic")
-    (version "2.7.0")
+    (version "2.10.4")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pydantic" version))
        (sha256
-        (base32 "10xk9d5rgvqsp05r2qpli7ls2489x18kay944qp4d8ic4r1dvv5m"))))
+        (base32 "01jg4ll2py05izm7s9hlv5xbxcsp26bvb2585gzf8vfs4fbjxwc2"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -8431,17 +8431,8 @@ errors when data is invalid.")
               ;; These tests include hashes that keep changing depending on
               ;; package versions.
               "--ignore=tests/benchmarks/test_north_star.py"
-              "-k"
-              (string-join
-               (list
-                ;; Not implemented
-                "not 
test_serialize_unsubstituted_typevars_bound_default_supported"
-                ;; Needs email-validator
-                "test_fastapi_startup_perf"
-                ;; Cannot generate a JsonSchema for
-                ;; core_schema.CallableSchema [skipped-choice].
-                "test_callable_fallback_with_non_serializable_default")
-               " and not "))
+              ;; Unimportant difference in one test's error message.
+              "--ignore=tests/test_networks.py")
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'check 'pre-check
@@ -8455,7 +8446,6 @@ errors when data is invalid.")
                  "ignore::DeprecationWarning")))))))
     (native-inputs
      (list tzdata-for-tests
-           python-cloudpickle
            python-dirty-equals
            python-hatch-fancy-pypi-readme
            python-hatchling
@@ -8466,6 +8456,7 @@ errors when data is invalid.")
     (propagated-inputs
      (list python-annotated-types
            python-pydantic-core
+           python-rich
            python-typing-extensions))))
 
 (define-public python-pydantic-core



reply via email to

[Prev in Thread] Current Thread [Next in Thread]