Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pull_request_rules:
actions:
backport:
branches:
- stable/0.25
- stable/0.45
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
members = ["crates/*"]

[workspace.package]
version = "0.45.0"
version = "1.0.0"
edition = "2021"
rust-version = "1.64" # Keep in sync with README.md and rust-toolchain.toml.
license = "Apache-2.0"
Expand Down
22 changes: 5 additions & 17 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
author = "Qiskit Development Team"

# The short X.Y version
version = "0.45"
version = "1.0"
# The full version, including alpha/beta/rc tags
release = "0.45.0"
release = "1.0.0"

language = "en"

Expand Down Expand Up @@ -286,21 +286,9 @@ def determine_api_redirects() -> dict[str, str]:
def add_versions_to_config(_app, config):
"""Add a list of old documentation versions that should have links generated to them into the
context, so the theme can use them to generate a sidebar."""
# First 0.x version where Qiskit/Terra and the metapackage aligned on number.
first_unified_zero_minor = 45

# Start with the hardcoded versions of the documentation that were managed while the metapackage
# still existed, so are based on tags that don't exist in the Qiskit package repo.
versions = ["0.19"] + [f"0.{x}" for x in range(24, first_unified_zero_minor)]

proc = subprocess.run(["git", "describe", "--abbrev=0"], capture_output=True, check=True)
current_version = proc.stdout.decode("utf8")
current_version_info = current_version.split(".")
if current_version_info[0] != "0":
raise Exception("TODO: handle major versions")
versions.extend(
f"0.{x}" % x for x in range(first_unified_zero_minor, int(current_version_info[1]) + 1)
)
# For qiskit 1.0 the docs won't use this mechanism anymore
# so just build out the historical version list for the 0.x series
versions = ["0.19"] + [f"0.{x}" for x in range(24, 46)]
config.html_context["version_list"] = versions


Expand Down
2 changes: 1 addition & 1 deletion qiskit/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.45.0rc1
1.0.0
4 changes: 2 additions & 2 deletions qiskit_pkg/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
with open(README_PATH) as readme_file:
README = readme_file.read()

requirements = ["qiskit-terra==0.45.0rc1"]
requirements = ["qiskit-terra==1.0.0"]

setup(
name="qiskit",
version="0.45.0rc1",
version="1.0.0",
description="Software for developing quantum computing programs",
long_description=README,
long_description_content_type="text/markdown",
Expand Down