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", 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 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/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: 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