guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

102/361: gnu: python-pydata-sphinx-theme: Disable one test.


From: guix-commits
Subject: 102/361: gnu: python-pydata-sphinx-theme: Disable one test.
Date: Fri, 22 Nov 2024 06:00:21 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 46b786e713a13908f89cdd581dcde40550f43062
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 23:35:08 2024 +0200

    gnu: python-pydata-sphinx-theme: Disable one test.
    
    * gnu/packages/sphinx.scm (python-pydata-sphinx-theme)[build-system]: Use
    pyproject-build-system.
    [arguments]: Remove custom 'check phase; disable single test.
    [native-inputs]: Add python-setuptools and python-wheel.
    
    Change-Id: I5849dbeab6262c41c7d525029f9acc15b4f4ee72
---
 gnu/packages/sphinx.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 4a4332c800..03a072bc12 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 David Thompson <davet@gnu.org>
-;;; Copyright © 2015, 2017, 2019, 2020, 2021, 2023 Ricardo Wurmus 
<rekado@elephly.net>
+;;; Copyright © 2015, 2017, 2019, 2020, 2021, 2023, 2024 Ricardo Wurmus 
<rekado@elephly.net>
 ;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2016-2019, 2022, 2023 Marius Bakke <marius@gnu.org>
@@ -1388,21 +1388,20 @@ Sphinx documentation.")
        (sha256
         (base32
          "0ph69bnnw9w8vksc7rk45q5yknsrsgk9a19xsbxym46jrmgz67b7"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-vv")))))))
+      #:test-flags
+      ;; Fails due to inscrutable differences in the generated HTML
+      '(list "-k" "not test_logo")))
     (propagated-inputs
      (list python-beautifulsoup4
            python-docutils
            python-jinja2
            python-sphinx))
-    (native-inputs (list python-pytest python-pytest-regressions))
+    (native-inputs
+     (list python-pytest python-pytest-regressions
+           python-setuptools python-wheel))
     (home-page "https://github.com/pydata/pydata-sphinx-theme";)
     (synopsis "Bootstrap-based Sphinx theme")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]