summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-22 10:51:22 -0300
committerVinicius Monego <monego@posteo.net>2025-06-22 11:21:48 -0300
commit272fc9c223dadc1fc514b5567e9a82f00f3e1612 (patch)
treeb71989fa951f633b7d247c0b75dd785361476b87 /gnu/packages/python-xyz.scm
parenta4892265fac15ad45c8ec5d7a57289ae11768da6 (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm18
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f042614320..37950ad7d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9757,8 +9757,21 @@ interested parties to subscribe to events, or \"signals\".")
(sha256
(base32 "1n4b8y4vvycxhwmi3z5i96bh0d2rg1mk1hdc6cbkk3c1gd4380mr"))))
(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
- (list python-pdm-backend))
+ (list python-anyio
+ python-beautifulsoup4
+ python-lxml
+ python-pdm-backend
+ python-pytest
+ python-smartypants
+ python-typogrify))
(inputs
(list python-blinker
python-dateutil
@@ -9774,9 +9787,6 @@ interested parties to subscribe to events, or \"signals\".")
python-unidecode
python-watchfiles))
(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")
(description
"Pelican is a tool to generate a static blog from reStructuredText,