From bcbebf90fa44bf6080fea4db2e06b08058edd404 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:18:30 -0500 Subject: [PATCH 01/18] update workflows --- .github/workflows/build-changes.yaml | 6 +++--- .github/workflows/continuous-integration.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-changes.yaml b/.github/workflows/build-changes.yaml index cc403490..a36ae1c7 100644 --- a/.github/workflows/build-changes.yaml +++ b/.github/workflows/build-changes.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v5 with: @@ -42,9 +42,9 @@ jobs: runs-on: windows-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 29437b41..5edc39eb 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -19,9 +19,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true @@ -39,9 +39,9 @@ jobs: timeout-minutes: 2 needs: install steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true @@ -87,9 +87,9 @@ jobs: timeout-minutes: 6 needs: install steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 with: python-version: 3.12 enable-cache: true From 6fefd5eba2578ce3931dd45ef3930230a1d8e6a1 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:22:28 -0500 Subject: [PATCH 02/18] update relay-bp --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 27b97bf7..60de7907 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,9 +40,9 @@ dev = [ "checks-superstaq>=0.5.45", "jupyter>=1.1.1", "python-lsp-server[all]>=1.14.0", - "relay-bp[stim]==0.1.0", + "relay-bp[stim]==0.2.0", ] -relay-bp = ["relay-bp[stim]==0.1.0"] +relay-bp = ["relay-bp[stim]==0.2.0"] [project.urls] Repository = "https://github.com/qLDPCOrg/qLDPC" From 3f621dc010ebdbf5b11f7aeff85789153ff7a05b Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:25:02 -0500 Subject: [PATCH 03/18] Revert "update relay-bp" This reverts commit 6fefd5eba2578ce3931dd45ef3930230a1d8e6a1. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 60de7907..27b97bf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,9 +40,9 @@ dev = [ "checks-superstaq>=0.5.45", "jupyter>=1.1.1", "python-lsp-server[all]>=1.14.0", - "relay-bp[stim]==0.2.0", + "relay-bp[stim]==0.1.0", ] -relay-bp = ["relay-bp[stim]==0.2.0"] +relay-bp = ["relay-bp[stim]==0.1.0"] [project.urls] Repository = "https://github.com/qLDPCOrg/qLDPC" From a722f08097677be9d599b236a08432149320c78b Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:35:17 -0500 Subject: [PATCH 04/18] test --- .github/workflows/continuous-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 5edc39eb..7581ffd6 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -24,7 +24,7 @@ jobs: uses: astral-sh/setup-uv@v7 with: python-version: 3.12 - enable-cache: true + enable-cache: false cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies From 951470626f983158bf68af7bfb9b1bf9201c3d86 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:48:23 -0500 Subject: [PATCH 05/18] Revert "test" This reverts commit a722f08097677be9d599b236a08432149320c78b. --- .github/workflows/continuous-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 7581ffd6..5edc39eb 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -24,7 +24,7 @@ jobs: uses: astral-sh/setup-uv@v7 with: python-version: 3.12 - enable-cache: false + enable-cache: true cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies From 6a6c3313f18e5dc24298a466ae98ce2d4c3da0ac Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:53:58 -0500 Subject: [PATCH 06/18] try prefer binary --- .github/workflows/continuous-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 5edc39eb..e4aa753e 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -30,7 +30,7 @@ jobs: - name: Install package and dependencies run: | uv venv - uv pip install '.[dev]' + uv pip install '.[dev]' --prefer-binary format: name: Lint and type check From 6170293ce8d4383e3fc713f32eb4d0325c013989 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:56:49 -0500 Subject: [PATCH 07/18] Revert "try prefer binary" This reverts commit 6a6c3313f18e5dc24298a466ae98ce2d4c3da0ac. --- .github/workflows/continuous-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index e4aa753e..5edc39eb 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -30,7 +30,7 @@ jobs: - name: Install package and dependencies run: | uv venv - uv pip install '.[dev]' --prefer-binary + uv pip install '.[dev]' format: name: Lint and type check From 1d7ee026e920988784e5658d52797b280ae0a2bc Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 14:57:05 -0500 Subject: [PATCH 08/18] remove relay-bp from dev --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 27b97bf7..530fcba6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dev = [ "checks-superstaq>=0.5.45", "jupyter>=1.1.1", "python-lsp-server[all]>=1.14.0", - "relay-bp[stim]==0.1.0", + # "relay-bp[stim]==0.1.0", ] relay-bp = ["relay-bp[stim]==0.1.0"] From ed70e75812a8aa7d89f4becf8732000ed3ade0b7 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:11:31 -0500 Subject: [PATCH 09/18] uv run python --- .github/workflows/continuous-integration.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 5edc39eb..6c647208 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -53,15 +53,15 @@ jobs: uv pip install '.[dev]' - name: Run ruff format id: ruff-format - run: checks/format_.py + run: uv run python checks/format_.py continue-on-error: true - name: Run ruff check id: ruff-check - run: checks/lint_.py + run: uv run python checks/lint_.py continue-on-error: true - name: Run mypy id: mypy - run: checks/mypy_.py + run: uv run python checks/mypy_.py continue-on-error: true - name: Check for failures run: | From 547848f41e39078b59f35e45714e6da73632d686 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:23:13 -0500 Subject: [PATCH 10/18] uv run python --- .github/workflows/continuous-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 6c647208..c852ed9b 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -100,4 +100,4 @@ jobs: uv venv uv pip install '.[dev]' - name: Run coverage - run: checks/coverage_.py + run: uv run python checks/coverage_.py From 147efdd8475a30f6ad1559ac48308664224d015a Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:25:40 -0500 Subject: [PATCH 11/18] don't remove relay-bp --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 530fcba6..27b97bf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dev = [ "checks-superstaq>=0.5.45", "jupyter>=1.1.1", "python-lsp-server[all]>=1.14.0", - # "relay-bp[stim]==0.1.0", + "relay-bp[stim]==0.1.0", ] relay-bp = ["relay-bp[stim]==0.1.0"] From f00d1aad6de7966a91946634e70d3f0a8069d1e2 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:33:26 -0500 Subject: [PATCH 12/18] relay-bp version --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 27b97bf7..60de7907 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,9 +40,9 @@ dev = [ "checks-superstaq>=0.5.45", "jupyter>=1.1.1", "python-lsp-server[all]>=1.14.0", - "relay-bp[stim]==0.1.0", + "relay-bp[stim]==0.2.0", ] -relay-bp = ["relay-bp[stim]==0.1.0"] +relay-bp = ["relay-bp[stim]==0.2.0"] [project.urls] Repository = "https://github.com/qLDPCOrg/qLDPC" From f1d54980ffaa62df675534d2b2c62ed1531dad0c Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:33:39 -0500 Subject: [PATCH 13/18] comment --- src/qldpc/decoders/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qldpc/decoders/custom.py b/src/qldpc/decoders/custom.py index 1ad40080..3ac4885a 100644 --- a/src/qldpc/decoders/custom.py +++ b/src/qldpc/decoders/custom.py @@ -61,7 +61,7 @@ class RelayBPDecoder(BatchDecoder): This class first constructs a relay_bp.decoder.DynDecoder decoder by class name, such as "RelayDecoderF32"; see help(relay_bp) for more options. To enable parallelized decoding, which - which as of relay-bp==0.1.0 is only implemented for the relay_bp.ObservableDecoderRunner class, + which as of relay-bp==0.2.0 is only implemented for the relay_bp.ObservableDecoderRunner class, RelayBPDecoder wraps the relay_bp.decoder.DynDecoder in a relay_bp.ObservableDecoderRunner at initialization time. From b1040eece044a1f37db7b1eb98ccb1ccf393920b Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:37:29 -0500 Subject: [PATCH 14/18] Revert "comment" This reverts commit f1d54980ffaa62df675534d2b2c62ed1531dad0c. --- src/qldpc/decoders/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qldpc/decoders/custom.py b/src/qldpc/decoders/custom.py index 3ac4885a..1ad40080 100644 --- a/src/qldpc/decoders/custom.py +++ b/src/qldpc/decoders/custom.py @@ -61,7 +61,7 @@ class RelayBPDecoder(BatchDecoder): This class first constructs a relay_bp.decoder.DynDecoder decoder by class name, such as "RelayDecoderF32"; see help(relay_bp) for more options. To enable parallelized decoding, which - which as of relay-bp==0.2.0 is only implemented for the relay_bp.ObservableDecoderRunner class, + which as of relay-bp==0.1.0 is only implemented for the relay_bp.ObservableDecoderRunner class, RelayBPDecoder wraps the relay_bp.decoder.DynDecoder in a relay_bp.ObservableDecoderRunner at initialization time. From 59512d53cc283cd1656fda2f42e0b0bb8a861a99 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:37:31 -0500 Subject: [PATCH 15/18] Revert "relay-bp version" This reverts commit f00d1aad6de7966a91946634e70d3f0a8069d1e2. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 60de7907..27b97bf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,9 +40,9 @@ dev = [ "checks-superstaq>=0.5.45", "jupyter>=1.1.1", "python-lsp-server[all]>=1.14.0", - "relay-bp[stim]==0.2.0", + "relay-bp[stim]==0.1.0", ] -relay-bp = ["relay-bp[stim]==0.2.0"] +relay-bp = ["relay-bp[stim]==0.1.0"] [project.urls] Repository = "https://github.com/qLDPCOrg/qLDPC" From 23759e8c693d85bf242978476db01aaeb6a9f87e Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:51:28 -0500 Subject: [PATCH 16/18] uv sync --- .github/workflows/build-changes.yaml | 4 +--- .github/workflows/continuous-integration.yaml | 12 +++--------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-changes.yaml b/.github/workflows/build-changes.yaml index bbd6ca09..8cf55b9f 100644 --- a/.github/workflows/build-changes.yaml +++ b/.github/workflows/build-changes.yaml @@ -51,9 +51,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev - name: Run all checks shell: cmd run: | diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index c852ed9b..c8e8377e 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -28,9 +28,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev format: name: Lint and type check @@ -48,9 +46,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev - name: Run ruff format id: ruff-format run: uv run python checks/format_.py @@ -96,8 +92,6 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: | - uv venv - uv pip install '.[dev]' + run: uv sync --extra dev - name: Run coverage run: uv run python checks/coverage_.py From 09bcb40c6bf0505491802697dedfd21a2597fc49 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:53:28 -0500 Subject: [PATCH 17/18] --dev --- .github/workflows/build-changes.yaml | 2 +- .github/workflows/continuous-integration.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-changes.yaml b/.github/workflows/build-changes.yaml index 8cf55b9f..e9616e28 100644 --- a/.github/workflows/build-changes.yaml +++ b/.github/workflows/build-changes.yaml @@ -51,7 +51,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --extra dev + run: uv sync --dev - name: Run all checks shell: cmd run: | diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index c8e8377e..5baad095 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -28,7 +28,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --extra dev + run: uv sync --dev format: name: Lint and type check @@ -46,7 +46,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --extra dev + run: uv sync --dev - name: Run ruff format id: ruff-format run: uv run python checks/format_.py @@ -92,6 +92,6 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --extra dev + run: uv sync --dev - name: Run coverage run: uv run python checks/coverage_.py From 76eaa0f1fbe0cfb6b77ba5b7131e1c72afbba3d9 Mon Sep 17 00:00:00 2001 From: "Michael A. Perlin" Date: Sun, 15 Feb 2026 15:57:27 -0500 Subject: [PATCH 18/18] Revert "--dev" This reverts commit 09bcb40c6bf0505491802697dedfd21a2597fc49. --- .github/workflows/build-changes.yaml | 2 +- .github/workflows/continuous-integration.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-changes.yaml b/.github/workflows/build-changes.yaml index e9616e28..8cf55b9f 100644 --- a/.github/workflows/build-changes.yaml +++ b/.github/workflows/build-changes.yaml @@ -51,7 +51,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --dev + run: uv sync --extra dev - name: Run all checks shell: cmd run: | diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 5baad095..c8e8377e 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -28,7 +28,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --dev + run: uv sync --extra dev format: name: Lint and type check @@ -46,7 +46,7 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --dev + run: uv sync --extra dev - name: Run ruff format id: ruff-format run: uv run python checks/format_.py @@ -92,6 +92,6 @@ jobs: cache-dependency-glob: | **/pyproject.toml - name: Install package and dependencies - run: uv sync --dev + run: uv sync --extra dev - name: Run coverage run: uv run python checks/coverage_.py