From 947938294ade6eb6b0bef0ea7aa43dd88efda162 Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Tue, 30 Jul 2024 13:57:24 +0200 Subject: [PATCH] Pycharm tests: add poetry GitOrigin-RevId: 513b7f0bc1d65fb7cca0c6fe81f96175fac5d05f --- python/setup-test-environment/build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/setup-test-environment/build.gradle.kts b/python/setup-test-environment/build.gradle.kts index ba0b98ec4bec..152de29e741a 100644 --- a/python/setup-test-environment/build.gradle.kts +++ b/python/setup-test-environment/build.gradle.kts @@ -157,15 +157,15 @@ createPython("python3.10", "3.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")) + listOf("black == 23.1.0", "joblib", "tensorflow", "poetry"), + listOf("python3.11", "black", "poetry", "joblib", "tensorflow")) createPython("python3.12", "3.12", - listOf("teamcity-messages", "Twisted", "pytest") + listOf("teamcity-messages", "Twisted", "pytest", "poetry") // 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", "pytest")) + listOf("python3", "poetry", "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)