Skip to content

Conversation

aborgna-q
Copy link
Collaborator

In contrast to #987, this is not a breaking API change but a breaking serialization change.

I bumped the extension versions even if not strictly necessary.

BREAKING CHANGE: Renamed the tket2.* HUGR extensions to tket.*

@aborgna-q aborgna-q requested review from ss2165 and cqc-alec July 25, 2025 14:39
@aborgna-q aborgna-q requested a review from a team as a code owner July 25, 2025 14:39
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

❌ Patch coverage is 68.42105% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.60%. Comparing base (450f06a) to head (7264fdc).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
tket-exts/src/tket_exts/__init__.py 45.45% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #988      +/-   ##
==========================================
- Coverage   79.65%   79.60%   -0.06%     
==========================================
  Files          94       94              
  Lines       11552    11552              
  Branches    11282    11282              
==========================================
- Hits         9202     9196       -6     
- Misses       1720     1725       +5     
- Partials      630      631       +1     
Flag Coverage Δ
python 78.14% <50.00%> (ø)
rust 79.64% <100.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happened to these

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recompiled, they have hugrs referencing quantum ops internally.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confusingly github makes it look like they've been deleted.

@@ -24,7 +24,7 @@ entry_block: ; preds = %alloca_block
br i1 %6, label %9, label %7

7: ; preds = %entry_block
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @prelude.panic_template, i32 0, i32 0), i32 1, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @0, i32 0, i32 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @prelude.panic_template, i32 0, i32 0), i32 1, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @0, i32 0, i32 0))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why these changed, I assume it's due to some string hash/order?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm that would be my guess too but I didn't think we were relying on string hashes like that

Base automatically changed from ab/rename-tket2 to main July 25, 2025 14:47
@aborgna-q aborgna-q requested a review from doug-q as a code owner July 25, 2025 14:47
Copy link

codspeed-hq bot commented Jul 25, 2025

CodSpeed Performance Report

Merging #988 will not alter performance

Comparing ab/rename-extensions (7264fdc) with main (450f06a)

Summary

✅ 3 untouched benchmarks

@aborgna-q aborgna-q force-pushed the ab/rename-extensions branch from c548df7 to 7264fdc Compare July 25, 2025 14:50
@aborgna-q aborgna-q added this pull request to the merge queue Jul 25, 2025
Merged via the queue into main with commit c5279c5 Jul 25, 2025
18 of 19 checks passed
@aborgna-q aborgna-q deleted the ab/rename-extensions branch July 25, 2025 15:21
This was referenced Jul 25, 2025
jennyQuantinuum pushed a commit that referenced this pull request Jul 27, 2025
In contrast to #987, this is not a breaking API change but a breaking
_serialization_ change.

I bumped the extension versions even if not strictly necessary.

BREAKING CHANGE: Renamed the `tket2.*` HUGR extensions to `tket.*`
github-merge-queue bot pushed a commit that referenced this pull request Jul 28, 2025
## 🙂  New release

* `tket2`: 0.12.3 -> `tket` 0.13.0 (New crate name!)
* `tket2-hseries`: 0.16.1 -> `tket-qsystem` 0.17.0 (New crate name!)

<details><summary><i><b>Changelog</b></i></summary><p>

## `tket`

<blockquote>

##
[0.13.0](tket2-v0.12.3...tket-v0.13.0)
- 2025-07-25

### New Features

