[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2.
From: |
Hartmut Goebel |
Subject: |
[bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2. |
Date: |
Sun, 11 Feb 2024 12:43:39 +0100 |
* gnu/packages/python-xyz.scm (python-pydantic-2): New variable.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4749c3f204..47aaa84e76 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7424,6 +7424,39 @@ (define-public python-pydantic-core
validation and serialization.")
(license license:expat)))
+(define-public python-pydantic-2
+ (package
+ (inherit python-pydantic)
+ (name "python-pydantic")
+ (version "2.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pydantic" version))
+ (sha256
+ (base32 "1a8zbm510czjnfa6xn56w80q121pk7qpywrjdlzcd3a8la1c3mag"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; This test requires pytest-examples, which in turn requires
+ ;; python-ruff, which is difficult to package because it is
+ ;; written in Rust (TODO: Enable when Ruff is in Guix!).
+ (list #:test-flags #~'("--ignore" "tests/test_docs.py")))
+ (native-inputs
+ (list python-hatchling
+ python-hatch-fancy-pypi-readme
+ python-cloudpickle
+ python-dirty-equals
+ python-email-validator
+ python-faker
+ python-pytest
+ python-pytest-benchmark
+ python-pytest-mock))
+ (propagated-inputs
+ (list python-annotated-types
+ python-pydantic-core
+ python-typing-extensions))
+ (license license:expat)))
+
(define-public python-pydantic-cli
(package
(name "python-pydantic-cli")
--
2.41.0
- [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2., (continued)
- [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: Update to 0.8.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2.,
Hartmut Goebel <=
- [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 31/32] gnu: python-typing-extensions: Update to 4.9.0., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 20/32] gnu: Add rust-speedate-0.13., Hartmut Goebel, 2024/02/11
- [bug#69048] [PATCH 07/32] gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6., Hartmut Goebel, 2024/02/11