[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
213/213: gnu: scregseg: Patch for numpy compatibility.
From: |
guix-commits |
Subject: |
213/213: gnu: scregseg: Patch for numpy compatibility. |
Date: |
Fri, 10 Jan 2025 10:43:30 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit ddade1e476e2b21bfe5daed09bfb2220cf657f3e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 10 16:31:12 2025 +0100
gnu: scregseg: Patch for numpy compatibility.
* gnu/packages/bioinformatics.scm (scregseg)[arguments]: Add phase
'compatibility.
Change-Id: I738d675c10acdbae7d40b3f806703ba8f7936a19
---
gnu/packages/bioinformatics.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index cf828902ae..283ec58f26 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -23325,6 +23325,11 @@ populations.")
(add-before 'check 'build-extensions
(lambda _
(invoke "python" "setup.py" "build_ext" "--inplace")))
+ ;; NumPy 1.20 deprecated the type wrappers for int and float.
+ (add-after 'unpack 'compatibility
+ (lambda _
+ (substitute* "src/scregseg/_utils.pyx"
+ (("np.float") "float"))))
(add-after 'unpack 'do-not-fail-to-find-sklearn
(lambda _
;; XXX: I have no idea why it cannot seem to find sklearn.
- 154/213: gnu: Add python-rich-toolkit., (continued)
- 154/213: gnu: Add python-rich-toolkit., guix-commits, 2025/01/10
- 152/213: gnu: python-pydantic-core: Update to 2.27.2., guix-commits, 2025/01/10
- 160/213: gnu: python-pytorch-lightning: Update to 2.5.0.post0., guix-commits, 2025/01/10
- 172/213: gnu: python-fastapi-pagination-minimal: Update to 0.12.34., guix-commits, 2025/01/10
- 178/213: gnu: python-flask-htpasswd: Update to 0.5.0., guix-commits, 2025/01/10
- 177/213: gnu: python-scanpy: Update to 1.10.4., guix-commits, 2025/01/10
- 180/213: gnu: Remove python-flask-basicauth., guix-commits, 2025/01/10
- 190/213: gnu: python-mizani: Add missing input., guix-commits, 2025/01/10
- 198/213: gnu: python-scikit-allel: Update to 1.3.13., guix-commits, 2025/01/10
- 192/213: gnu: python-cachecontrol-0.11: Add missing inputs., guix-commits, 2025/01/10
- 213/213: gnu: scregseg: Patch for numpy compatibility.,
guix-commits <=
- 202/213: gnu: python-qdldl: Add missing input., guix-commits, 2025/01/10
- 209/213: gnu: python-metacells: Update to 0.9.5., guix-commits, 2025/01/10
- 105/213: gnu: Add python-aiohappyeyeballs., guix-commits, 2025/01/10
- 129/213: gnu: python-thinc: Remove old version of dataclasses., guix-commits, 2025/01/10
- 128/213: gnu: python-google-auth: Update to 2.37.0., guix-commits, 2025/01/10
- 133/213: gnu: python-geopandas: Update to 1.0.1., guix-commits, 2025/01/10
- 132/213: gnu: Add python-pyogrio., guix-commits, 2025/01/10
- 135/213: gnu: awscli: Update to 1.36.32., guix-commits, 2025/01/10
- 141/213: gnu: python-pillow: Use pyproject-build-system., guix-commits, 2025/01/10
- 148/213: gnu: rust-codspeed-2: Update to 2.7.2., guix-commits, 2025/01/10