[python] add hatch to test environment (PY-60410)

GitOrigin-RevId: 4f585c71390d8ad8c770156e62fed4d4c56f075f
This commit is contained in:
Vitaly Legchilkin
2025-02-12 12:13:34 +00:00
committed by intellij-monorepo-bot
parent 5a7a7c82e8
commit 59b842b72b
@@ -183,11 +183,11 @@ createPython("python3.11", "3.11",
listOf("python3.11", "black", "poetry", "uv", "joblib", "tensorflow"))
createPython("python3.12", "3.12",
listOf("teamcity-messages", "Twisted", "pytest", "poetry", "uv", "black>=23.11.0")
listOf("teamcity-messages", "Twisted", "pytest", "poetry", "uv", "hatch", "black>=23.11.0")
// TODO: maybe switch to optional dependency Twisted[windows-platform]
// https://docs.twisted.org/en/stable/installation/howto/optional.html
+ if (isWindows) listOf("pypiwin32") else listOf(), //win32api is required for pypiwin32
listOf("python3", "poetry", "uv", "python3.12", "messages", "twisted", "pytest", "black-fragments-formatting"))
listOf("python3", "poetry", "uv", "hatch", "python3.12", "messages", "twisted", "pytest", "black-fragments-formatting"))
// set CONDA_PATH to conda binary location to be able to run tests
createPython("conda", "Miniconda3-py312_25.1.1-0", listOf(), listOf("conda"), type = PythonType.CONDA)