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

commit 2d10ee9aa5f3425817caef0c0a797dd0d18b2ffc
Author: Ricardo Wurmus <rek...@elephly.net>
AuthorDate: Wed Dec 18 09:33:16 2024 +0100

    gnu: python-pandas-2: Remove X.
    
    These tests are not run anyway, so there is no need to launch an X server.
    
    * gnu/packages/python-science.scm (python-pandas-2)[arguments]: Rename
    'prepare-x phase to 'pre-check.
    [native-inputs]: Remove xorg-server-for-tests.
    
    Change-Id: Ib85883360397d2715a1893b74435d96a1d119f9e
---
 gnu/packages/python-science.scm | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 7bb59f7b76..4c174f55ba 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1283,10 +1283,8 @@ doing practical, real world data analysis in Python.")
                    (string-append "__version__ = \""
                                   #$(package-version this-package)
                                   "\""))))))
-          (add-before 'check 'prepare-x
+          (add-before 'check 'pre-check
             (lambda _
-              (system "Xvfb &")
-              (setenv "DISPLAY" ":0")
               (setenv "HOME" ".")
               ;; Skip tests that require lots of resources.
               (setenv "PANDAS_CI" "1")))
@@ -1332,9 +1330,7 @@ doing practical, real world data analysis in Python.")
            python-pytest-localserver
            python-pytest-mock
            python-pytest-xdist
-           python-versioneer
-           ;; Needed to test clipboard support.
-           xorg-server-for-tests))
+           python-versioneer))
     (home-page "https://pandas.pydata.org";)
     (synopsis "Data structures for data analysis, time series, and statistics")
     (description

Reply via email to