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

commit 1d47bd3f98e28b0f7ce2e7772d1ebbe76da97b38
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Mon Feb 23 18:04:04 2026 +0100

    gnu: python-virtualenv: Fix build.
    
    The test_build_c_ext.py test explicitly checks for >= 3.12 to decide
    to access the internet.
    
    * gnu/packages/python-xyz.scm (python-virtualenv): Fix build.
    [arguments]<#:test-flags>: Ignore internet-requiring test.
    
    Change-Id: I4c48f7820ef222dd7deb334334558850b7c79b04
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 59dde3c874..3f1ce9f4f8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39867,17 +39867,19 @@ e.g. filters, callbacks and errbacks can all be 
promises.")
     (arguments
      (list
       #:test-flags
-      #~(list "-k" (string-join
-                    (list
-                     ;; These tests require Internet access.
-                     "not test_seed_link_via_app_data"
-                     ;; AssertionError: assert 'python' in ['python3',
-                     ;; 'python3.11'].
-                     ;;
-                     ;; PythonInfo() returns: 'system_executable':
-                     ;; '/gnu/store/...-python-wrapper-3.11.11/bin/python'
-                     "test_fallback_existent_system_executable")
-                    " and not "))))
+      #~(list "-k"
+              (string-join
+               (list
+                ;; AssertionError: assert 'python' in ['python3', 
'python3.11'].
+                "not test_seed_link_via_app_data"
+                ;;
+                ;; These tests require Internet access.
+                "test_build_c_ext.py"
+                ;;
+                ;; PythonInfo() returns: 'system_executable':
+                ;; '/gnu/store/...-python-wrapper-3.11.11/bin/python'
+                "test_fallback_existent_system_executable")
+               " and not "))))
     (native-inputs
      (list python-flaky
            python-hatch-vcs

Reply via email to