~ruther/guix-local

55d4ab9a08aee1d508fc18a000d9ec4e058365de — Nicolas Graves 1 year, 3 months ago 7780df4
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>
1 files changed, 6 insertions(+), 20 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +6 -20
@@ 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/")