summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-02 23:53:48 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-02 23:53:58 +0100
commit10923ddef12cf37ea337b5e9e825d530cf2c9031 (patch)
treead8ea61fb30db893ecf0a7723c9120b4e0d16483 /gnu/packages/python-xyz.scm
parent03b87a89455c7e33959fc9401f01bb4adf1f4651 (diff)
gnu: nikola: Update to 8.3.3.
* gnu/packages/python-xyz.scm (nikola): Update to 8.3.3. [arguments] <test-flags>: Rework skipped tests. [phases]{fix-pytest-config}: Repoint to pyproject.toml. [native-inputs]: Remove python-wheel. Change-Id: Id30eaca91c79b274bb5b087bc5477815dc285489
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm34
1 files changed, 23 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 98628e953d..39b7671c58 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37663,34 +37663,46 @@ these linters: @code{pycodestlye}, @code{pyflakes}")
(define-public nikola
(package
(name "nikola")
- (version "8.3.1")
+ (version "8.3.3")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "Nikola" version))
+ (uri (pypi-uri "nikola" version))
(sha256
- (base32 "1fdgqx828b1syd1z2miliwrykmxryya3dcib28r56wvp37cl3wi1"))))
+ (base32 "1ixi7bhcmyl6nxh4psjkj4q4wq5midgnks294r64zciazippsvb3"))))
(build-system pyproject-build-system)
(arguments
(list
- #:test-flags #~(list "--durations=10"
- "--ignore=tests/integration/test_dev_server.py"
- ;; Assertion fails in diff of HTML template.
- "-k" "not test_compiling_markdown")
+ ;; tests: 506 passed, 16 skipped, 10 deselected, 5 xfailed, 66 warnings
+ #:test-flags
+ #~(list "--durations=10"
+ "--ignore=tests/integration/test_dev_server.py"
+ "-k" (string-join
+ ;; Some time difference in example tests.
+ (list "not test_serves_root_dir[http://example.org/deep/down/a/rabbit/hole]"
+ "test_serves_root_dir[https://example.org:1234/blog]"
+ "test_serves_root_dir[https://example.org:3456/blog/]"
+ "test_serves_root_dir[https://example.org]"
+ ;; AssertionError: Calls not found.
+ "test_write_content_does_not_detroy_text"
+ ;; AssertionError: assert 'January 10, 2006,
+ ;; 12:34:56\u202fPM -0500' == 'January 10, 2006,
+ ;; 12:34:56\u202fPM EST'
+ "test_format_date_timezone")
+ " and not "))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-pytest-config
(lambda _
;; Drop test coverage requirements.
- (substitute* "setup.cfg"
- ((".*--cov.*") "")))))))
+ (substitute* "pyproject.toml"
+ (("addopts.*") "")))))))
(native-inputs
(list nss-certs-for-test
python-feedparser
python-freezegun
python-pytest
- python-setuptools
- python-wheel))
+ python-setuptools))
(inputs
(list python-babel
python-blinker