From c698165307740a6534d3478b084c4f20ecb63cb4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 11:54:28 +0000 Subject: [PATCH 1/2] chore(deps): bump actions/checkout from 5 to 6 in the actions group Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/publish.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f2cf78..a47e1b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - '3.13' steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up git-annex run: | sudo apt-get update diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a45c97f..82b9f0a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Install Python uses: actions/setup-python@v6 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0471c52..e2bf504 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: contents: write steps: - name: Checkout source - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: From 85b0fe56b8a6bc8c2ca823edcde79479f5e2da53 Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Wed, 4 Feb 2026 14:49:17 +0100 Subject: [PATCH 2/2] chore: lint --- junifer_data/tests/test_utils.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/junifer_data/tests/test_utils.py b/junifer_data/tests/test_utils.py index a570b93..33021d5 100644 --- a/junifer_data/tests/test_utils.py +++ b/junifer_data/tests/test_utils.py @@ -45,13 +45,15 @@ def test_check_dataset_hexsha_errors(tmp_path: Path) -> None: Pytest fixture that provides a temporary directory. """ - with pytest.raises(ValueError, match="Cannot verify hexsha for main tag."): + with pytest.raises( + ValueError, match=r"Cannot verify hexsha for main tag." + ): check_dataset(data_dir=tmp_path, hexsha="wrong") # Now clone the dataset without checking check_dataset(data_dir=tmp_path, tag="1") - with pytest.raises(ValueError, match="Commit verification failed."): + with pytest.raises(ValueError, match=r"Commit verification failed."): check_dataset(data_dir=tmp_path, tag="1", hexsha="wrong") # Check with the right hexsha @@ -73,7 +75,7 @@ def test_check_dataset_hexsha_errors(tmp_path: Path) -> None: dataset.repo.add((ds_path / "test.txt").as_posix()) dataset.repo.commit(msg="update") - with pytest.raises(ValueError, match="Wrong commit checked out."): + with pytest.raises(ValueError, match=r"Wrong commit checked out."): check_dataset(data_dir=tmp_path, tag="1") # Update tag @@ -84,7 +86,7 @@ def test_check_dataset_hexsha_errors(tmp_path: Path) -> None: check_dataset(data_dir=tmp_path, tag="1") # But does not have the right hexsha - with pytest.raises(ValueError, match="Commit verification failed."): + with pytest.raises(ValueError, match=r"Commit verification failed."): check_dataset( data_dir=tmp_path, tag="1",