[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
87/145: gnu: python-pysam: Update to 0.18.0.
From: |
guix-commits |
Subject: |
87/145: gnu: python-pysam: Update to 0.18.0. |
Date: |
Mon, 10 Jan 2022 11:44:13 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit ef64701ebc21b9842a5e9ce33c57d1272ab7bed9
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Dec 22 22:44:07 2021 -0500
gnu: python-pysam: Update to 0.18.0.
* gnu/packages/bioinformatics.scm (python-pysam): Update to 0.18.0.
[source]: Add FIXME to clarify bundled libraries in use.
[phases]{check}: Streamline.
[propagated-inputs]: Use latest htslib (1.14).
[native-inputs]: Use latest samtools and bcftools (1.14). Remove
python-nose.
---
gnu/packages/bioinformatics.scm | 28 ++++++++--------------------
1 file changed, 8 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3fda31a645..025c545852 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2327,7 +2327,7 @@ has several key features:
(define-public python-pysam
(package
(name "python-pysam")
- (version "0.16.0.1")
+ (version "0.18.0")
(source (origin
(method git-fetch)
;; Test data is missing on PyPi.
@@ -2337,11 +2337,10 @@ has several key features:
(file-name (git-file-name name version))
(sha256
(base32
- "168bwwm8c2k22m7paip8q0yajyl7xdxgnik0bgjl7rhqg0majz0f"))
+ "042ca27r6634xg2ixgvq1079cp714wmm6ml7bwc1snn0wxxzywfg"))
(modules '((guix build utils)))
(snippet '(begin
- ;; Drop bundled htslib. TODO: Also remove samtools
- ;; and bcftools.
+ ;; FIXME: Unbundle samtools and bcftools.
(delete-file-recursively "htslib")))))
(build-system python-build-system)
(arguments
@@ -2358,35 +2357,24 @@ has several key features:
(setenv "CFLAGS" "-D_CURSES_LIB=1")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- ;; FIXME: These tests fail with "AttributeError: 'array.array'
- ;; object has no attribute 'tostring'".
- (delete-file "tests/AlignmentFile_test.py")
(when tests?
;; Step out of source dir so python does not import from CWD.
(with-directory-excursion "tests"
(setenv "HOME" "/tmp")
(invoke "make" "-C" "pysam_data")
(invoke "make" "-C" "cbcf_data")
- (invoke "pytest" "-k"
- (string-append
- ;; requires network access.
- "not FileHTTP"
- ;; bug in test suite with samtools update
- ;;
https://github.com/pysam-developers/pysam/issues/961
- " and not TestHeaderBAM"
- " and not TestHeaderCRAM"
- " and not test_text_processing")))))))))
+ ;; The FileHTTP test requires network access.
+ (invoke "pytest" "-k" "not FileHTTP"))))))))
(propagated-inputs
- (list htslib-1.10)) ; Included from installed header files.
+ (list htslib)) ; Included from installed header files.
(inputs
(list ncurses curl zlib))
(native-inputs
(list python-cython
python-pytest
;; Dependencies below are are for tests only.
- samtools-1.10
- bcftools-1.10
- python-nose))
+ samtools
+ bcftools))
(home-page "https://github.com/pysam-developers/pysam")
(synopsis "Python bindings to the SAMtools C API")
(description
- 115/145: gnu: binutils: Fix CVE-2021-45078., (continued)
- 115/145: gnu: binutils: Fix CVE-2021-45078., guix-commits, 2022/01/10
- 144/145: gnu: nss: Update to 3.72., guix-commits, 2022/01/10
- 132/145: gnu: Add rust-cfg-expr-0.8., guix-commits, 2022/01/10
- 38/145: gnu: elogind: Reinstate the test-event.c test., guix-commits, 2022/01/10
- 102/145: gnu: go-ipfs: Remove obsolete phase., guix-commits, 2022/01/10
- 92/145: build-system/gnu: Make gzip files writable before resetting timestamps., guix-commits, 2022/01/10
- 130/145: gnu: mozjs-78: Disable rust-simd to workaround a build failure., guix-commits, 2022/01/10
- 64/145: gnu: Add python-tomli-w., guix-commits, 2022/01/10
- 54/145: gnu: tracker: Add python to native inputs., guix-commits, 2022/01/10
- 137/145: gnu: rust-predicates-2: Update to 2.0.3., guix-commits, 2022/01/10
- 87/145: gnu: python-pysam: Update to 0.18.0.,
guix-commits <=
- 121/145: gnu: python-openpyxl: Update to 3.0.9., guix-commits, 2022/01/10
- 61/145: gnu: python-typing: Update to 3.10.0.0., guix-commits, 2022/01/10
- 107/145: gnu: arcanist: Remove obsolete phase., guix-commits, 2022/01/10
- 84/145: gnu: htslib: Update to 1.14., guix-commits, 2022/01/10
- 76/145: gnu: python2-matplotlib: Update to 2.2.5., guix-commits, 2022/01/10
- 82/145: gnu: poetry: Update to 1.1.12., guix-commits, 2022/01/10
- 88/145: gnu: Add plfit., guix-commits, 2022/01/10
- 91/145: gnu: tbb-2020: Use ld.gold to work around segfaults in check phase., guix-commits, 2022/01/10
- 129/145: build/python: Improve error output in sanity check., guix-commits, 2022/01/10
- 66/145: gnu: python-flit: Update to 3.5.1, enable tests and apply guix style., guix-commits, 2022/01/10