mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove python-pandas-1.
* gnu/packages/python-science.scm (python-pandas-1): Delete variable. Change-Id: Ib55e03b5a65978ddc6e38fbe73a35e37b993c460
This commit is contained in:
parent
da69810d72
commit
d7f906d3d9
1 changed files with 0 additions and 102 deletions
|
@ -3582,108 +3582,6 @@ library.")
|
||||||
tissue-specificity metrics for gene expression.")
|
tissue-specificity metrics for gene expression.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public python-pandas-1
|
|
||||||
(package
|
|
||||||
(name "python-pandas")
|
|
||||||
(version "1.5.3")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "pandas" version))
|
|
||||||
(sha256
|
|
||||||
(base32 "1cdhngylzh352wx5s3sjyznn7a6kmjqcfg97hgqm5h3yb9zgv8vl"))))
|
|
||||||
(build-system pyproject-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:test-flags
|
|
||||||
'(list "--pyargs" "pandas"
|
|
||||||
"-n" (number->string (parallel-job-count))
|
|
||||||
"-m" "not slow and not network and not db"
|
|
||||||
"-k"
|
|
||||||
(string-append
|
|
||||||
;; TODO: Missing input
|
|
||||||
"not TestS3"
|
|
||||||
" and not s3"
|
|
||||||
;; No module named 'pandas.io.sas._sas'
|
|
||||||
" and not test_read_expands_user_home_dir"
|
|
||||||
" and not test_read_non_existent"
|
|
||||||
;; Unknown failures
|
|
||||||
" and not test_switch_options"
|
|
||||||
;; These fail with: td64 doesn't return NotImplemented, see numpy#17017
|
|
||||||
" and not test_nat_comparisons"
|
|
||||||
;; Crashes
|
|
||||||
" and not test_bytes_exceed_2gb"
|
|
||||||
;; get_subplotspec() returns None; possibly related to
|
|
||||||
;; https://github.com/pandas-dev/pandas/issues/54577
|
|
||||||
" and not test_plain_axes"
|
|
||||||
;; This test fails when run with pytest-xdist
|
|
||||||
;; (see https://github.com/pandas-dev/pandas/issues/39096).
|
|
||||||
" and not test_memory_usage"))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-build-system
|
|
||||||
(lambda _
|
|
||||||
(substitute* "pyproject.toml"
|
|
||||||
;; Not all data files are distributed with the tarball.
|
|
||||||
(("--strict-data-files ") "")
|
|
||||||
;; Unknown property "asyncio_mode"
|
|
||||||
(("asyncio_mode = \"strict\"") ""))))
|
|
||||||
(add-after 'unpack 'patch-which
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(substitute* "pandas/io/clipboard/__init__.py"
|
|
||||||
(("^WHICH_CMD = .*")
|
|
||||||
(string-append "WHICH_CMD = \""
|
|
||||||
(search-input-file inputs "/bin/which")
|
|
||||||
"\"\n")))))
|
|
||||||
(add-before 'check 'prepare-x
|
|
||||||
(lambda _
|
|
||||||
(system "Xvfb &")
|
|
||||||
(setenv "DISPLAY" ":0")
|
|
||||||
;; xsel needs to write a log file.
|
|
||||||
(setenv "HOME" "/tmp")))
|
|
||||||
;; The compiled libraries are only in the output at this point,
|
|
||||||
;; but they are needed to run tests.
|
|
||||||
;; FIXME: This should be handled by the pyargs pytest argument,
|
|
||||||
;; but is not for some reason.
|
|
||||||
(add-before 'check 'pre-check
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(copy-recursively
|
|
||||||
(string-append (site-packages inputs outputs)
|
|
||||||
"/pandas/_libs")
|
|
||||||
"pandas/_libs"))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-jinja2
|
|
||||||
python-matplotlib
|
|
||||||
python-numpy
|
|
||||||
python-openpyxl
|
|
||||||
python-pytz
|
|
||||||
python-dateutil
|
|
||||||
python-xlrd
|
|
||||||
python-xlsxwriter))
|
|
||||||
(inputs
|
|
||||||
(list which xclip xsel))
|
|
||||||
(native-inputs
|
|
||||||
(list python-cython-0.29.35
|
|
||||||
python-beautifulsoup4
|
|
||||||
python-lxml
|
|
||||||
python-html5lib
|
|
||||||
python-pytest
|
|
||||||
python-pytest-mock
|
|
||||||
python-pytest-xdist
|
|
||||||
python-setuptools
|
|
||||||
python-wheel
|
|
||||||
;; Needed to test clipboard support.
|
|
||||||
xorg-server-for-tests))
|
|
||||||
(home-page "https://pandas.pydata.org")
|
|
||||||
(synopsis "Data structures for data analysis, time series, and statistics")
|
|
||||||
(description
|
|
||||||
"Pandas is a Python package providing fast, flexible, and expressive data
|
|
||||||
structures designed to make working with structured (tabular,
|
|
||||||
multidimensional, potentially heterogeneous) and time series data both easy
|
|
||||||
and intuitive. It aims to be the fundamental high-level building block for
|
|
||||||
doing practical, real world data analysis in Python.")
|
|
||||||
(license license:bsd-3)))
|
|
||||||
|
|
||||||
(define-public python-pandas-2
|
(define-public python-pandas-2
|
||||||
(package
|
(package
|
||||||
(name "python-pandas")
|
(name "python-pandas")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue