gnu: python-sphinx-autodoc-typehints: Update to 1.25.3.

* gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): Update to 1.25.3.
[arguments]<#:test-flags>: Ignore additional failing test.
[native-inputs]: Remove python-typing-extensions.

Change-Id: I444d2415c5a2fb8bf84ff55b92b5b14a241571c3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 12:00:59 +02:00 committed by Sharlatan Hellseher
parent 895a264deb
commit d7d35d1f76
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1233,7 +1233,7 @@ enabled web server.")
(define-public python-sphinx-autodoc-typehints (define-public python-sphinx-autodoc-typehints
(package (package
(name "python-sphinx-autodoc-typehints") (name "python-sphinx-autodoc-typehints")
(version "1.23.0") (version "1.25.3")
(source (source
(origin (origin
(method git-fetch) ;no tests in pypi archive (method git-fetch) ;no tests in pypi archive
@ -1243,13 +1243,17 @@ enabled web server.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0z5na9cxqq4xc9ikig1s2fwbwl5pjwm04z9zwidbp2lm6k53xs8b")))) "1pw9dzxrq67m0x92c0v4zqmf8llkaiw2j2plqj6n7kcravg26n6v"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
;; This test requires to download an objects.inv file #:test-flags
;; from the Sphinx website. #~(list "-k"
#:test-flags '(list "-k" "not test_format_annotation") ;; This test requires to download an objects.inv file
;; from the Sphinx website.
(string-append "not test_format_annotation"
;; XXX: Trailing -- missing.
" and not test_always_document_param_types"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'build 'pretend-version (add-before 'build 'pretend-version
@ -1265,8 +1269,7 @@ enabled web server.")
python-nptyping python-nptyping
python-pytest python-pytest
python-setuptools-scm python-setuptools-scm
python-sphobjinv python-sphobjinv))
python-typing-extensions))
(propagated-inputs (propagated-inputs
(list python-sphinx)) (list python-sphinx))
(home-page "https://pypi.org/project/sphinx-autodoc-typehints/") (home-page "https://pypi.org/project/sphinx-autodoc-typehints/")