Skip to content

Commit

Permalink
Add Python 3.11 to Build Matrix (Azure#27096)
Browse files Browse the repository at this point in the history
* updates for py311
* update the titling of the 311 base config
  • Loading branch information
scbedd authored Oct 27, 2022
1 parent 5aa1563 commit 738b7f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"Agent": {
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }
},
"PythonVersion": [ "3.9" ]
"PythonVersion": [ "3.10" ]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" },
"macos-11": { "OSVmImage": "macos-11", "Pool": "Azure Pipelines" }
},
"PythonVersion": [ "pypy3.7", "3.8"],
"PythonVersion": [ "pypy3.7", "3.8", "3.10"],
"CoverageArg": "--disablecov"
},
"include": [
{
"Config": {
"Ubuntu2004_310": {
"Ubuntu2004_311": {
"OSVmImage": "MMSUbuntu20.04",
"Pool": "azsdk-pool-mms-ubuntu-2004-general",
"PythonVersion": "3.10.4",
"PythonVersion": "3.11.0",
"CoverageArg": "--disablecov",
"TestSamples": "false"
}
Expand Down
6 changes: 3 additions & 3 deletions eng/pipelines/templates/stages/platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" },
"macos-11": { "OSVmImage": "macos-11", "Pool": "Azure Pipelines" }
},
"PythonVersion": [ "pypy3.7", "3.7", "3.8" ],
"PythonVersion": [ "pypy3.7", "3.7", "3.8", "3.9", "3.10" ],
"CoverageArg": "--disablecov",
"TestSamples": "false"
},
Expand All @@ -28,10 +28,10 @@
},
{
"Config": {
"Ubuntu2004_310": {
"Ubuntu2004_311": {
"OSVmImage": "MMSUbuntu20.04",
"Pool": "azsdk-pool-mms-ubuntu-2004-general",
"PythonVersion": "3.10.4",
"PythonVersion": "3.11.0",
"CoverageArg": "--disablecov",
"TestSamples": "false"
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/devops_tasks/install_python_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

MAX_INSTALLER_RETRY = 3
CURRENT_UBUNTU_VERSION = "20.04" # full title is ubuntu-20.04
MAX_PRECACHED_VERSION = "3.9.0"
MAX_PRECACHED_VERSION = "3.10.0"

UNIX_INSTALL_ARRAY = ["sh", "setup.sh"]
WIN_INSTALL_ARRAY = ["pwsh", "setup.ps1"]
Expand Down

0 comments on commit 738b7f7

Please sign in to comment.