diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-14 20:40:27 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:56 +0100 |
commit | db293bb6af303768a9b1a50a678f01aabe5609b7 (patch) | |
tree | 56ac2f5e6fdb5ccf86ea184daad215b3cc67010c /gnu/packages/python-xyz.scm | |
parent | f59129c09b9e0bf992b191dd95eca77101521544 (diff) |
gnu: nikola: Update to 8.3.1, fix build.
* gnu/packages/python-xyz.scm (nikola): Update to 8.3.1. Fix build.
[arguments] <test-flags>: Ignore dev_test_sever tests which are all
failing.
<phases>: Add 'fix-pytest-config.
[native-inputs]: Remove python-pytest-cov; add python-feedparser.
Change-Id: I4394a4bf19a64f1bdda578352f0d3bdfa036c752
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9e2a48abe0..5404a72196 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -94,7 +94,7 @@ ;;; Copyright © 2020, 2021, 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2020 EuAndreh <eu@euandre.org> ;;; Copyright © 2021, 2022 Morgan Smith <Morgan.J.Smith@outlook.com> -;;; Copyright © 2021-2024 Sharlatan Hellseher <sharlatanus@gmail.com> +;;; Copyright © 2021-2025 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev> ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> @@ -37467,19 +37467,30 @@ these linters: @code{pycodestlye}, @code{pyflakes}") (define-public nikola (package (name "nikola") - (version "8.2.2") + (version "8.3.1") (source (origin (method url-fetch) (uri (pypi-uri "Nikola" version)) (sha256 - (base32 "1h96y4sfypp2fbqxa8xrqch5f7r3srm2ly222k9w2n143h2spx4m")))) + (base32 "1fdgqx828b1syd1z2miliwrykmxryya3dcib28r56wvp37cl3wi1")))) (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--durations=10" + "--ignore=tests/integration/test_dev_server.py") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-pytest-config + (lambda _ + ;; Drop test coverage requirements. + (substitute* "setup.cfg" + ((".*--cov.*") ""))))))) (native-inputs (list nss-certs-for-test + python-feedparser python-freezegun python-pytest - python-pytest-cov python-setuptools python-wheel)) (propagated-inputs |