[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/187: gnu: python-pydantic-2: Update to 2.7.0.
From: |
guix-commits |
Subject: |
66/187: gnu: python-pydantic-2: Update to 2.7.0. |
Date: |
Wed, 8 Jan 2025 10:15:46 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 1bb08dbf4fe43fc7fdb8932436cda8d708c9968f
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 5eecfa9e85..7744337615 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8408,13 +8408,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
@@ -8423,21 +8423,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
@@ -8450,11 +8446,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))
- 154/187: gnu: python-pydantic-2: Update to 2.10.4., (continued)
- 154/187: gnu: python-pydantic-2: Update to 2.10.4., guix-commits, 2025/01/08
- 166/187: gnu: python-starsessions: Disable one more test., guix-commits, 2025/01/08
- 179/187: gnu: python-flask-htpasswd: Update to 0.5.0., guix-commits, 2025/01/08
- 29/187: gnu: python-extension-helpers: Update to 1.2.0., guix-commits, 2025/01/08
- 33/187: gnu: python-virtualenv: Update to 20.28.0., guix-commits, 2025/01/08
- 37/187: gnu: python-uvicorn: Update to 0.34.0., guix-commits, 2025/01/08
- 40/187: gnu: python-a2wsgi: Disable one test., guix-commits, 2025/01/08
- 46/187: gnu: python-dnspython: Update to 2.7.0., guix-commits, 2025/01/08
- 51/187: gnu: python-pythran: Update to 0.17.0., guix-commits, 2025/01/08
- 56/187: gnu: python-gevent: Propagate greenlet., guix-commits, 2025/01/08
- 66/187: gnu: python-pydantic-2: Update to 2.7.0.,
guix-commits <=
- 54/187: gnu: python-gevent: Update to 24.11.1., guix-commits, 2025/01/08
- 65/187: gnu: python-pydantic-core: Update to 2.18.1., guix-commits, 2025/01/08
- 67/187: gnu: pyscenic: Update to 0.12.1-1.eaf23eb., guix-commits, 2025/01/08
- 72/187: gnu: Add python-types-simplejson., guix-commits, 2025/01/08
- 73/187: gnu: beancount: Fix build., guix-commits, 2025/01/08
- 76/187: gnu: python-cachecontrol: Update to 0.14.1., guix-commits, 2025/01/08
- 78/187: gnu: python-schema-salad: Update to 8.8.20241206093842., guix-commits, 2025/01/08
- 80/187: gnu: python-cwl-utils: Add missing inputs., guix-commits, 2025/01/08
- 83/187: gnu: python-prov: Update to 2.0.1., guix-commits, 2025/01/08
- 79/187: gnu: python-cwl-upgrader: Add missing inputs., guix-commits, 2025/01/08