Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eng/pipelines/autorest_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
displayName: 'Run AutoRest'

pool:
name: azsdk-pool-mms-ubuntu-2004-general
vmImage: 'ubuntu-20.04'
name: azsdk-pool
vmImage: 'ubuntu-22.04'

steps:
- task: NodeTool@0
Expand Down
52 changes: 26 additions & 26 deletions eng/pipelines/templates/jobs/smoke.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- job: smoke_test_eligibility
displayName: Check Smoke Test Eligibility
pool:
name: azsdk-pool-mms-ubuntu-2004-general
image: azsdk-pool-mms-ubuntu-2004-1espt
name: $(LINUXPOOL)
image: $(LINUXVMIMAGE)
os: linux
steps:
- ${{ if and(ne(variables['Skip.Release'], 'true'), ne(parameters.Artifact.skipPublishPackage, 'true')) }}:
Expand All @@ -41,15 +41,15 @@ jobs:
condition: and(succeeded(), eq(dependencies.smoke_test_eligibility.outputs['output_eligibility.RunSmokeTests'], true))
strategy:
matrix:
Python_38_Linux (AzureCloud):
PythonVersion: '3.8'
Pool: "azsdk-pool-mms-ubuntu-2004-general"
OSVmImage: azsdk-pool-mms-ubuntu-2004-1espt
Python_310_Linux (AzureCloud):
Comment thread
scbedd marked this conversation as resolved.
PythonVersion: '3.10'
Pool: $(LINUXPOOL)
OSVmImage: $(LINUXVMIMAGE)
${{ if eq(parameters.Daily, true) }}:
Python_37_Linux (AzureCloud):
PythonVersion: '3.7'
Pool: azsdk-pool-mms-ubuntu-2004-general
OSVmImage: azsdk-pool-mms-ubuntu-2004-1espt
Python_39_Linux (AzureCloud):
PythonVersion: '3.9'
Pool: $(LINUXPOOL)
OSVmImage: $(LINUXVMIMAGE)

pool:
name: $(Pool)
Expand Down Expand Up @@ -79,14 +79,14 @@ jobs:
condition: and(succeeded(), eq(dependencies.smoke_test_eligibility.outputs['output_eligibility.RunSmokeTests'], true))
strategy:
matrix:
Python_37_Windows (AzureCloud):
PythonVersion: '3.7'
Pool: azsdk-pool-mms-win-2022-general
OSVmImage: azsdk-pool-mms-win-2022-1espt
Python_38_Windows (AzureCloud):
PythonVersion: '3.8'
Pool: azsdk-pool-mms-win-2022-general
OSVmImage: azsdk-pool-mms-win-2022-1espt
Python_310_Windows (AzureCloud):
PythonVersion: '3.10'
Pool: $(LINUXPOOL)
OSVmImage: $(LINUXVMIMAGE)
Python_39_Windows (AzureCloud):
PythonVersion: '3.9'
Pool: $(LINUXPOOL)
OSVmImage: $(LINUXVMIMAGE)

pool:
name: $(Pool)
Expand All @@ -113,14 +113,14 @@ jobs:
condition: and(succeeded(), eq(dependencies.smoke_test_eligibility.outputs['output_eligibility.RunSmokeTests'], true))
strategy:
matrix:
Python_37_Mac (AzureCloud):
PythonVersion: '3.7'
Pool: Azure Pipelines
OSVmImage: macos-latest
Python_38_Mac (AzureCloud):
PythonVersion: '3.8'
Pool: Azure Pipelines
OSVmImage: macos-latest
Python_310_Mac (AzureCloud):
PythonVersion: '3.10'
Pool: $(MACPOOL)
OSVmImage: $(MACVMIMAGE)
Python_39_Mac (AzureCloud):
PythonVersion: '3.9'
Pool: $(MACPOOL)
OSVmImage: $(MACVMIMAGE)

pool:
name: $(Pool)
Expand Down
8 changes: 4 additions & 4 deletions eng/pipelines/templates/jobs/update_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ variables:
skipComponentGovernanceDetection: true

