gnu: python-jsonargparse: Update to 4.37.0.

* gnu/packages/python-xyz.scm (python-jsonargparse): Update to 4.37.0.
[arguments]{test-flags}: Remove uneeded test-flags.
[propagated-inputs]: Remove python-contextvars,
python-docstring-parser, python-pyyaml, python-typeshed-client.
[native-inputs]: Add python-pypa-build. Remove python-coverage,
python-pycodestyle, python-tox, python-types-requests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-03-31 08:18:32 +02:00 committed by Andreas Enge
parent 7780df4ee7
commit 55d4ab9a08
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -5524,40 +5524,26 @@ Python.")
(define-public python-jsonargparse
(package
(name "python-jsonargparse")
(version "4.21.1")
(version "4.37.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "jsonargparse" version))
(sha256
(base32
"1k3b60x0zf86fh50y2jyby30gksqriyvvpfnf5mqq0qn7jih01y7"))))
"1b9w9j27phj5j00pmhp11lzf53yc4dnwknhxacv2bfyiiaq0af2s"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
'(list "-k" (string-append "not test_env_prefix"
" and not test_basemodel"
" and not test_field_default_factory"
" and not test_field_description"
" and not test_get_param_relative_import_from_init"
;; Strangely, the arguments are interpreted
;; as arguments to pytest.
" and not test_pydantic_types"))))
(list #:test-flags
'(list "-k" "not test_env_prefix")))
(propagated-inputs
(list python-contextvars
python-docstring-parser
python-pyyaml
python-typeshed-client))
(list python-pyyaml))
(native-inputs
(list python-attrs
python-coverage
python-pycodestyle
python-pypa-build
python-pydantic
python-pytest
python-pytest-subtests
python-responses
python-tox
python-types-requests
python-setuptools
python-wheel))
(home-page "https://github.com/omni-us/jsonargparse/")