From da01f678cc9327f0dcc51d6ee6521a7f52cd026b Mon Sep 17 00:00:00 2001 From: mawl Date: Tue, 19 Sep 2023 11:22:56 +0200 Subject: [PATCH] feat: Add Python 3.11 to list of available Python versions Currently Python 3.11 isn't in the list of available Python versions. This commit extends the list of versions and sets 3.11 as default version. Signed-off-by: mawl --- plugins/package-managers/python/src/main/kotlin/Pip.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/package-managers/python/src/main/kotlin/Pip.kt b/plugins/package-managers/python/src/main/kotlin/Pip.kt index 18b45fb8d1120..f01bc7bff4acb 100644 --- a/plugins/package-managers/python/src/main/kotlin/Pip.kt +++ b/plugins/package-managers/python/src/main/kotlin/Pip.kt @@ -39,8 +39,8 @@ import org.ossreviewtoolkit.utils.ort.showStackTrace private const val OPTION_OPERATING_SYSTEM_DEFAULT = "linux" private val OPERATING_SYSTEMS = listOf(OPTION_OPERATING_SYSTEM_DEFAULT, "macos", "windows") -private const val OPTION_PYTHON_VERSION_DEFAULT = "3.10" -private val PYTHON_VERSIONS = listOf("2.7", "3.6", "3.7", "3.8", "3.9", OPTION_PYTHON_VERSION_DEFAULT) +private const val OPTION_PYTHON_VERSION_DEFAULT = "3.11" +private val PYTHON_VERSIONS = listOf("2.7", "3.6", "3.7", "3.8", "3.9", "3.10", OPTION_PYTHON_VERSION_DEFAULT) /** * The [PIP](https://pip.pypa.io/) package manager for Python. Also see