Skip to content

Commit

Permalink
Remove extended support reference in README (Qiskit#13668)
Browse files Browse the repository at this point in the history
* remove extended support reference in README

* remove 0.* in deprecation release
  • Loading branch information
1ucian0 authored Jan 24, 2025
1 parent e9ccd3f commit 86f203d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
12 changes: 6 additions & 6 deletions DEPRECATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deprecation Policy

Starting from the 1.0.0 release, Qiskit follows semantic versioning, with a yearly release cycle for major releases.
Starting from the 1.0 release, Qiskit follows semantic versioning, with a yearly release cycle for major releases.
[Full details of the scheduling are hosted with the external public documentation](https://docs.quantum.ibm.com/open-source/qiskit-sdk-version-strategy).

This document is primarily intended for developers of Qiskit themselves.
Expand Down Expand Up @@ -150,11 +150,11 @@ and add the deprecation to that function's docstring so that it shows up in the
```python
from qiskit.utils.deprecation import deprecate_arg, deprecate_func

@deprecate_func(since="0.24.0", additional_msg="No replacement is provided.")
@deprecate_func(since="1.2", additional_msg="No replacement is provided.")
def deprecated_func():
pass

@deprecate_arg("bad_arg", new_alias="new_name", since="0.24.0")
@deprecate_arg("bad_arg", new_alias="new_name", since="1.2")
def another_func(bad_arg: str, new_name: str):
pass
```
Expand All @@ -178,7 +178,7 @@ import warnings
def deprecated_function():
warnings.warn(
"The function qiskit.deprecated_function() is deprecated since "
"Qiskit 0.44.0, and will be removed 3 months or more later. "
"Qiskit 1.2, and will be removed in 2.0 or a later major release."
"Instead, you should use qiskit.other_function().",
category=DeprecationWarning,
stacklevel=2,
Expand Down Expand Up @@ -235,9 +235,9 @@ def deprecated_function():
"""
Short description of the deprecated function.
.. deprecated:: 0.44.0
.. deprecated:: 1.2
The function qiskit.deprecated_function() is deprecated since
Qiskit 0.44.0, and will be removed 3 months or more later.
Qiskit 1.2, and will be removed in 2.0 or a later major release.
Instead, you should use qiskit.other_function().
<rest of the docstring>
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/github/license/Qiskit/qiskit.svg?)](https://opensource.org/licenses/Apache-2.0) <!--- long-description-skip-begin -->
[![Current Release](https://img.shields.io/github/release/Qiskit/qiskit.svg?logo=Qiskit)](https://github.com/Qiskit/qiskit/releases)
[![Extended Support Release](https://img.shields.io/github/v/release/Qiskit/qiskit?sort=semver&filter=0.*&logo=Qiskit&label=extended%20support)](https://github.com/Qiskit/qiskit/releases?q=tag%3A0)
<!-- [![Extended Support Release](https://img.shields.io/github/v/release/Qiskit/qiskit?sort=semver&filter=0.*&logo=Qiskit&label=extended%20support)](https://github.com/Qiskit/qiskit/releases?q=tag%3A0) -->
[![Downloads](https://img.shields.io/pypi/dm/qiskit.svg)](https://pypi.org/project/qiskit/)
[![Coverage Status](https://coveralls.io/repos/github/Qiskit/qiskit/badge.svg?branch=main)](https://coveralls.io/github/Qiskit/qiskit?branch=main)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qiskit)
Expand All @@ -22,9 +22,6 @@ For more details on how to use Qiskit, refer to the documentation located here:

## Installation

> [!WARNING]
> Do not try to upgrade an existing Qiskit 0.* environment to Qiskit 1.0 in-place. [Read more](https://docs.quantum.ibm.com/migration-guides/qiskit-1.0-installation).
We encourage installing Qiskit via ``pip``:

```bash
Expand Down Expand Up @@ -146,9 +143,9 @@ to the project at different levels. If you use Qiskit, please cite as per the in

The changelog for a particular release is dynamically generated and gets
written to the release page on Github for each release. For example, you can
find the page for the `0.46.0` release here:
find the page for the `1.2.0` release here:

<https://github.com/Qiskit/qiskit/releases/tag/0.46.0>
<https://github.com/Qiskit/qiskit/releases/tag/1.2.0>

The changelog for the current release can be found in the releases tab:
[![Releases](https://img.shields.io/github/release/Qiskit/qiskit.svg?style=flat&label=)](https://github.com/Qiskit/qiskit/releases)
Expand Down

0 comments on commit 86f203d

Please sign in to comment.