From 5bf7e661297debb087ac7ee0e4e2b42084be2614 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 19:09:35 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-mypy: v1.20.2 → v2.0.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.20.2...v2.0.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 159cccd..3aa2025 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: - '--fix' - id: ruff-format - repo: 'https://github.com/pre-commit/mirrors-mypy' - rev: v1.20.2 + rev: v2.0.0 hooks: - id: mypy additional_dependencies: From 204c0eedbda484306bb493d5ece316eed35e1645 Mon Sep 17 00:00:00 2001 From: Greg Pauloski <18683347+gpauloski@users.noreply.github.com> Date: Tue, 12 May 2026 18:11:56 -0700 Subject: [PATCH 2/3] Allow bytes or bytearray --- testing/mocked/pymargo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mocked/pymargo.py b/testing/mocked/pymargo.py index f081d8d..babd895 100644 --- a/testing/mocked/pymargo.py +++ b/testing/mocked/pymargo.py @@ -14,7 +14,7 @@ server = 'server' # server dictionary -data_dict: dict[str, bytes] = {} +data_dict: dict[str, bytes | bytearray] = {} class MargoException(Exception): # pragma: no cover # noqa: N818 From 64a639e8ebcc882b955a5639cba41a3f5b8a92d9 Mon Sep 17 00:00:00 2001 From: Greg Pauloski <18683347+gpauloski@users.noreply.github.com> Date: Tue, 12 May 2026 18:16:21 -0700 Subject: [PATCH 3/3] Use BytesLike for server data store --- proxystore_ex/connectors/dim/margo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxystore_ex/connectors/dim/margo.py b/proxystore_ex/connectors/dim/margo.py index be4dc2a..36fec3c 100644 --- a/proxystore_ex/connectors/dim/margo.py +++ b/proxystore_ex/connectors/dim/margo.py @@ -394,7 +394,7 @@ class MargoServer: """MargoServer implementation.""" def __init__(self, engine: Engine) -> None: - self.data: dict[str, bytes] = {} + self.data: dict[str, BytesLike] = {} self.engine = engine def evict(