Upgrade gates from Python 3.8 to Python 3.10 (#3146)
* Upgrade from Python 3.8 to Python 3.10 * Update 2 more workflows --------- Co-authored-by: Kelly <kellyly@microsoft.com>
This commit is contained in:
Родитель
d5d4c09ebf
Коммит
5d45ae203e
|
@ -57,10 +57,10 @@ jobs:
|
|||
token: ${{ secrets.AZUREML_BOT_PAT }}
|
||||
path: ${{ env.wiki_dir }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $main_dir/$scripts_azureml_assets_dir -r $main_dir/$scripts_docs_dir/requirements.txt
|
||||
|
|
|
@ -57,10 +57,10 @@ jobs:
|
|||
fetch-depth: 0
|
||||
path: ${{ env.release_dir }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $main_dir/$scripts_azureml_assets_dir
|
||||
|
@ -223,10 +223,10 @@ jobs:
|
|||
token: ${{ secrets.AZUREML_BOT_PAT }}
|
||||
path: ${{ env.release_dir }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $main_dir/$scripts_azureml_assets_dir
|
||||
|
|
|
@ -70,10 +70,10 @@ jobs:
|
|||
separator: ','
|
||||
sha: ${{ env.merge_commit_hash || github.sha }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $scripts_azureml_assets_dir
|
||||
|
@ -119,10 +119,10 @@ jobs:
|
|||
with:
|
||||
forked-pr: ${{ needs.check-execution-context.outputs.forked_pr }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $scripts_azureml_assets_dir
|
||||
|
|
|
@ -48,10 +48,10 @@ jobs:
|
|||
files_separator: ','
|
||||
separator: ','
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Log in to Azure
|
||||
env:
|
||||
|
|
|
@ -41,10 +41,10 @@ jobs:
|
|||
uses: Azure/azureml-assets/.github/actions/clone-repo@main
|
||||
with:
|
||||
forked-pr: ${{ needs.check-execution-context.outputs.forked_pr }}
|
||||
- name: Use Python 3.8
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.8'
|
||||
python-version: '>=3.10'
|
||||
- name: Log in to Azure and create resources
|
||||
uses: ./.github/actions/create-azure-resources
|
||||
with:
|
||||
|
|
|
@ -68,10 +68,10 @@ jobs:
|
|||
separator: ','
|
||||
sha: ${{ env.merge_commit_hash || github.sha }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $scripts_azureml_assets_dir
|
||||
|
|
|
@ -40,10 +40,10 @@ jobs:
|
|||
files: |
|
||||
**/*.py
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r $scripts_validation_dir/requirements.txt
|
||||
|
|
|
@ -57,10 +57,10 @@ jobs:
|
|||
with:
|
||||
forked-pr: ${{ needs.check-execution-context.outputs.forked_pr }}
|
||||
|
||||
- name: Use Python 3.8 or newer
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '>=3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e $scripts_azureml_assets_dir -r $scripts_test_dir/requirements.txt
|
||||
|
|
|
@ -38,10 +38,10 @@ jobs:
|
|||
- name: Clone branch
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Use Python 3.8
|
||||
- name: Use Python 3.10 or newer
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '==3.8'
|
||||
python-version: '>=3.10'
|
||||
|
||||
- name: Create conda env
|
||||
run: |
|
||||
|
|
Загрузка…
Ссылка в новой задаче