From 3fd01c8f044458d8a23f372990afb3f3d62155e7 Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Mon, 10 Nov 2025 22:05:39 +0000 Subject: [PATCH 1/4] migrate to 310 for build/analyze --- eng/pipelines/templates/variables/globals.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index faa1609c97b8..58f4749d6c65 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -1,5 +1,5 @@ variables: - PythonVersion: '3.9' + PythonVersion: '3.10' skipComponentGovernanceDetection: true AzureSDKCondaChannel: https://azuresdkconda.blob.core.windows.net/channel1/ Package.EnableSBOMSigning: true From 9057c327b63e2adc2315a2c1788606e6fdea473a Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Mon, 10 Nov 2025 22:06:10 +0000 Subject: [PATCH 2/4] migrate to 310 for r build/analyze --- sdk/agentserver/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/agentserver/ci.yml b/sdk/agentserver/ci.yml index 64247d4dea21..4744814b750a 100644 --- a/sdk/agentserver/ci.yml +++ b/sdk/agentserver/ci.yml @@ -32,7 +32,6 @@ extends: TestProxy: true BuildDocs: true TestTimeoutInMinutes: 60 - PythonVersionForAnalyze: '3.10' # The job "Test ubuntu2404_pypy39" in the "python - agentserver" pipeline hangs and eventually times out. # Disable it until the issue is understood. MatrixConfigs: From 8d69a0cb06511d57a917544479b73ac982f3fa46 Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Mon, 10 Nov 2025 23:46:37 +0000 Subject: [PATCH 3/4] migrate to 3.10 for primary checks and the like --- eng/tools/azure-sdk-tools/azpysdk/mypy.py | 2 +- setup.cfg | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/eng/tools/azure-sdk-tools/azpysdk/mypy.py b/eng/tools/azure-sdk-tools/azpysdk/mypy.py index 24c21f83a3d6..d409fca3ebe2 100644 --- a/eng/tools/azure-sdk-tools/azpysdk/mypy.py +++ b/eng/tools/azure-sdk-tools/azpysdk/mypy.py @@ -14,7 +14,7 @@ from ci_tools.environment_exclusions import is_check_enabled, is_typing_ignored from ci_tools.logging import logger -PYTHON_VERSION = "3.9" +PYTHON_VERSION = "3.10" MYPY_VERSION = "1.14.1" ADDITIONAL_LOCKED_DEPENDENCIES = [ "types-chardet==5.0.4.6", diff --git a/setup.cfg b/setup.cfg index ad481747f45b..e85d2350ef69 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,6 @@ [tool:pytest] -norecursedirs = models \ No newline at end of file +norecursedirs = models + +[tool.mypy] +# Exclude any directory that starts with `venv` or `.venv` anywhere in the tree +exclude = "(^|/)(\.?venv[^/]*)(/|$)" \ No newline at end of file From 1e88f591397cf12bb08fe58f577160f6e8347e87 Mon Sep 17 00:00:00 2001 From: Scott Beddall Date: Tue, 11 Nov 2025 02:32:07 +0000 Subject: [PATCH 4/4] fix the blocking spelling errors. --- .vscode/cspell.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index f3507259eada..1ccbad188c69 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -356,6 +356,7 @@ "nbsp", "noarch", "NOPERM", + "norecursedirs", "northcentralus", "nspkg", "OAEP",