Skip to content

Commit 6bfd630

Browse files
authored
Migrate to 3.10 for build and analyze (#43924)
* migrate to 310 for build/analyze * fix the blocking spelling errors from new checkname
1 parent fe956b3 commit 6bfd630

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.vscode/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@
356356
"nbsp",
357357
"noarch",
358358
"NOPERM",
359+
"norecursedirs",
359360
"northcentralus",
360361
"nspkg",
361362
"OAEP",

eng/pipelines/templates/variables/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables:
2-
PythonVersion: '3.9'
2+
PythonVersion: '3.10'
33
skipComponentGovernanceDetection: true
44
AzureSDKCondaChannel: https://azuresdkconda.blob.core.windows.net/channel1/
55
Package.EnableSBOMSigning: true

eng/tools/azure-sdk-tools/azpysdk/mypy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from ci_tools.environment_exclusions import is_check_enabled, is_typing_ignored
1515
from ci_tools.logging import logger
1616

17-
PYTHON_VERSION = "3.9"
17+
PYTHON_VERSION = "3.10"
1818
MYPY_VERSION = "1.14.1"
1919
ADDITIONAL_LOCKED_DEPENDENCIES = [
2020
"types-chardet==5.0.4.6",

sdk/agentserver/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ extends:
3232
TestProxy: true
3333
BuildDocs: true
3434
TestTimeoutInMinutes: 60
35-
PythonVersionForAnalyze: '3.10'
3635
# The job "Test ubuntu2404_pypy39" in the "python - agentserver" pipeline hangs and eventually times out.
3736
# Disable it until the issue is understood.
3837
MatrixConfigs:

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[tool:pytest]
2-
norecursedirs = models
2+
norecursedirs = models
3+
4+
[tool.mypy]
5+
# Exclude any directory that starts with `venv` or `.venv` anywhere in the tree
6+
exclude = "(^|/)(\.?venv[^/]*)(/|$)"

0 commit comments

Comments
 (0)