[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
104/105: gnu: python-pydantic-2: Update to 2.7.0.
From: |
guix-commits |
Subject: |
104/105: gnu: python-pydantic-2: Update to 2.7.0. |
Date: |
Wed, 25 Dec 2024 10:21:03 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 40b9fc7e6b95c80134bd783815a07be7d798e5bb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 21 14:51:51 2024 +0100
gnu: python-pydantic-2: Update to 2.7.0.
* gnu/packages/python-xyz.scm (python-pydantic-2): Update to 2.7.0.
[arguments]: Update tests.
[native-inputs]: Add tzdata-for-tests and python-jsonschema; remove
python-faker.
Change-Id: I8c85598f7603c58108602c6d67aa27314dea285e
---
gnu/packages/python-xyz.scm | 37 +++++++++++++++++--------------------
1 file changed, 17 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a2cbf60537..c0c3430088 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8398,13 +8398,13 @@ errors when data is invalid.")
(package
(inherit python-pydantic)
(name "python-pydantic")
- (version "2.5.3")
+ (version "2.7.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pydantic" version))
(sha256
- (base32 "0yiz75zp93x6x2czm772cz5pzn00i703irncjwb99c1m4p35gvxk"))))
+ (base32 "10xk9d5rgvqsp05r2qpli7ls2489x18kay944qp4d8ic4r1dvv5m"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -8413,21 +8413,17 @@ 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
- ;; need python-email-validator >= 2.0.0
- (list "not test_fastapi_startup_perf"
- ;; Test fails with assertion is not equal.
- "test_assert_raises_validation_error"
- ;; Cannot generate a JsonSchema for
- ;; core_schema.CallableSchema [skipped-choice].
-
"test_callable_fallback_with_non_serializable_default"
- ;; Failed: DID NOT WARN. No warnings of type (<class
- ;; 'pydantic.warnings.PydanticDeprecatedSince20'>,)
- ;; were emitted.
- "test_use_bare"
- "test_use_no_fields"
- "test_validator_bad_fields_throws_configerror")
- " and not "))
+ "-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 "))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'pre-check
@@ -8440,11 +8436,12 @@ errors when data is invalid.")
(("ignore:path is deprecated.*:DeprecationWarning:")
"ignore::DeprecationWarning")))))))
(native-inputs
- (list python-hatchling
- python-hatch-fancy-pypi-readme
+ (list tzdata-for-tests
python-cloudpickle
python-dirty-equals
- python-faker
+ python-hatch-fancy-pypi-readme
+ python-hatchling
+ python-jsonschema
python-pytest
python-pytest-benchmark
python-pytest-mock))
- 82/105: gnu: python-stsci-stimage: Fix build., (continued)
- 82/105: gnu: python-stsci-stimage: Fix build., guix-commits, 2024/12/25
- 86/105: gnu: python-gast: Update to 0.6.0., guix-commits, 2024/12/25
- 90/105: gnu: python-pandas-2: Restrict number of test processes., guix-commits, 2024/12/25
- 85/105: gnu: linkchecker: Update to 10.5.0., guix-commits, 2024/12/25
- 87/105: gnu: python-beniget: Update to 0.4.2.post1., guix-commits, 2024/12/25
- 88/105: gnu: python-pythran: Update to 0.17.0., guix-commits, 2024/12/25
- 93/105: gnu: python-gevent: Propagate greenlet., guix-commits, 2024/12/25
- 94/105: gnu: python-geventhttpclient: Update to 2.3.3., guix-commits, 2024/12/25
- 95/105: gnu: python-dulwich: Update to 0.21.7., guix-commits, 2024/12/25
- 99/105: gnu: python-hmmlearn: Add missing inputs., guix-commits, 2024/12/25
- 104/105: gnu: python-pydantic-2: Update to 2.7.0.,
guix-commits <=
- 102/105: gnu: Add rust-jiter-0.2., guix-commits, 2024/12/25
- 103/105: gnu: python-pydantic-core: Update to 2.18.1., guix-commits, 2024/12/25
- 36/105: gnu: python-statmake: Remove obsolete build phase., guix-commits, 2024/12/25
- 42/105: gnu: python-pytest-qt: Update to 4.4.0., guix-commits, 2024/12/25
- 41/105: gnu: python-pyproject-api: Update to 1.8.0., guix-commits, 2024/12/25
- 44/105: gnu: Add python-time-machine., guix-commits, 2024/12/25
- 45/105: gnu: python-pytest-subprocess: Update to 1.5.2., guix-commits, 2024/12/25
- 47/105: gnu: python-awkward-cpp: Update to 43., guix-commits, 2024/12/25
- 49/105: gnu: Add python-strictyaml., guix-commits, 2024/12/25
- 55/105: gnu: Add python-pypitoken., guix-commits, 2024/12/25