From 0390459d968fdb0f4f545ea72498fa366be7471d Mon Sep 17 00:00:00 2001 From: Caleb Johnson Date: Wed, 6 Nov 2024 11:19:51 -0600 Subject: [PATCH] Prepare 0.8 release (#101) * Prepare 0.8 release * Add reno for py39 * Move reno --- .github/workflows/docs.yml | 2 +- .mergify.yml | 2 +- pyproject.toml | 2 +- qiskit_addon_sqd/fermion.py | 2 +- releasenotes/notes/0.8/py39-2afc9d3831209ea8.yaml | 5 +++++ releasenotes/notes/{ => 0.8}/rng-620825ec3215e415.yaml | 0 releasenotes/notes/{ => 0.8}/wf-amps-d0fd5b930346adaf.yaml | 0 7 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/0.8/py39-2afc9d3831209ea8.yaml rename releasenotes/notes/{ => 0.8}/rng-620825ec3215e415.yaml (100%) rename releasenotes/notes/{ => 0.8}/wf-amps-d0fd5b930346adaf.yaml (100%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c0ebb9a..6003553 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -42,7 +42,7 @@ jobs: deploy: name: Deploy docs - if: ${{ github.ref == 'refs/heads/stable/0.7' }} + if: ${{ github.ref == 'refs/heads/stable/0.8' }} needs: build permissions: pages: write diff --git a/.mergify.yml b/.mergify.yml index 7eabeb0..642ea7b 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -5,4 +5,4 @@ pull_request_rules: actions: backport: branches: - - stable/0.7 + - stable/0.8 diff --git a/pyproject.toml b/pyproject.toml index c747d62..6ae35ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "qiskit-addon-sqd" -version = "0.7.0" +version = "0.8.0" readme = "README.md" description = "Classically postprocess noisy quantum samples to yield more accurate energy estimations" license = {file = "LICENSE.txt"} diff --git a/qiskit_addon_sqd/fermion.py b/qiskit_addon_sqd/fermion.py index cb6dbe4..1d6c5b6 100644 --- a/qiskit_addon_sqd/fermion.py +++ b/qiskit_addon_sqd/fermion.py @@ -334,7 +334,7 @@ def flip_orbital_occupancies(occupancies: np.ndarray) -> np.ndarray: @deprecate_func( - removal_timeline="no sooner than qiskit-addon-sqd 0.8.0", + removal_timeline="no sooner than qiskit-addon-sqd 0.9.0", since="0.6.0", package_name="qiskit-addon-sqd", additional_msg="Use the bitstring_matrix_to_ci_strs function.", diff --git a/releasenotes/notes/0.8/py39-2afc9d3831209ea8.yaml b/releasenotes/notes/0.8/py39-2afc9d3831209ea8.yaml new file mode 100644 index 0000000..cedfb2b --- /dev/null +++ b/releasenotes/notes/0.8/py39-2afc9d3831209ea8.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Added support for Python 3.9. + diff --git a/releasenotes/notes/rng-620825ec3215e415.yaml b/releasenotes/notes/0.8/rng-620825ec3215e415.yaml similarity index 100% rename from releasenotes/notes/rng-620825ec3215e415.yaml rename to releasenotes/notes/0.8/rng-620825ec3215e415.yaml diff --git a/releasenotes/notes/wf-amps-d0fd5b930346adaf.yaml b/releasenotes/notes/0.8/wf-amps-d0fd5b930346adaf.yaml similarity index 100% rename from releasenotes/notes/wf-amps-d0fd5b930346adaf.yaml rename to releasenotes/notes/0.8/wf-amps-d0fd5b930346adaf.yaml