diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-07 11:07:33 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:18:22 +0100 |
| commit | bc311d8500b167d87cd0b378fddd110191a4e35c (patch) | |
| tree | 6ec454412a9ba4ef931cbefc47fcc84ed12cf736 /gnu/packages/python-xyz.scm | |
| parent | d7572ac7e1d711744ff5515aef0f3a753ec61402 (diff) | |
gnu: python-pydantic-settings: Update to 2.12.0.
* gnu/packages/python-xyz.scm (python-pydantic-settings): Update to 2.12.0.
[arguments] <test-flags>: Simplify.
<phases>: Remove 'relax-requirements.
[propagated-inputs]: Add python-typing-inspection, python-pyyaml, and
python-tomli.
Change-Id: I4163761c01d60f121e580b460f948f447c95f256
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 44 |
1 files changed, 12 insertions, 32 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 65e881cfae5..ab91ce97e6e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10252,59 +10252,39 @@ Interfaces} via data models provided in the JSON format.") (define-public python-pydantic-settings (package (name "python-pydantic-settings") - (version "2.7.1") + (version "2.12.0") (source (origin (method url-fetch) (uri (pypi-uri "pydantic_settings" version)) (sha256 - (base32 "14zcbl32m53zfh054bkqk4jcjp72q1wa0w5z5wygnjz66nnwmj8h")))) + (base32 "1l6gmw6v1nlm3cid92c5xw6ljw9fbwmjk2y0w5l2lg0yjppkhm80")))) (build-system pyproject-build-system) (arguments (list + ;; tests: 399 passed, 27 skipped #:test-flags - #~(list "-k" (string-append - ;; Disable tests requiring python-ruff. - "not test_docs_examples[docs/index.md:24-83]" - " and not test_docs_examples[docs/index.md:113-137]" - " and not test_docs_examples[docs/index.md:148-156]" - " and not test_docs_examples[docs/index.md:173-183]" - " and not test_docs_examples[docs/index.md:193-201]" - " and not test_docs_examples[docs/index.md:212-243]" - " and not test_docs_examples[docs/index.md:286-317]" - " and not test_docs_examples[docs/index.md:331-372]" - " and not test_docs_examples[docs/index.md:430-439]" - " and not test_docs_examples[docs/index.md:453-459]" - " and not test_docs_examples[docs/index.md:514-522]" - " and not test_docs_examples[docs/index.md:547-549]" - " and not test_docs_examples[docs/index.md:553-585]" - " and not test_docs_examples[docs/index.md:620-645]" - " and not test_docs_examples[docs/index.md:654-732]" - " and not test_docs_examples[docs/index.md:738-772]") - "--ignore=tests/test_docs.py") + ;; XXX: Ignore tests requiring python-ruff. + #~(list "--ignore=tests/test_docs.py") #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "pyproject.toml" - ;; hatchling.build failed on this line with error: - ;; ValueError: Unknown classifier in field - ;; `project.classifiers`: Framework :: Pydantic :: 2 - (("'Framework :: Pydantic :: 2',") "") - ;; python-dotenv>=0.21.0 - ((">=0.21.0") ">=0.20.0")))) (add-before 'check 'set-home (lambda _ ;; FileNotFoundError: [Errno 2] No such file or directory: ;; '/homeless-shelter/ (setenv "HOME" "/tmp")))))) - (propagated-inputs - (list python-dotenv python-pydantic)) (native-inputs (list python-hatchling python-pytest python-pytest-examples python-pytest-mock)) + (propagated-inputs + (list python-dotenv + python-pydantic + python-typing-inspection + ;; [optional] + python-pyyaml + python-tomli)) (home-page "https://docs.pydantic.dev/latest/usage/pydantic_settings/") (synopsis "Settings management using Pydantic") (description |
