From 2e52de265aa471ca83c88b50d19d57afd9052e30 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Wed, 5 Apr 2023 21:43:51 -0700 Subject: [PATCH] Upgrade remainding python to 3.11 removing 3.7 (#15321) ### Description Upgrade remainding python to 3.11 removing 3.7 ### Motivation and Context --- pyproject.toml | 2 +- .../azure-pipelines/templates/py-package-smoking-test.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fdee3e398b..13f3251208 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ reportMissingImports = false [tool.ruff] # NOTE: Do not create an exclude list. Edit .lintrunner.toml instead -target-version = "py37" +target-version = "py38" select = [ "E", # pycodestyle "F", # Pyflakes diff --git a/tools/ci_build/github/azure-pipelines/templates/py-package-smoking-test.yml b/tools/ci_build/github/azure-pipelines/templates/py-package-smoking-test.yml index b9f9898551..cee3bd9c9e 100644 --- a/tools/ci_build/github/azure-pipelines/templates/py-package-smoking-test.yml +++ b/tools/ci_build/github/azure-pipelines/templates/py-package-smoking-test.yml @@ -28,6 +28,8 @@ jobs: PythonVersion: '3.9' Python310: PythonVersion: '3.10' + Python311: + PythonVersion: '3.11' steps: - checkout: none