From 76e5213154c054ce6af00116b5b91e1570bd517a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 23:43:27 +0000 Subject: [PATCH 1/2] build(deps): bump the pip-minor-patch-updates group across 2 directories with 7 updates Bumps the pip-minor-patch-updates group with 3 updates in the / directory: [mypy](https://github.com/python/mypy), [pytest](https://github.com/pytest-dev/pytest) and [ruff](https://github.com/astral-sh/ruff). Bumps the pip-minor-patch-updates group with 4 updates in the /src/sample_pytorch_gpu_project/.devcontainer directory: [torch](https://github.com/pytorch/pytorch), [torchvision](https://github.com/pytorch/vision), [mlflow](https://github.com/mlflow/mlflow) and [azureml-mlflow](https://github.com/Azure/MachineLearningNotebooks). Updates `mypy` from 1.11.2 to 1.13.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.13.0) Updates `pytest` from 8.3.3 to 8.3.4 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4) Updates `ruff` from 0.6.8 to 0.8.1 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.6.8...0.8.1) Updates `torch` from 2.4.1 to 2.5.1 - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/compare/v2.4.1...v2.5.1) Updates `torchvision` from 0.19.1 to 0.20.1 - [Release notes](https://github.com/pytorch/vision/releases) - [Commits](https://github.com/pytorch/vision/compare/v0.19.1...v0.20.1) Updates `mlflow` from 2.16.2 to 2.18.0 - [Release notes](https://github.com/mlflow/mlflow/releases) - [Changelog](https://github.com/mlflow/mlflow/blob/master/CHANGELOG.md) - [Commits](https://github.com/mlflow/mlflow/compare/v2.16.2...v2.18.0) Updates `azureml-mlflow` from 1.57.0.post1 to 1.58.0.post3 - [Release notes](https://github.com/Azure/MachineLearningNotebooks/releases) - [Commits](https://github.com/Azure/MachineLearningNotebooks/commits) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pip-minor-patch-updates - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: pip-minor-patch-updates - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pip-minor-patch-updates - dependency-name: torch dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-minor-patch-updates - dependency-name: torchvision dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-minor-patch-updates - dependency-name: mlflow dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-minor-patch-updates - dependency-name: azureml-mlflow dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-minor-patch-updates ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 6 +++--- .../.devcontainer/requirements.txt | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index abf525b..57aecde 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ -mypy==1.11.2 -pytest==8.3.3 +mypy==1.13.0 +pytest==8.3.4 pre-commit==4.0.1 pytest-cov==6.0.0 -ruff==0.6.8 +ruff==0.8.1 diff --git a/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt b/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt index 098f19c..1acebd0 100644 --- a/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt +++ b/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt @@ -1,5 +1,5 @@ -torch==2.4.1 -torchvision==0.19.1 +torch==2.5.1 +torchvision==0.20.1 # use this below if you want to use torch 1.13.1 instead. # you need --extra-index-url flag as stated in https://pytorch.org/get-started/previous-versions/#linux-and-windows-1 # torch==1.13.1+cu117 @@ -7,5 +7,5 @@ torchvision==0.19.1 # --extra-index-url https://download.pytorch.org/whl/cu117 # the below are used by AML, can be deleted if not using AML -mlflow==2.16.2 -azureml-mlflow==1.57.0.post1 \ No newline at end of file +mlflow==2.18.0 +azureml-mlflow==1.58.0.post3 \ No newline at end of file From ce04390d658fc07c74ee853278ad42f6233e1f86 Mon Sep 17 00:00:00 2001 From: Kosuke Fujimoto Date: Fri, 6 Dec 2024 22:33:27 +0900 Subject: [PATCH 2/2] update libary version to udpate conflict. update base tool env to py3.11 --- .azuredevops/ado-ci-pipeline-ms-hosted.yml | 4 ++-- .azuredevops/ado-ci-pipeline-self-hosted.yml | 4 ++-- .github/workflows/ci.yaml | 4 ++-- .../.devcontainer/requirements.txt | 10 ++-------- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.azuredevops/ado-ci-pipeline-ms-hosted.yml b/.azuredevops/ado-ci-pipeline-ms-hosted.yml index 4a9cb69..2c4a3d1 100644 --- a/.azuredevops/ado-ci-pipeline-ms-hosted.yml +++ b/.azuredevops/ado-ci-pipeline-ms-hosted.yml @@ -19,9 +19,9 @@ pool: steps: - task: UsePythonVersion@0 - displayName: "Use Python 3.9" + displayName: "Use Python 3.11" inputs: - versionSpec: 3.9 + versionSpec: 3.11 - script: | python -m venv venv diff --git a/.azuredevops/ado-ci-pipeline-self-hosted.yml b/.azuredevops/ado-ci-pipeline-self-hosted.yml index efcf01b..c3b6a78 100644 --- a/.azuredevops/ado-ci-pipeline-self-hosted.yml +++ b/.azuredevops/ado-ci-pipeline-self-hosted.yml @@ -31,9 +31,9 @@ steps: displayName: "Check agent VM space" - task: UsePythonVersion@0 - displayName: "Use Python 3.9" + displayName: "Use Python 3.11" inputs: - versionSpec: 3.9 + versionSpec: 3.11 - script: | python -m venv venv diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1867ed3..bfaf26c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,10 +21,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Python 3.9 + - name: Setup Python 3.11 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Install requirements run: | diff --git a/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt b/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt index 1acebd0..353f37d 100644 --- a/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt +++ b/src/sample_pytorch_gpu_project/.devcontainer/requirements.txt @@ -1,11 +1,5 @@ torch==2.5.1 torchvision==0.20.1 -# use this below if you want to use torch 1.13.1 instead. -# you need --extra-index-url flag as stated in https://pytorch.org/get-started/previous-versions/#linux-and-windows-1 -# torch==1.13.1+cu117 -# torchvision==0.14.1+cu117 -# --extra-index-url https://download.pytorch.org/whl/cu117 - # the below are used by AML, can be deleted if not using AML -mlflow==2.18.0 -azureml-mlflow==1.58.0.post3 \ No newline at end of file +mlflow==2.15.1 +azureml-mlflow==1.58.0.post3