[python] EnvTests. Drop Python 2.7 environment

GitOrigin-RevId: 46ed7913274e805917da99a3a2e6698cb7be5fa8
This commit is contained in:
Kseniia Iashina
2024-02-05 12:09:48 +01:00
committed by intellij-monorepo-bot
parent b432d3dc80
commit 594de63aed

View File

@@ -152,22 +152,18 @@ createPython("python3.9", "3.9",
listOf("python3.9", "python3", "pytest", "xdist", "packaging"))
createPython("python3.10", "3.10",
listOf(), listOf("python3.10"))
listOf("untangle"), listOf("python3.10", "untangle"))
createPython("python3.11", "3.11",
listOf("black == 23.1.0", "joblib", "tensorflow"),
listOf("python3.11", "black", "joblib", "tensorflow"))
createPython("python3.12", "3.12",
listOf("teamcity-messages", "Twisted")
listOf("teamcity-messages", "Twisted", "pytest")
// 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", "python3.12", "messages", "twisted"))
createPython("py27", "2.7",
listOf("tox>=3.8.3", "nose", "pytest", "behave", "teamcity-messages", "untangle"),
listOf("python2.7", "nose", "pytest", "behave", "packaging", "tox", "django-nose", "untangle", "messages"))
listOf("python3", "python3.12", "messages", "twisted", "pytest"))
// set CONDA_PATH to conda binary location to be able to run tests
createPython("conda", "Miniconda3-py310_23.3.1-0", listOf(), listOf("conda"), type = PythonType.CONDA)