summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-03 10:51:28 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:17 +0200
commit0e246350336f68bc03f27b709cb6e765b160c8d2 (patch)
treece2caf4db9208501da5611a9f1dd5c57cc6f5311 /gnu
parent7c938c232ca94bc77b85b1cf738e0dc9fd932d7a (diff)
downloadguix-0e246350336f68bc03f27b709cb6e765b160c8d2.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm8
1 files 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))