pool:
name: azsdk-pool-mms-ubuntu-2204-general
vmImage: 'ubuntu-22.04'
name: $(LINUXPOOL)
vmImage: $(LINUXVMIMAGE)

steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
displayName: 'Use Python 3.9'
inputs:
versionSpec: 3.8
versionSpec: 3.9

- script: |
python3 -m pip install -e $(Build.SourcesDirectory)/tools/azure-sdk-tools[ghtools]
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/stages/platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ubuntu-20.04": { "OSVmImage": "env:LINUXVMIMAGE", "Pool": "env:LINUXPOOL" },
"windows-2022": { "OSVmImage": "env:WINDOWSVMIMAGE", "Pool": "env:WINDOWSPOOL" }
},
"PythonVersion": [ "3.8", "3.10", "3.12" ],
"PythonVersion": [ "3.10", "3.12" ],
"CoverageArg": "--disablecov",
"TestSamples": "false"
},
Expand Down
8 changes: 2 additions & 6 deletions eng/pipelines/templates/stages/python-analyze-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@ stages:
- job: 'Analyze'
timeoutInMinutes: 90

variables:
- name: PythonVersion
value: '3.8'

pool:
name: $(LINUXPOOL)
image: $(LINUXVMIMAGE)
os: linux

steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
displayName: 'Use Python 3.9'
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
- script: |
python -m pip install -r eng/ci_tools.txt
displayName: 'Prep Environment'
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/run_black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ parameters:

steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
displayName: 'Use Python 3.9'
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
condition: succeededOrFailed()

- script: |
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/run_mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ parameters:
# Please use `$(TargetingString)` to refer to the python packages glob string. This variable is set from resolve-package-targeting.yml.
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
displayName: 'Use Python 3.9'
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
condition: and(succeededOrFailed(), ne(variables['Skip.MyPy'],'true'))

- script: |
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/run_pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ parameters:
# Please use `$(TargetingString)` to refer to the python packages glob string. This variable is set from resolve-package-targeting.yml.
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
displayName: 'Use Python 3.9'
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
condition: and(succeededOrFailed(), ne(variables['Skip.Pylint'],'true'))

- script: |
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/steps/run_pyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ parameters:
# Please use `$(TargetingString)` to refer to the python packages glob string. This variable is set from resolve-package-targeting.yml.
steps:
- task: UsePythonVersion@0
displayName: 'Use Python 3.8'
displayName: 'Use Python 3.9'
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
condition: and(succeededOrFailed(), or(ne(variables['Skip.Pyright'],'true'), ne(variables['Skip.Verifytypes'],'true')))