- [**breaking] Rename tket2.* HUGR extensions to tket.*
([#988](#988))
- [**breaking] Rename tket2* libs to tket*
([#987](#987))
- [**breaking**] Update to `hugr 0.21`
([#965](#965))
- Add guppy extension with drop operation
([#962](#962))
- [**breaking**] Split the pytket extension encoder trait
([#970](#970))
</blockquote>

## `tket-qsystem`

<blockquote>

##
[0.17.0](tket2-hseries-v0.16.1...tket-qsystem-v0.17.0)
- 2025-07-25

### New Features

- [**breaking] Rename tket2.* HUGR extensions to tket.*
([#988](#988))
- [**breaking] Rename tket2* libs to tket*
([#987](#987))
- [**breaking**] Update to `hugr 0.21`
([#965](#965))
- Add guppy extension with drop operation
([#962](#962))
</blockquote>


</p></details>

---
This PR was generated by a human.
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.10.0](tket-exts-v0.9.2...tket-exts-v0.10.0)
(2025-07-29)


### ⚠ BREAKING CHANGES

* Renamed the `tket2.*` HUGR extensions to `tket.*`
* Libraries renamed from `tket2*` to `tket*`

### Features

* **py:** update hugr-py dependency to 0.13
([#996](#996))
([1bf4c70](1bf4c70))
* Rename `tket2.*` HUGR extensions to `tket.*`
([#988](#988))
([c5279c5](c5279c5))
* Rename tket2* libs to tket*
([#987](#987))
([450f06a](450f06a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.5.0](tket-eccs-v0.4.0...tket-eccs-v0.5.0)
(2025-07-29)


### ⚠ BREAKING CHANGES

* Renamed the `tket2.*` HUGR extensions to `tket.*`
* Libraries renamed from `tket2*` to `tket*`

### Features

* Rename `tket2.*` HUGR extensions to `tket.*`
([#988](#988))
([c5279c5](c5279c5))
* Rename tket2* libs to tket*
([#987](#987))
([450f06a](450f06a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Seyon Sivarajah <seyon.sivarajah@cambridgequantum.com>
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.12.0](tket-py-v0.11.1...tket-py-v0.12.0)
(2025-07-29)


### ⚠ BREAKING CHANGES

* Renamed the `tket2.*` HUGR extensions to `tket.*`
* Libraries renamed from `tket2*` to `tket*`

### Features

* **py:** update hugr-py dependency to 0.13
([#996](#996))
([1bf4c70](1bf4c70))
* Rename `tket2.*` HUGR extensions to `tket.*`
([#988](#988))
([c5279c5](c5279c5))
* Rename tket2* libs to tket*
([#987](#987))
([450f06a](450f06a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Seyon Sivarajah <seyon.sivarajah@cambridgequantum.com>
Co-authored-by: Seyon Sivarajah <seyon.sivarajah@quantinuum.com>
@hugrbot hugrbot mentioned this pull request Jul 30, 2025
croyzor pushed a commit that referenced this pull request Aug 11, 2025
In contrast to #987, this is not a breaking API change but a breaking
_serialization_ change.

I bumped the extension versions even if not strictly necessary.

BREAKING CHANGE: Renamed the `tket2.*` HUGR extensions to `tket.*`
croyzor pushed a commit that referenced this pull request Aug 11, 2025
## 🙂  New release

* `tket2`: 0.12.3 -> `tket` 0.13.0 (New crate name!)
* `tket2-hseries`: 0.16.1 -> `tket-qsystem` 0.17.0 (New crate name!)

<details><summary><i><b>Changelog</b></i></summary><p>

## `tket`

<blockquote>

##
[0.13.0](tket2-v0.12.3...tket-v0.13.0)
- 2025-07-25

### New Features

- [**breaking] Rename tket2.* HUGR extensions to tket.*
([#988](#988))
- [**breaking] Rename tket2* libs to tket*
([#987](#987))
- [**breaking**] Update to `hugr 0.21`
([#965](#965))
- Add guppy extension with drop operation
([#962](#962))
- [**breaking**] Split the pytket extension encoder trait
([#970](#970))
</blockquote>

## `tket-qsystem`

<blockquote>

##
[0.17.0](tket2-hseries-v0.16.1...tket-qsystem-v0.17.0)
- 2025-07-25

### New Features

- [**breaking] Rename tket2.* HUGR extensions to tket.*
([#988](#988))
- [**breaking] Rename tket2* libs to tket*
([#987](#987))
- [**breaking**] Update to `hugr 0.21`
([#965](#965))
- Add guppy extension with drop operation
([#962](#962))
</blockquote>


</p></details>

---
This PR was generated by a human.
croyzor pushed a commit that referenced this pull request Aug 11, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.10.0](tket-exts-v0.9.2...tket-exts-v0.10.0)
(2025-07-29)


### ⚠ BREAKING CHANGES

* Renamed the `tket2.*` HUGR extensions to `tket.*`
* Libraries renamed from `tket2*` to `tket*`

### Features

* **py:** update hugr-py dependency to 0.13
([#996](#996))
([1bf4c70](1bf4c70))
* Rename `tket2.*` HUGR extensions to `tket.*`
([#988](#988))
([c5279c5](c5279c5))
* Rename tket2* libs to tket*
([#987](#987))
([450f06a](450f06a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
croyzor pushed a commit that referenced this pull request Aug 11, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.5.0](tket-eccs-v0.4.0...tket-eccs-v0.5.0)
(2025-07-29)


### ⚠ BREAKING CHANGES

* Renamed the `tket2.*` HUGR extensions to `tket.*`
* Libraries renamed from `tket2*` to `tket*`

### Features

* Rename `tket2.*` HUGR extensions to `tket.*`
([#988](#988))
([c5279c5](c5279c5))
* Rename tket2* libs to tket*
([#987](#987))
([450f06a](450f06a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Seyon Sivarajah <seyon.sivarajah@cambridgequantum.com>
croyzor pushed a commit that referenced this pull request Aug 11, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.12.0](tket-py-v0.11.1...tket-py-v0.12.0)
(2025-07-29)


### ⚠ BREAKING CHANGES

* Renamed the `tket2.*` HUGR extensions to `tket.*`
* Libraries renamed from `tket2*` to `tket*`

### Features

* **py:** update hugr-py dependency to 0.13
([#996](#996))
([1bf4c70](1bf4c70))
* Rename `tket2.*` HUGR extensions to `tket.*`
([#988](#988))
([c5279c5](c5279c5))
* Rename tket2* libs to tket*
([#987](#987))
([450f06a](450f06a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Seyon Sivarajah <seyon.sivarajah@cambridgequantum.com>
Co-authored-by: Seyon Sivarajah <seyon.sivarajah@quantinuum.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants