1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Hugo Buddelmeijer
2026-02-23 18:04:04 +01:00
committed by Sharlatan Hellseher
parent 1df5e6bc26
commit 64362133de

View File

@@ -40217,17 +40217,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