Skip to content

Commit 007d3ae

Browse files
authored
chore(py): release tket2-exts 0.5.0 (#790)
🤖 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).
1 parent 633ebd7 commit 007d3ae

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"tket2-py": "0.6.1",
33
"tket2-eccs": "0.3.0",
4-
"tket2-exts": "0.4.0"
4+
"tket2-exts": "0.5.0"
55
}

tket2-exts/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## [0.5.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.4.0...tket2-exts-v0.5.0) (2025-03-04)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* To be compatible with Guppy's convention of implicitly returning `self` as the second value of the tuple, the following signatures are updated: ```diff
9+
- /// `fn random_int(RNGContext) -> (RNGContext, u32)`
10+
+ /// `fn random_int(RNGContext) -> (u32, RNGContext)`
11+
12+
### Bug Fixes
13+
14+
* remove type argument from `RNGContext` type, swap returns ([#786](https://github.com/CQCL/tket2/issues/786)) ([633ebd7](https://github.com/CQCL/tket2/commit/633ebd74d71ba81f5b71d6db757b08ea3c959a5d))
15+
316
## [0.4.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.3.0...tket2-exts-v0.4.0) (2025-02-20)
417

518

tket2-exts/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "tket2-exts"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
requires-python = ">=3.10"
55
description = "HUGR extension definitions for the tket2 compiler."
66
license = { file = "LICENCE" }

tket2-exts/src/tket2_exts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

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

1313

1414
@functools.cache

0 commit comments

Comments
 (0)