Skip to content

Commit eca258b

Browse files
authored
chore!: bump hugr version to 0.10.0 (#508)
We remove the cli of tket2-hseries, as the upstream API has changed and we no longer expect to use this. BREAKING CHANGE: increased minimum required version of hugr to 0.9.0
1 parent e272cf7 commit eca258b

File tree

24 files changed

+71
-245
lines changed

24 files changed

+71
-245
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ lcov.info
2121

2222
# python hypothesis testing
2323
.hypothesis
24+
25+
# local cargo config
26+
/.cargo/config.toml

Cargo.lock

Lines changed: 6 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ missing_docs = "warn"
2626
[workspace.dependencies]
2727

2828
# Make sure to run `just recompile-eccs` if the hugr serialisation format changes.
29-
hugr = "0.9.1"
30-
hugr-cli = "0.2.1"
31-
hugr-core = "0.6.1"
29+
hugr = "0.10.0"
30+
hugr-core = "0.7.0"
3231
portgraph = "0.12"
3332
pyo3 = "0.21.2"
3433
itertools = "0.13.0"
@@ -58,7 +57,6 @@ rmp-serde = "1.1.2"
5857
rstest = "0.19.0"
5958
serde = "1.0"
6059
serde_json = "1.0"
61-
serde_yaml = "0.9.22"
6260
smol_str = "0.2.0"
6361
strum = "0.26.3"
6462
strum_macros = "0.26.4"

poetry.lock

Lines changed: 19 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ python = "^3.10"
3030
# Poetry does not currently follow PEP 621, it will be supported on poetry 2
3131
# https://github.com/python-poetry/poetry/issues/3332
3232
pytket = "1.30.0"
33-
hugr = "^0.4.0"
33+
hugr = "^0.5.0"
3434

3535
[tool.poetry.group.dev.dependencies]
3636
maturin = "^1.7.0"
@@ -41,7 +41,7 @@ mypy = "^1.11.0"
4141
hypothesis = "^6.108.5"
4242
graphviz = "^0.20"
4343
pre-commit = "^3.8.0"
44-
guppylang = "^0.7.0"
44+
guppylang = {git = "https://github.com/CQCL/guppylang", branch = "doug/hugr-0.10.0"}
4545

4646
[build-system]
4747
requires = ["maturin~=1.7"]
@@ -74,7 +74,7 @@ requires-python = ">=3.10"
7474
license = { file = "LICENCE" }
7575

7676
# Note: Be sure to update the dependency versions in [tool.poetry.dependencies] as well
77-
dependencies = ['pytket >= 1.29.2, < 2', 'hugr >= 0.4.0, < 0.5']
77+
dependencies = ['pytket >= 1.29.2, < 2', 'hugr >= 0.5.0, < 0.6']
7878

7979
[project.urls]
8080
homepage = "https://github.com/CQCL/tket2"

test_files/eccs/nam_4_2.rwr

19 Bytes
Binary file not shown.

test_files/eccs/nam_6_3.rwr

-6.73 KB
Binary file not shown.

test_files/eccs/small_eccs.rwr

0 Bytes
Binary file not shown.

tket2-hseries/Cargo.toml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@ description = "TKET2 tool for preparing and validating `Hugr`s for compilation t
1313
keywords = ["Quantum", "Quantinuum"]
1414
categories = ["compilers"]
1515

16-
[features]
17-
default = ["cli"]
18-
cli = ["dep:hugr-cli", "dep:clap"]
19-
2016
[dependencies]
2117
hugr.workspace = true
22-
hugr-cli = { workspace = true, optional = true }
2318
tket2 = { path = "../tket2", version = "0.1.0-alpha.1" }
24-
clap = { workspace = true, optional = true, features = ["derive"] }
2519
lazy_static.workspace = true
2620
serde = { workspace = true, features = ["derive"] }
2721
serde_json.workspace = true
@@ -34,7 +28,3 @@ cool_asserts.workspace = true
3428

3529
[lints]
3630
workspace = true
37-
38-
[[bin]]
39-
name = "tket2-hseries"
40-
required-features = ["cli"]

tket2-hseries/src/cli.rs

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)