gnu: python-anndata: Update to 0.7.1.
* gnu/packages/python-xyz.scm (python-anndata): Update to 0.7.1. [arguments]: Move check phase after install phase; delete one test. [propagated-inputs]: Add python-importlib-metadata, python-numcodecs, python-packaging, and python-zarr. [native-inputs]: Add python-joblib, python-pytest, and python-setuptools-scm.
This commit is contained in:
		
							parent
							
								
									7032c1cc60
								
							
						
					
					
						commit
						a098b34980
					
				
					 1 changed files with 24 additions and 3 deletions
				
			
		| 
						 | 
					@ -15819,20 +15819,41 @@ N-dimensional arrays for Python.")
 | 
				
			||||||
(define-public python-anndata
 | 
					(define-public python-anndata
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-anndata")
 | 
					    (name "python-anndata")
 | 
				
			||||||
    (version "0.6.18")
 | 
					    (version "0.7.1")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
       (uri (pypi-uri "anndata" version))
 | 
					       (uri (pypi-uri "anndata" version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "03x83yjaccbqszj7x4fwwmpil0ai59yx64d1zmf2691za3j03w73"))))
 | 
					         "0rnfbpr55j1a1bi2kd4mz444741hrn74kz90h5rnjr59jmpfnh09"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'delete-inconvenient-tests
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             ;; This test depends on python-scikit-learn.
 | 
				
			||||||
 | 
					             (delete-file "anndata/tests/test_inplace_subset.py")
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
 | 
					         (delete 'check)
 | 
				
			||||||
 | 
					         (add-after 'install 'check
 | 
				
			||||||
 | 
					           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (add-installed-pythonpath inputs outputs)
 | 
				
			||||||
 | 
					             (invoke "pytest" "-vv"))))))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-h5py" ,python-h5py)
 | 
					     `(("python-h5py" ,python-h5py)
 | 
				
			||||||
 | 
					       ("python-importlib-metadata" ,python-importlib-metadata)
 | 
				
			||||||
       ("python-natsort" ,python-natsort)
 | 
					       ("python-natsort" ,python-natsort)
 | 
				
			||||||
 | 
					       ("python-numcodecs" ,python-numcodecs)
 | 
				
			||||||
 | 
					       ("python-packaging" ,python-packaging)
 | 
				
			||||||
       ("python-pandas" ,python-pandas)
 | 
					       ("python-pandas" ,python-pandas)
 | 
				
			||||||
       ("python-scipy" ,python-scipy)))
 | 
					       ("python-scipy" ,python-scipy)
 | 
				
			||||||
 | 
					       ("python-zarr" ,python-zarr)))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     `(("python-joblib" ,python-joblib)
 | 
				
			||||||
 | 
					       ("python-pytest" ,python-pytest)
 | 
				
			||||||
 | 
					       ("python-setuptools-scm" ,python-setuptools-scm)))
 | 
				
			||||||
    (home-page "https://github.com/theislab/anndata")
 | 
					    (home-page "https://github.com/theislab/anndata")
 | 
				
			||||||
    (synopsis "Annotated data for data analysis pipelines")
 | 
					    (synopsis "Annotated data for data analysis pipelines")
 | 
				
			||||||
    (description "Anndata is a package for simple (functional) high-level APIs
 | 
					    (description "Anndata is a package for simple (functional) high-level APIs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue