From a7a9b28bccc21919c6c163618c5f8aa742ba73ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 19:27:34 +0000 Subject: [PATCH 1/2] Bump actions/setup-python from 5.3.0 to 5.4.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 5.4.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v5.4.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/pipeline.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 7b8af32..43620be 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -18,7 +18,7 @@ jobs: with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5.3.0 + uses: actions/setup-python@v5.4.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e8712f1..c3327ac 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,5 +12,5 @@ jobs: SKIP: no-commit-to-branch steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5.3.0 + - uses: actions/setup-python@v5.4.0 - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e76246..8cf643a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5.3.0 + uses: actions/setup-python@v5.4.0 with: python-version: 3.11 - name: Install dependencies From 0655781d4483d3293bffd12ca038161da40dd6be Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Sat, 8 Feb 2025 16:30:22 +0100 Subject: [PATCH 2/2] Avoid deprecated import --- mcbackend/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mcbackend/core.py b/mcbackend/core.py index 6f627e7..294cd99 100644 --- a/mcbackend/core.py +++ b/mcbackend/core.py @@ -4,7 +4,8 @@ import collections import logging -from typing import Dict, List, Mapping, Optional, Sequence, Sized, TypeVar, Union, cast +from collections.abc import Sized +from typing import Dict, List, Mapping, Optional, Sequence, TypeVar, Union, cast import numpy