From ef389e09d8d30494198caf6b0452b6de3b3be523 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2024 20:07:19 +0000 Subject: [PATCH 1/3] Build(deps): Bump astral-sh/setup-uv from 4.2.0 to 5.1.0 Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 4.2.0 to 5.1.0. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v4.2.0...v5.1.0) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index c1012487d22..b6bc60da571 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -154,7 +154,7 @@ jobs: GH_TOKEN: ${{ github.token }} - name: Install uv - uses: astral-sh/setup-uv@v4.2.0 + uses: astral-sh/setup-uv@v5.1.0 - name: Install dvc run: | From 3aa741c0da076d8eec9322fc99159dd0cda6baf4 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 1 Jan 2025 20:21:37 +0800 Subject: [PATCH 2/3] Try the venv auto-activate feature in v5.0.0 --- .github/workflows/ci_tests.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 15c44ccbd78..ac2718a5514 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -155,18 +155,17 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v5.1.0 + with: + python-version: ${{ matrix.python-version }} - name: Install dvc run: | - uv venv - source .venv/bin/activate uv pip install dvc uv pip list # Pull baseline image data from dvc remote (DAGsHub) - name: Pull baseline image data from dvc remote run: | - source .venv/bin/activate uv run dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/ # Install the package that we want to test From b95c555a12e23785db7aa4ed664ab049db93b4a1 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:04:42 +1300 Subject: [PATCH 3/3] Put `uv run dvc pull` command on one line --- .github/workflows/ci_tests.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index ac2718a5514..e155d7bd95c 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -165,8 +165,7 @@ jobs: # Pull baseline image data from dvc remote (DAGsHub) - name: Pull baseline image data from dvc remote - run: | - uv run dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/ + run: uv run dvc pull --no-run-cache --verbose && ls -lhR pygmt/tests/baseline/ # Install the package that we want to test - name: Install the package