From d8a8139bd3dd0ae869a5303a49fb5890240878e2 Mon Sep 17 00:00:00 2001 From: Kartik Singhal Date: Thu, 7 Dec 2023 10:01:26 -0600 Subject: [PATCH 1/6] build: pin pecos to prerelease version (#54) --- README.md | 3 +-- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b875b45..ca787a7 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,7 @@ Just issue `pip install pytket-phir` to obtain the latest stable release. The package includes a tool for emulating QASM files from the command line using PECOS. -NOTE: The CLI currently requires installation of additional dependencies using -`pip install projectq "quantum-pecos@git+https://github.com/PECOS-packages/PECOS.git@development"` +Install additional dependencies needed for the CLI using `pip install pytket-phir[phirc]`. ```sh ❯ phirc -h diff --git a/pyproject.toml b/pyproject.toml index 93a29e1..2aceff4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ [project.optional-dependencies] docs = ["sphinx", "pydata_sphinx_theme"] -phirc = ["projectq"] # add quantum-pecos>=5.0.0 once released +phirc = ["projectq", "quantum-pecos>=0.5.0.dev2"] tests = ["pytest"] [project.scripts] From 76f78e0c13b73f1a2047eb3131dc85a67b1f6c08 Mon Sep 17 00:00:00 2001 From: Kartik Singhal Date: Thu, 7 Dec 2023 11:19:33 -0600 Subject: [PATCH 2/6] chore(changelog): prepare for v0.1.2 release --- CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78753cd..0348d17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- chore: update dependencies +## [0.1.2] - 2023-12-07 + - build: add minimum pytket/pytket-quantinuum versions +- build: pin pecos to pre-release version +- chore: update dependencies ## [0.1.1] - 2023-11-17 @@ -20,6 +23,7 @@ First release. [0.1.0]: https://github.com/CQCL/pytket-phir/commits/v0.1.0 [0.1.1]: https://github.com/CQCL/pytket-phir/compare/v0.1.0...v0.1.1 -[unreleased]: https://github.com/CQCL/pytket-phir/compare/v0.1.1...HEAD +[0.1.2]: https://github.com/CQCL/pytket-phir/compare/v0.1.1...v0.1.2 +[unreleased]: https://github.com/CQCL/pytket-phir/compare/v0.1.2...HEAD From bbae7741890c23eb1bddc4435a04565ca10344ee Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Dec 2023 19:15:20 -0600 Subject: [PATCH 3/6] chore(deps): upgrade pre-commit dependencies (#56) Co-authored-by: qartik --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index afc1fb6..fbc578e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: debug-statements - repo: https://github.com/crate-ci/typos - rev: v1.16.23 + rev: v1.16.24 hooks: - id: typos From afa4c3b423df65108898d216a1de4ba1bf05e415 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 07:28:05 -0600 Subject: [PATCH 4/6] chore(deps): bump pre-commit from 3.5.0 to 3.6.0 (#59) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 723bb5d..9cd02ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ build==1.0.3 mypy==1.7.1 networkx==2.8.8 phir==0.1.6 -pre-commit==3.5.0 +pre-commit==3.6.0 pydata_sphinx_theme==0.14.4 pytest==7.4.3 pytket-quantinuum==0.26.0 From b4fbecf56c52e4f8112c38f953368522c3d7c22a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 07:28:57 -0600 Subject: [PATCH 5/6] chore(deps): bump ruff from 0.1.6 to 0.1.7 (#58) Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.6 to 0.1.7. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.1.6...v0.1.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kartik Singhal --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9cd02ee..9b53043 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ pydata_sphinx_theme==0.14.4 pytest==7.4.3 pytket-quantinuum==0.26.0 pytket==1.22.0 -ruff==0.1.6 +ruff==0.1.7 setuptools_scm==8.0.4 sphinx==7.2.6 wheel==0.42.0 From a6cd067bfdaca34302c6e5032655da7ed7ccad1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 11:31:18 -0700 Subject: [PATCH 6/6] chore(deps): bump phir from 0.1.6 to 0.2.0 (#57) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9b53043..d3a8094 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ build==1.0.3 mypy==1.7.1 networkx==2.8.8 -phir==0.1.6 +phir==0.2.0 pre-commit==3.6.0 pydata_sphinx_theme==0.14.4 pytest==7.4.3