gnu: pelican: Enable tests.

* gnu/packages/python-xyz.scm (pelican)[arguments]: Remove '#:tests?'.
<#:test-flags>: Skip three failing tests.
[native-inputs]: Add python-anyio, python-beautifulsoup4, python-lxml,
python-pytest, python-smartypants, python-typogrify.

Change-Id: Ibcbfa1a405753bfcf68028be86a90c1c318cb1b7
This commit is contained in:
Vinicius Monego 2025-06-22 10:51:22 -03:00
parent a4892265fa
commit 272fc9c223
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -9757,8 +9757,21 @@ interested parties to subscribe to events, or \"signals\".")
(sha256 (sha256
(base32 "1n4b8y4vvycxhwmi3z5i96bh0d2rg1mk1hdc6cbkk3c1gd4380mr")))) (base32 "1n4b8y4vvycxhwmi3z5i96bh0d2rg1mk1hdc6cbkk3c1gd4380mr"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "-k" (string-append
;; These tests failed with AssertionError.
"not test_typogrify_ignore_filters"
" and not test_typogrify_ignore_tags"
" and not test_error_on_warning"))))
(native-inputs (native-inputs
(list python-pdm-backend)) (list python-anyio
python-beautifulsoup4
python-lxml
python-pdm-backend
python-pytest
python-smartypants
python-typogrify))
(inputs (inputs
(list python-blinker (list python-blinker
python-dateutil python-dateutil
@ -9774,9 +9787,6 @@ interested parties to subscribe to events, or \"signals\".")
python-unidecode python-unidecode
python-watchfiles)) python-watchfiles))
(home-page "https://blog.getpelican.com/") (home-page "https://blog.getpelican.com/")
(arguments
`(;; XXX Requires a lot more packages to do unit tests :P
#:tests? #f))
(synopsis "Python-based static site publishing system") (synopsis "Python-based static site publishing system")
(description (description
"Pelican is a tool to generate a static blog from reStructuredText, "Pelican is a tool to generate a static blog from reStructuredText,