[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
- branch python-team updated (e9a2061cb8 -> 67d7464cd0), guix-commits, 2025/01/04
- 02/12: gnu: rust-codspeed-2: Update to 2.7.2., guix-commits, 2025/01/04
- 04/12: gnu: Add rust-jiter-0.7., guix-commits, 2025/01/04
- 01/12: gnu: Add python-inline-snapshot., guix-commits, 2025/01/04
- 07/12: gnu: python-pydantic-2: Update to 2.10.4.,
guix-commits <=
- 10/12: gnu: Add python-fastapi-cli., guix-commits, 2025/01/04
- 05/12: gnu: Add rust-speedate-0.15., guix-commits, 2025/01/04
- 09/12: gnu: python-pdm-backend: Update to 2.4.3., guix-commits, 2025/01/04
- 11/12: gnu: python-pydantic-settings: Update to 2.7.1., guix-commits, 2025/01/04
- 12/12: gnu: python-fastapi: Update to 0.115.6., guix-commits, 2025/01/04
- 06/12: gnu: python-pydantic-core: Update to 2.27.2., guix-commits, 2025/01/04
- 03/12: gnu: rust-codspeed-bencher-compat-2: Update to 2.7.2., guix-commits, 2025/01/04
- 08/12: gnu: Add python-rich-toolkit., guix-commits, 2025/01/04