Skip to content

Commit

Permalink
chore(py): release tket2-exts 0.5.0 (#790)
Browse files Browse the repository at this point in the history
🤖 I have created a release *beep* *boop*
---


##
[0.5.0](tket2-exts-v0.4.0...tket2-exts-v0.5.0)
(2025-03-04)


### ⚠ BREAKING CHANGES

* To be compatible with Guppy's convention of implicitly returning
`self` as the second value of the tuple, the following signatures are
updated:
```diff
-   /// `fn random_int(RNGContext) -> (RNGContext, u32)`
+   /// `fn random_int(RNGContext) -> (u32, RNGContext)`

-   /// `fn random_float(RNGContext) -> (RNGContext, f32)`
+   /// `fn random_float(RNGContext) -> (f32, RNGContext)`

-   /// `fn random_int_bounded(RNGContext, bound: u32) -> (RNGContext, u32)`
+   /// `fn random_int_bounded(RNGContext, bound: u32) -> (u32, RNGContext)`
```

### Bug Fixes

* remove type argument from `RNGContext` type, swap returns
([#786](#786))
([633ebd7](633ebd7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
  • Loading branch information
hugrbot authored Mar 6, 2025
1 parent 633ebd7 commit 007d3ae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"tket2-py": "0.6.1",
"tket2-eccs": "0.3.0",
"tket2-exts": "0.4.0"
"tket2-exts": "0.5.0"
}
13 changes: 13 additions & 0 deletions tket2-exts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [0.5.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.4.0...tket2-exts-v0.5.0) (2025-03-04)


### ⚠ BREAKING CHANGES

* To be compatible with Guppy's convention of implicitly returning `self` as the second value of the tuple, the following signatures are updated: ```diff
- /// `fn random_int(RNGContext) -> (RNGContext, u32)`
+ /// `fn random_int(RNGContext) -> (u32, RNGContext)`

### Bug Fixes

* remove type argument from `RNGContext` type, swap returns ([#786](https://github.com/CQCL/tket2/issues/786)) ([633ebd7](https://github.com/CQCL/tket2/commit/633ebd74d71ba81f5b71d6db757b08ea3c959a5d))

## [0.4.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.3.0...tket2-exts-v0.4.0) (2025-02-20)


Expand Down
2 changes: 1 addition & 1 deletion tket2-exts/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tket2-exts"
version = "0.4.0"
version = "0.5.0"
requires-python = ">=3.10"
description = "HUGR extension definitions for the tket2 compiler."
license = { file = "LICENCE" }
Expand Down
2 changes: 1 addition & 1 deletion tket2-exts/src/tket2_exts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# This is updated by our release-please workflow, triggered by this
# annotation: x-release-please-version
__version__ = "0.4.0"
__version__ = "0.5.0"


@functools.cache
Expand Down

0 comments on commit 007d3ae

Please sign in to comment.