[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/14: gnu: python-omnipath: Update to 1.0.8-0.3d16134.
From: |
guix-commits |
Subject: |
07/14: gnu: python-omnipath: Update to 1.0.8-0.3d16134. |
Date: |
Mon, 6 Jan 2025 11:28:13 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 9df3caa26947b8c8797e3422a9e5b7ac4707e71d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 6 12:11:38 2025 +0100
gnu: python-omnipath: Update to 1.0.8-0.3d16134.
* gnu/packages/python-web.scm (python-omnipath): Update to 1.0.8-0.3d16134.
[source]: Fetch from git repository.
[arguments]: Remove phase 'relax; update list of disabled tests; add phase
'pretend-version.
[native-inputs]: Add nss-certs-for-test.
Change-Id: I9e980702ac8e5662971a9c4bb88a5789758b48ed
---
gnu/packages/python-web.scm | 115 +++++++++++++++++++++++++-------------------
1 file changed, 65 insertions(+), 50 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index aad1430132..9001a2f62d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2490,57 +2490,72 @@ is Python’s.")
(license license:bsd-3)))
(define-public python-omnipath
- (package
- (name "python-omnipath")
- (version "1.0.8")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "omnipath" version))
- (sha256
- (base32
- "0krr4wzfwa6fs550cs0lcqwjj90p1inyncj9kvzi4x4m26xbj89q"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- ;; These require internet access
- '(list "-k" "not test_download_homologene and not test_complex_genes")
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'relax
- (lambda _
- (substitute* "requirements.txt"
- (("wrapt>=1.12.0")
- "wrapt>=1.11.0"))))
- (add-after 'unpack 'set-home
- (lambda _ (setenv "HOME" "/tmp"))))))
- (propagated-inputs
- (list python-attrs
- python-docrep
- python-inflect
- python-networkx
- python-packaging
- python-pandas
- python-requests
- python-tqdm
- python-typing-extensions
- python-urllib3
- python-wrapt))
- (native-inputs
- (list python-bump2version
- python-pytest
- python-pytest-mock
- python-pytest-socket
- python-requests-mock
- python-setuptools-scm
- python-tox
- python-setuptools
- python-wheel))
- (home-page "https://omnipathdb.org/")
- (synopsis "Python client for the OmniPath web service")
- (description "This package provides a Python client for the OmniPath web
+ ;; The latest release is incompatible with Numpy 2 and pretty old. A new
+ ;; release is expected soon.
+ (let ((commit "3d1613493aa1554618fb2d7297f82e034b7694ce")
+ (revision "0"))
+ (package
+ (name "python-omnipath")
+ (version (git-version "1.0.8" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/saezlab/omnipath/")
+ (commit commit)))
+ (file-name (git-file-name name commit))
+ (sha256
+ (base32
+ "03lqbgqihglh9mmp7lwmar26fcnsb1qaidrzbmp0z2wvsrgi4fg7"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ '(list "-k"
+ (string-append
+ ;; These require internet access
+ "not test_download_homologene"
+ " and not test_complex_genes"
+ ;; Arrays are not equal: Mismatched elements: 4759 / 255465
(1.86%)
+ " and not test_import_intercell_network"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'pretend-version
+ ;; The version string is usually derived via setuptools-scm, but
+ ;; without the git metadata available, the version string is set
+ ;; to '0.0.0'.
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
+ #$(version-major+minor (package-version
this-package)))))
+ (add-after 'unpack 'set-home
+ (lambda _ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-attrs
+ python-docrep
+ python-inflect
+ python-networkx
+ python-packaging
+ python-pandas
+ python-requests
+ python-tqdm
+ python-typing-extensions
+ python-urllib3
+ python-wrapt))
+ (native-inputs
+ (list nss-certs-for-test
+ python-bump2version
+ python-pytest
+ python-pytest-mock
+ python-pytest-socket
+ python-requests-mock
+ python-setuptools
+ python-setuptools-scm
+ python-tox
+ python-wheel))
+ (home-page "https://omnipathdb.org/")
+ (synopsis "Python client for the OmniPath web service")
+ (description "This package provides a Python client for the OmniPath web
service.")
- (license license:expat)))
+ (license license:expat))))
(define-public python-openai
(package
- branch python-team updated (f20935b523 -> 98ade1ed8f), guix-commits, 2025/01/06
- 02/14: gnu: python-trio-websocket: Add missing inputs., guix-commits, 2025/01/06
- 06/14: gnu: python-pypika-tortoise: Add missing input., guix-commits, 2025/01/06
- 10/14: gnu: python-flask-htpasswd: Update to 0.5.0., guix-commits, 2025/01/06
- 01/14: gnu: python-anndata: Update to 0.11.1., guix-commits, 2025/01/06
- 03/14: gnu: python-trio-websocket: Update to 0.11.1., guix-commits, 2025/01/06
- 04/14: gnu: python-fastapi-pagination-minimal: Update to 0.12.34., guix-commits, 2025/01/06
- 07/14: gnu: python-omnipath: Update to 1.0.8-0.3d16134.,
guix-commits <=
- 08/14: gnu: python-legacy-api-wrap: Update to 1.4.1., guix-commits, 2025/01/06
- 05/14: gnu: python-asgi-lifespan: Update to 2.1.0., guix-commits, 2025/01/06
- 12/14: gnu: Remove python-flask-basicauth., guix-commits, 2025/01/06
- 14/14: gnu: python-flask-assets: Update to 2.1.0-1.62efd23., guix-commits, 2025/01/06
- 13/14: gnu: python-webassets: Fix build., guix-commits, 2025/01/06
- 11/14: gnu: python-flask-login: Update to 0.6.3., guix-commits, 2025/01/06
- 09/14: gnu: python-scanpy: Update to 1.10.4., guix-commits, 2025/01/06