me
/
guix
Archived
1
0
Fork 0

gnu: python-liana-py: Update to 1.1.0.

* gnu/packages/bioinformatics.scm (python-liana-py): Update to 1.1.0.
[arguments]: Adjust tests; add phase 'relax-requirements.
[propagated-inputs]: Remove python-mofax; add python-numpy.
[native-inputs]: Remove python-numpy; add python-poetry-core.

Change-Id: I279be08ac3ac73d9a724f59652f2f0d333607696
master
Ricardo Wurmus 2024-05-03 13:39:48 +02:00
parent 4d65083bf8
commit 99bf1b1002
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 27 additions and 5 deletions

View File

@ -2210,7 +2210,7 @@ servers supporting the protocol.")
(define-public python-liana-py (define-public python-liana-py
(package (package
(name "python-liana-py") (name "python-liana-py")
(version "0.1.9") (version "1.1.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -2219,7 +2219,7 @@ servers supporting the protocol.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"00lqrmi38wmdpjlcafgmrnkwsbp0yvm2rya6qs8y6jfizww9ff8i")))) "0f5al0v55haja91q9gd409v7q78mmp1wv9znsplsbjp6lfspjfnw"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -2227,9 +2227,28 @@ servers supporting the protocol.")
'(list "-k" '(list "-k"
;; These tests require internet access. ;; These tests require internet access.
(string-append "not test_generate_lr_resource" (string-append "not test_generate_lr_resource"
" and not test_generate_nondefault_lr_resource")) " and not test_get_metalinks"
" and not test_get_metalinks_values"
" and not test_describe_metalinks"
" and not test_generate_nondefault_lr_resource"
;; Minor accuracy difference
" and not test_bivar_morans_perms"
;; XXX unclear failure: 'coo_matrix' object is not
;; subscriptable
" and not test_bivar_product"
)
;; These need the optional squidpy, which we don't have yet.
"--ignore=liana/tests/test_misty.py"
;; These need the optional corneto.
"--ignore=liana/tests/test_causalnet.py")
#:phases #:phases
'(modify-phases %standard-phases '(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
;; Don't fail the sanity check when these optional inputs aren't
;; available.
(substitute* "pyproject.toml"
(("^pre-commit =.*") ""))))
;; Numba needs a writable directory to cache functions. ;; Numba needs a writable directory to cache functions.
(add-before 'build 'set-numba-cache-dir (add-before 'build 'set-numba-cache-dir
(lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp")))))) (lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
@ -2239,10 +2258,10 @@ servers supporting the protocol.")
python-hypothesis python-hypothesis
python-ipykernel python-ipykernel
python-ipython python-ipython
python-mofax
python-mudata python-mudata
python-nbconvert python-nbconvert
python-nbsphinx python-nbsphinx
python-numpy
python-numpydoc python-numpydoc
python-omnipath python-omnipath
python-pandas python-pandas
@ -2255,7 +2274,10 @@ servers supporting the protocol.")
python-tqdm python-tqdm
tzdata)) tzdata))
(native-inputs (native-inputs
(list python-black python-pytest python-pytest-cov python-numpy)) (list python-black
python-poetry-core
python-pytest
python-pytest-cov))
(home-page "https://github.com/saezlab/liana-py") (home-page "https://github.com/saezlab/liana-py")
(synopsis "LIANA is a ligand-receptor analysis framework") (synopsis "LIANA is a ligand-receptor analysis framework")
(description "This is a Ligand-Receptor inference framework. The (description "This is a Ligand-Receptor inference framework. The