rekado pushed a commit to branch wip-python-team
in repository guix.

commit 0e246350336f68bc03f27b709cb6e765b160c8d2
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Fri May 3 10:51:28 2024 +0200

    gnu: python-omnipath: Update to 1.0.8.
    
    * gnu/packages/python-web.scm (python-omnipath): Update to 1.0.8.
    [arguments]: Disable tests that need internet access.
    [native-inputs]: Add python-pytest-socket.
    
    Change-Id: Ib5856a1a25835d43918d9fe565d0262dded70eed
---
 gnu/packages/python-web.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e1084ef103..c04f100c1c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2084,16 +2084,19 @@ is Python’s.")
 (define-public python-omnipath
   (package
     (name "python-omnipath")
-    (version "1.0.6")
+    (version "1.0.8")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "omnipath" version))
               (sha256
                (base32
-                "01hmcp1202g5drs8dkxnyyb5v14g503dj4zfiqypghmigi9ipw86"))))
+                "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
@@ -2120,6 +2123,7 @@ is Python’s.")
            python-pre-commit
            python-pytest
            python-pytest-mock
+           python-pytest-socket
            python-requests-mock
            python-setuptools-scm
            python-tox))

Reply via email to