chore: remove some GraalPy Windows workarounds. (#2501)
GraalPy made a release where pytest works on Windows
This commit is contained in:
@@ -63,9 +63,7 @@ def test(tmp_path, build_frontend_env):
|
|||||||
# the 'false ||' bit is to ensure this command runs in a shell on
|
# the 'false ||' bit is to ensure this command runs in a shell on
|
||||||
# mac/linux.
|
# mac/linux.
|
||||||
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
||||||
# pytest fails on GraalPy 24.2.0 on Windows so we skip it there
|
"CIBW_TEST_COMMAND_WINDOWS": "pytest {project}/test",
|
||||||
# until https://github.com/oracle/graalpython/issues/490 is fixed
|
|
||||||
"CIBW_TEST_COMMAND_WINDOWS": "where graalpy || pytest {project}/test",
|
|
||||||
**build_frontend_env,
|
**build_frontend_env,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
+4
-12
@@ -81,9 +81,7 @@ def test(tmp_path):
|
|||||||
# the 'false ||' bit is to ensure this command runs in a shell on
|
# the 'false ||' bit is to ensure this command runs in a shell on
|
||||||
# mac/linux.
|
# mac/linux.
|
||||||
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
||||||
# pytest fails on GraalPy 24.2.0 on Windows so we skip it there
|
"CIBW_TEST_COMMAND_WINDOWS": "COLOR 00 || pytest {project}/test",
|
||||||
# until https://github.com/oracle/graalpython/issues/490 is fixed
|
|
||||||
"CIBW_TEST_COMMAND_WINDOWS": "COLOR 00 || where graalpy || pytest {project}/test",
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -104,9 +102,7 @@ def test_extras_require(tmp_path):
|
|||||||
# the 'false ||' bit is to ensure this command runs in a shell on
|
# the 'false ||' bit is to ensure this command runs in a shell on
|
||||||
# mac/linux.
|
# mac/linux.
|
||||||
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
||||||
# pytest fails on GraalPy 24.2.0 on Windows so we skip it there
|
"CIBW_TEST_COMMAND_WINDOWS": "COLOR 00 || pytest {project}/test",
|
||||||
# until https://github.com/oracle/graalpython/issues/490 is fixed
|
|
||||||
"CIBW_TEST_COMMAND_WINDOWS": "COLOR 00 || where graalpy || pytest {project}/test",
|
|
||||||
},
|
},
|
||||||
single_python=True,
|
single_python=True,
|
||||||
)
|
)
|
||||||
@@ -138,9 +134,7 @@ def test_dependency_groups(tmp_path):
|
|||||||
# the 'false ||' bit is to ensure this command runs in a shell on
|
# the 'false ||' bit is to ensure this command runs in a shell on
|
||||||
# mac/linux.
|
# mac/linux.
|
||||||
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
"CIBW_TEST_COMMAND": f"false || {utils.invoke_pytest()} {{project}}/test",
|
||||||
# pytest fails on GraalPy 24.2.0 on Windows so we skip it there
|
"CIBW_TEST_COMMAND_WINDOWS": "COLOR 00 || pytest {project}/test",
|
||||||
# until https://github.com/oracle/graalpython/issues/490 is fixed
|
|
||||||
"CIBW_TEST_COMMAND_WINDOWS": "COLOR 00 || where graalpy || pytest {project}/test",
|
|
||||||
},
|
},
|
||||||
single_python=True,
|
single_python=True,
|
||||||
)
|
)
|
||||||
@@ -230,9 +224,7 @@ def test_test_sources(tmp_path):
|
|||||||
project_dir,
|
project_dir,
|
||||||
add_env={
|
add_env={
|
||||||
"CIBW_TEST_REQUIRES": "pytest",
|
"CIBW_TEST_REQUIRES": "pytest",
|
||||||
# pytest fails on GraalPy 24.2.0 on Windows so we skip it there
|
"CIBW_TEST_COMMAND_WINDOWS": "pytest",
|
||||||
# until https://github.com/oracle/graalpython/issues/490 is fixed
|
|
||||||
"CIBW_TEST_COMMAND_WINDOWS": "where graalpy || pytest",
|
|
||||||
"CIBW_TEST_COMMAND": utils.invoke_pytest(),
|
"CIBW_TEST_COMMAND": utils.invoke_pytest(),
|
||||||
"CIBW_TEST_SOURCES": "test",
|
"CIBW_TEST_SOURCES": "test",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user