rekado pushed a commit to branch master
in repository guix.

commit db293bb6af303768a9b1a50a678f01aabe5609b7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 14 20:40:27 2025 +0000

    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
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++----
 1 file 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 <[email protected]>
 ;;; Copyright © 2020 EuAndreh <[email protected]>
 ;;; Copyright © 2021, 2022 Morgan Smith <[email protected]>
-;;; Copyright © 2021-2024 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2021-2025 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2021 Ellis Kenyő <[email protected]>
 ;;; Copyright © 2021 LibreMiami <[email protected]>
 ;;; Copyright © 2021 Xinglu Chen <[email protected]>
@@ -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

Reply via email to