[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
123/150: gnu: python-anndata: Remove custom build phases, disable failin
From: |
guix-commits |
Subject: |
123/150: gnu: python-anndata: Remove custom build phases, disable failing test. |
Date: |
Sun, 24 Apr 2022 05:12:35 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 6893d6b1b5a2dde3ce94a7e8552952252228ebbb
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 9 10:33:10 2022 +0100
gnu: python-anndata: Remove custom build phases, disable failing test.
* gnu/packages/python-xyz.scm (python-anndata)[arguments]: Disable failing
test, remove custom 'build and 'install phases, but keep environment
variable for setuptools-scm.
[propagated-inputs]: Add python-pytoml.
[native-inputs]: Use python-flit-core instead of python-flit, add
python-boltons.
---
gnu/packages/python-xyz.scm | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f6c3bc7c6a..b254e538b6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22934,27 +22934,12 @@ N-dimensional arrays for Python.")
"0v7npqrg1rdm8jzw22a45c0mqrmsv05r3k88i3lhzi0pzzxca1i1"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ `(#:test-flags '("-vv" "-k" "not concatenation.rst") ; needs
python-scanpy.
+ #:phases
(modify-phases %standard-phases
- (delete 'check)
- (replace 'build
+ (add-before 'build 'set-version
(lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" ,version)
- (substitute* "anndata/_metadata.py"
- (("__version__ =.*")
- (string-append "__version__ = \"" ,version "\"\n")))
- ;; ZIP does not support timestamps before 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "flit" "build")))
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (let ((out (assoc-ref outputs "out")))
- (for-each (lambda (wheel)
- (format #true wheel)
- (invoke "python" "-m" "pip" "install"
- wheel (string-append "--prefix=" out)))
- (find-files "dist" "\\.whl$"))))))))
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" ,version))))))
(propagated-inputs
(list python-h5py
python-importlib-metadata
@@ -22966,8 +22951,10 @@ N-dimensional arrays for Python.")
python-xlrd-1
python-zarr))
(native-inputs
- (list python-joblib python-pytest python-toml python-flit
- python-setuptools-scm))
+ ;; Missing: python-scanpy, which is part of bioinformatics module,
+ ;; which cannot be imported here.
+ (list python-joblib python-pytest python-toml python-flit-core
+ python-setuptools-scm python-boltons))
(home-page "https://github.com/theislab/anndata")
(synopsis "Annotated data for data analysis pipelines")
(description "Anndata is a package for simple (functional) high-level APIs
- 48/150: gnu: picard: Remove old build flag., (continued)
- 48/150: gnu: picard: Remove old build flag., guix-commits, 2022/04/24
- 89/150: gnu: python-pytest-httpbin: Disable tests., guix-commits, 2022/04/24
- 55/150: gnu: Add python-pytest-expect., guix-commits, 2022/04/24
- 81/150: gnu: python-setuptools-scm-git-archive: Disable tests., guix-commits, 2022/04/24
- 79/150: gnu: python-dnspython: Force poetry backend., guix-commits, 2022/04/24
- 108/150: gnu: python-argcomplete: Add missing test input., guix-commits, 2022/04/24
- 105/150: gnu: python-gevent: Override build backend., guix-commits, 2022/04/24
- 106/150: gnu: python-tables: Move flags to #:configure-flags., guix-commits, 2022/04/24
- 114/150: gnu: python-immutabledict: Add missing build input., guix-commits, 2022/04/24
- 99/150: gnu: Remove remaining uses of #:use-setuptools?., guix-commits, 2022/04/24
- 123/150: gnu: python-anndata: Remove custom build phases, disable failing test.,
guix-commits <=
- 135/150: gnu: python-helpdev: Add missing test input., guix-commits, 2022/04/24
- 04/150: gnu: Use %python-build-system-module inside #:imported-modules., guix-commits, 2022/04/24
- 08/150: gnu: python-pypa-build: Replace toml with tomli., guix-commits, 2022/04/24
- 06/150: gnu: Properly bootstrap python-flit-core and python-tomli., guix-commits, 2022/04/24
- 10/150: gnu: python-tomli-w: Remove custom phases., guix-commits, 2022/04/24
- 29/150: gnu: python-pastel: Add missing build system input., guix-commits, 2022/04/24
- 44/150: gnu: calibre: Remove old build flag., guix-commits, 2022/04/24
- 43/150: gnu: python-pyfakefs: Disable tests., guix-commits, 2022/04/24
- 60/150: gnu: python-pastedeploy: Remove obsolete argument., guix-commits, 2022/04/24
- 59/150: gnu: python-rauth: Remove obsolete argument., guix-commits, 2022/04/24