From 90b27738f174a4aec6f87d6ab928d6012308810a Mon Sep 17 00:00:00 2001 From: Melf Date: Wed, 7 Jan 2026 14:07:03 +0000 Subject: [PATCH 1/6] release and cleanup --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7bb4778..cefdcb7 100644 --- a/README.md +++ b/README.md @@ -77,14 +77,16 @@ You should run `ruff` over any changed files before submitting a PR, to catch an An easy way to meet all formatting and linting requirements is to issue `pre-commit run --all-files`. +If you are using uv running `uv run pre-commit run --all-files --show-diff-on-failure` will install the package and run all the checks. + ### Tests -To run the tests for a module: +To run the tests for this module: -1. `cd` into that module's `tests` directory; -2. ensure you have installed `pytest`, `hypothesis`, and any modules listed in - the `test-requirements.txt` file (all via `pip`); -3. run `pytest`. +1. ensure you have installed `pytest`, `hypothesis`, and any modules listed in + the `dev-dependencies` section of the `pyproject.toml` file; + (If you are using uv this will be picked up automatically.) +2. run `pytest`. When adding a new feature, please add a test for it. When fixing a bug, please add a test that demonstrates the fix. From 8cd491c127537f995b30e191ede35b568274d378 Mon Sep 17 00:00:00 2001 From: Melf Date: Wed, 7 Jan 2026 16:05:57 +0000 Subject: [PATCH 2/6] update wf version --- .github/workflows/all-checks.yml | 6 +++--- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index 464a203..b834892 100644 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -24,7 +24,7 @@ jobs: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] pyver: ["3.12"] - uses: Quantinuum/pytket-workflows/.github/workflows/static-checks-wf.yml@v0.0.10 + uses: Quantinuum/pytket-workflows/.github/workflows/static-checks-wf.yml@v1 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} @@ -35,7 +35,7 @@ jobs: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] pyver: ["3.10", "3.13"] - uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-wf.yml@v0.0.10 + uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-wf.yml@v1 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} @@ -46,7 +46,7 @@ jobs: matrix: os: ["ubuntu-latest"] pyver: ["3.11"] - uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-remote-wf.yml@v0.0.12 + uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-remote-wf.yml@v1 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c582707..53a470c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,6 +15,6 @@ on: jobs: check-docs: name: Build docs and create artefact - uses: Quantinuum/pytket-workflows/.github/workflows/docs-wf.yml@v0.0.10 + uses: Quantinuum/pytket-workflows/.github/workflows/docs-wf.yml@v1 with: extname: "pytket-iqm" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 279d07b..20f446a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: jobs: build-and-publish: name: Build, test, and store artifact, and upload to pypi - uses: Quantinuum/pytket-workflows/.github/workflows/release-wf.yml@v0.0.10 + uses: Quantinuum/pytket-workflows/.github/workflows/release-wf.yml@v1 with: pyver: "3.10" publish: ${{ github.event_name == 'release' }} From 7d226c01b1d9587ac4ace7e215dac131d0cbbc31 Mon Sep 17 00:00:00 2001 From: Melf Date: Wed, 7 Jan 2026 16:25:34 +0000 Subject: [PATCH 3/6] update version and changelog --- docs/changelog.rst | 5 +++++ pyproject.toml | 2 +- pytket/extensions/iqm/_metadata.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index a956e2f..218e62e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,11 @@ Changelog ~~~~~~~~~ +0.18.0 (January 2026) +--------------------- + +* Updated pytket version requirement to 2.11. + 0.17.0 (October 2025) --------------------- diff --git a/pyproject.toml b/pyproject.toml index 336e9eb..88599e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Topic :: Scientific/Engineering", ] dependencies = [ - "pytket >= 2.10.2", + "pytket >= 2.11.0", "iqm-client ~= 22.3", ] diff --git a/pytket/extensions/iqm/_metadata.py b/pytket/extensions/iqm/_metadata.py index f637189..c0a5be9 100644 --- a/pytket/extensions/iqm/_metadata.py +++ b/pytket/extensions/iqm/_metadata.py @@ -1,2 +1,2 @@ -__extension_version__ = "0.17.0" +__extension_version__ = "0.18.0" __extension_name__ = "pytket-iqm" From c9725d25e70c5001b2827407dc8f43ca2ffdf5f8 Mon Sep 17 00:00:00 2001 From: Melf Date: Wed, 7 Jan 2026 16:28:50 +0000 Subject: [PATCH 4/6] empty From 61a4a9122c69766d1fe680fb993082b4ce486849 Mon Sep 17 00:00:00 2001 From: Melf Date: Wed, 7 Jan 2026 16:31:11 +0000 Subject: [PATCH 5/6] update workflow to 1.0.0 --- .github/workflows/all-checks.yml | 6 +++--- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index b834892..aa59801 100644 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -24,7 +24,7 @@ jobs: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] pyver: ["3.12"] - uses: Quantinuum/pytket-workflows/.github/workflows/static-checks-wf.yml@v1 + uses: Quantinuum/pytket-workflows/.github/workflows/static-checks-wf.yml@v1.0.0 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} @@ -35,7 +35,7 @@ jobs: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] pyver: ["3.10", "3.13"] - uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-wf.yml@v1 + uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-wf.yml@v1.0.0 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} @@ -46,7 +46,7 @@ jobs: matrix: os: ["ubuntu-latest"] pyver: ["3.11"] - uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-remote-wf.yml@v1 + uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-remote-wf.yml@v1.0.0 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 53a470c..89ba7f4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,6 +15,6 @@ on: jobs: check-docs: name: Build docs and create artefact - uses: Quantinuum/pytket-workflows/.github/workflows/docs-wf.yml@v1 + uses: Quantinuum/pytket-workflows/.github/workflows/docs-wf.yml@v1.0.0 with: extname: "pytket-iqm" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20f446a..f329733 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: jobs: build-and-publish: name: Build, test, and store artifact, and upload to pypi - uses: Quantinuum/pytket-workflows/.github/workflows/release-wf.yml@v1 + uses: Quantinuum/pytket-workflows/.github/workflows/release-wf.yml@v1.0.0 with: pyver: "3.10" publish: ${{ github.event_name == 'release' }} From bb2efae3ccdd174250b4d8c55fc2cda2bc3142d7 Mon Sep 17 00:00:00 2001 From: Melf Date: Wed, 7 Jan 2026 16:50:53 +0000 Subject: [PATCH 6/6] update wf version to --- .github/workflows/all-checks.yml | 6 +++--- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index aa59801..b834892 100644 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -24,7 +24,7 @@ jobs: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] pyver: ["3.12"] - uses: Quantinuum/pytket-workflows/.github/workflows/static-checks-wf.yml@v1.0.0 + uses: Quantinuum/pytket-workflows/.github/workflows/static-checks-wf.yml@v1 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} @@ -35,7 +35,7 @@ jobs: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] pyver: ["3.10", "3.13"] - uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-wf.yml@v1.0.0 + uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-wf.yml@v1 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} @@ -46,7 +46,7 @@ jobs: matrix: os: ["ubuntu-latest"] pyver: ["3.11"] - uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-remote-wf.yml@v1.0.0 + uses: Quantinuum/pytket-workflows/.github/workflows/unit-test-remote-wf.yml@v1 with: os: ${{ matrix.os }} pyver: ${{ matrix.pyver }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 89ba7f4..53a470c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,6 +15,6 @@ on: jobs: check-docs: name: Build docs and create artefact - uses: Quantinuum/pytket-workflows/.github/workflows/docs-wf.yml@v1.0.0 + uses: Quantinuum/pytket-workflows/.github/workflows/docs-wf.yml@v1 with: extname: "pytket-iqm" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f329733..20f446a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: jobs: build-and-publish: name: Build, test, and store artifact, and upload to pypi - uses: Quantinuum/pytket-workflows/.github/workflows/release-wf.yml@v1.0.0 + uses: Quantinuum/pytket-workflows/.github/workflows/release-wf.yml@v1 with: pyver: "3.10" publish: ${{ github.event_name == 'release' }}