@@ -99,6 +99,10 @@ def test_uv_venv_spec_major_only(tox_project: ToxProjectCreator) -> None:
9999 result .assert_success ()
100100
101101
102+ @pytest .mark .xfail (
103+ sys .platform == "win32" ,
104+ reason = "Bug https://github.com/tox-dev/tox-uv/issues/193 https://github.com/astral-sh/uv/issues/14239" ,
105+ )
102106@pytest .mark .parametrize (
103107 ("pypy" , "expected_uv_pypy" ),
104108 [
@@ -133,7 +137,7 @@ def test_uv_venv_spec_pypy(
133137 project = tox_project ({"tox.ini" : f"[tox]\n env_list = { pypy } " })
134138 try :
135139 result = project .run ("config" , "-vv" )
136- except tox .tox_env .errors .Skip :
140+ except tox .tox_env .errors .Skip : # pragma: win32 no cover
137141 stdout , _ = capfd .readouterr ()
138142 else : # pragma: no cover (PyPy might not be available on the system)
139143 stdout = result .out
@@ -208,25 +212,39 @@ def other_interpreter_exe() -> pathlib.Path: # pragma: no cover
208212 return base_python
209213
210214
211- def test_uv_venv_spec_abs_path (tox_project : ToxProjectCreator , other_interpreter_exe : pathlib .Path ) -> None :
215+ @pytest .mark .xfail (
216+ sys .platform == "win32" ,
217+ reason = "Bug https://github.com/tox-dev/tox-uv/issues/193 https://github.com/astral-sh/uv/issues/14239" ,
218+ )
219+ def test_uv_venv_spec_abs_path (
220+ tox_project : ToxProjectCreator , other_interpreter_exe : pathlib .Path
221+ ) -> None : # pragma: win32 no cover
212222 project = tox_project ({"tox.ini" : f"[testenv]\n package=skip\n base_python={ other_interpreter_exe } " })
213223 result = project .run ("-vv" )
214224 result .assert_success ()
215225
216226
227+ @pytest .mark .xfail (
228+ sys .platform == "win32" ,
229+ reason = "Bug https://github.com/tox-dev/tox-uv/issues/193 https://github.com/astral-sh/uv/issues/14239" ,
230+ )
217231def test_uv_venv_spec_abs_path_conflict_ver (
218232 tox_project : ToxProjectCreator , other_interpreter_exe : pathlib .Path
219- ) -> None :
233+ ) -> None : # pragma: win32 no cover
220234 # py27 is long gone, but still matches the testenv capture regex, so we know it will fail
221235 project = tox_project ({"tox.ini" : f"[testenv:py27]\n package=skip\n base_python={ other_interpreter_exe } " })
222236 result = project .run ("-vv" , "-e" , "py27" )
223237 result .assert_failed ()
224238 assert f"failed with env name py27 conflicting with base python { other_interpreter_exe } " in result .out
225239
226240
241+ @pytest .mark .xfail (
242+ sys .platform == "win32" ,
243+ reason = "Bug https://github.com/tox-dev/tox-uv/issues/193 https://github.com/astral-sh/uv/issues/14239" ,
244+ )
227245def test_uv_venv_spec_abs_path_conflict_impl (
228246 tox_project : ToxProjectCreator , other_interpreter_exe : pathlib .Path
229- ) -> None :
247+ ) -> None : # pragma: win32 no cover
230248 env = "pypy" if platform .python_implementation () == "CPython" else "cpython"
231249 project = tox_project ({"tox.ini" : f"[testenv:{ env } ]\n package=skip\n base_python={ other_interpreter_exe } " })
232250 result = project .run ("-vv" , "-e" , env )
0 commit comments