Skip to content

Commit

Permalink
Update GitHub actions to Python 3.10 - first batch (#2913)
Browse files Browse the repository at this point in the history
* Update GitHub actions to Python 3.10 - first batch
  • Loading branch information
jeff-shepherd authored Dec 16, 2023
1 parent 4c80148 commit 7915b1f
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: azure login
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: azure login
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sdk-assets-component-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: azure login
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sdk-assets-data-working_with_mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: azure login
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sdk-assets-environment-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: azure login
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sdk-assets-model-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: azure login
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install forecasting reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- sdk/python/dev-requirements.txt
- infra/bootstrapping/**
- sdk/python/setup.sh

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -31,7 +32,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
Expand Down
1 change: 0 additions & 1 deletion sdk/python/forecasting-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
# This file is deprecated and will be removed when
# metrics package will be able to evaluate forecasting models.
azureml-metrics>=0.0.6.post1
scikit-learn>=0.19.0,<0.23.0
arch<=5.3.1
statsmodels>=0.11.0,<0.13.5
2 changes: 1 addition & 1 deletion sdk/python/notebooks_config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ USE_FORECAST_REQUIREMENTS = 0
COMPUTE_NAMES = forecast-step-cluster-v2

[auto-ml-forecasting-github-dau]
USE_FORECAST_REQUIREMENTS = 0
USE_FORECAST_REQUIREMENTS = 1
COMPUTE_NAMES = github-cluster-sdkv2

[automl-forecasting-orange-juice-sales-mlflow]
Expand Down
5 changes: 3 additions & 2 deletions sdk/python/readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def write_notebook_workflow(
- infra/bootstrapping/**
- sdk/python/setup.sh\n"""
if is_featurestore_sample:
workflow_yaml += f""" - sdk/python/featurestore_sample
workflow_yaml += f""" - sdk/python/featurestore_sample"""
workflow_yaml += f"""
concurrency:
group: {GITHUB_CONCURRENCY_GROUP}
cancel-in-progress: true
Expand All @@ -252,7 +253,7 @@ def write_notebook_workflow(
- name: setup python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt{mlflow_import}{forecast_import}
- name: azure login
Expand Down

0 comments on commit 7915b1f

Please sign in to comment.