- script: |
Expand Down
2 changes: 1 addition & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"reportTypeCommentUsage": true,
"reportMissingImports": false,
"pythonVersion": "3.8"
"pythonVersion": "3.9"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"matrix": {
"Agent": {
"ubuntu-20.04": {
"ubuntu-22.04": {
"OSVmImage": "env:LINUXVMIMAGE",
"Pool": "env:LINUXPOOL",
"COMMUNICATION_SKIP_CAPABILITIES_LIVE_TEST": "true"
Expand All @@ -24,7 +24,7 @@
"COMMUNICATION_SKIP_CAPABILITIES_LIVE_TEST": "false"
}
},
"PythonVersion": ["pypy3.9", "3.8", "3.10", "3.11"],
"PythonVersion": ["pypy3.9", "3.10", "3.11"],
"CoverageArg": "--disablecov",
"TestSamples": "false"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.8, 3.9, 3.10, 3.11)
displayName: LanguageVersion (3.9, 3.10, 3.11)
type: string
default: '3.11'
- name: PackageVersions
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/corehttp/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.8, 3.9, 3.10, 3.11, 3.12)
displayName: LanguageVersion (3.9, 3.10, 3.11, 3.12)
type: string
default: '3.11'
- name: PackageVersions
Expand Down
9 changes: 0 additions & 9 deletions sdk/cosmos/cosmos-emulator-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@
"windows-2022": { "OSVmImage": "env:WINDOWSVMIMAGE", "Pool": "env:WINDOWSPOOL" }
},
"EmulatorConfig": {
"Emulator Tests Python 3.8": {
"PythonVersion": "3.8",
"CoverageArg": "--disablecov",
"TestSamples": "false",
"ToxTestEnv": "'whl,sdist'",
"ACCOUNT_HOST": "https://localhost:8081/",
"ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"Skip.Analyze": "true"
},
"Emulator Tests Python 3.9": {
"PythonVersion": "3.9",
"CoverageArg": "--disablecov",
Expand Down
8 changes: 0 additions & 8 deletions sdk/cosmos/live-platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,6 @@
},
{
"WindowsConfig": {
"Windows2022_38_long": {
"OSVmImage": "env:WINDOWSVMIMAGE",
"Pool": "env:WINDOWSPOOL",
"PythonVersion": "3.8",
"CoverageArg": "--disablecov",
"TestSamples": "false",
"TestMarkArgument": "cosmosLong"
},
"Windows2022_310_long": {
"OSVmImage": "env:WINDOWSVMIMAGE",
"Pool": "env:WINDOWSPOOL",
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.7, 3.8, 3.9, 3.10, 3.11)
displayName: LanguageVersion (3.9, 3.10, 3.11)
type: string
default: '3.11'
- name: PackageVersions
Expand Down
4 changes: 2 additions & 2 deletions sdk/identity/platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"include": [
{
"Config": {
"ubuntu_20.04_3.8_msal": {
"ubuntu_20.04_3.9_msal": {
"OSVmImage": "env:LINUXVMIMAGE",
"Pool": "env:LINUXPOOL",
"PythonVersion": "3.8",
"PythonVersion": "3.9",
"CoverageArg": "--disablecov",
"InjectedPackages": "git+https://github.com/AzureAD/microsoft-authentication-library-for-python@dev",
"UnsupportedToxEnvironments": "mindependency,latestdependency"
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-secrets/pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"reportMissingImports": false,
"pythonVersion": "3.8",
"pythonVersion": "3.9",
"exclude": [
"**/_generated/**"
]
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.7, 3.8, 3.9, 3.10, 3.11)
displayName: LanguageVersion (3.9, 3.10, 3.11)
type: string
default: '3.11'
- name: PackageVersions
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-blob/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.7, 3.8, 3.9, 3.10, 3.11)
displayName: LanguageVersion (3.9, 3.10, 3.11)
type: string
default: '3.11'
- name: PackageVersions
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-file-datalake/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.7, 3.8, 3.9, 3.10, 3.11)
displayName: LanguageVersion (3.9, 3.10, 3.11)
type: string
default: '3.11'
- name: PackageVersions
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/azure-storage-file-share/perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
- name: LanguageVersion
displayName: LanguageVersion (3.7, 3.8, 3.9, 3.10, 3.11)
displayName: LanguageVersion (3.9, 3.10, 3.11)
type: string
default: '3.11'
- name: PackageVersions
Expand All @@ -14,7 +14,7 @@ parameters:
- name: Arguments
displayName: Arguments (regex of arguments to run)
type: string
default: '(10240)|(10485760)|(1073741824)'
default: '(10240)|(10485760)|(1073741824)'
- name: Iterations
displayName: Iterations (times to run each test)
type: number
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/platform-matrix-all-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Ubuntu-20.04": { "OSVmImage": "env:LINUXVMIMAGE", "Pool": "env:LINUXPOOL" },
"windows-2022": { "OSVmImage": "env:WINDOWSVMIMAGE", "Pool": "env:WINDOWSPOOL" }
},
"PythonVersion": [ "3.8", "3.9", "3.10"],
"PythonVersion": [ "3.9", "3.10"],
"CoverageArg": "--disablecov",
"TestSamples": "false",
"AZURE_LIVE_TEST_SERVICE_VERSION": [
Expand Down
Loading