From c194fcd180268356df8eae8c315a566090234a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 19 Nov 2020 14:12:22 +0100 Subject: [PATCH] Manually deselect the xonsh tests to workaround broken automatic skip --- python-virtualenv.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 59dcb71..2e18c3f 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -133,7 +133,11 @@ unset SOURCE_DATE_EPOCH # - test_acquire_find_wheel.py (whole file) # Uses disabled functionalities around automatic updates: # - test_periodic_update.py (whole file) -%pytest -vv -k "not test_acquire_find_wheel and not test_periodic_update and not test_wheel_ and not test_download_ and not test_base_bootstrap_via_pip_invoke and not test_seed_link_via_app_data" +# Workaround xonsh tests not being skipped when xonsh is missing: +# - test_xonsh +# - https://github.com/pypa/virtualenv/issues/2014 +# - https://github.com/pypa/virtualenv/pull/2013 +%pytest -vv -k "not test_acquire_find_wheel and not test_periodic_update and not test_wheel_ and not test_download_ and not test_base_bootstrap_via_pip_invoke and not test_seed_link_via_app_data and not xonsh" rm -r tmp_path %endif