Skip to content

Commit

Permalink
Setup warning for old package
Browse files Browse the repository at this point in the history
  • Loading branch information
Tansito committed May 9, 2024
1 parent be91f3a commit 5283f37
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
[![Python](https://img.shields.io/badge/Python-3.8%20%7C%203.9%20%7C%203.10-informational)](https://www.python.org/)
[![Qiskit](https://img.shields.io/badge/Qiskit-%E2%89%A5%200.39.0-6133BD)](https://github.com/Qiskit/qiskit)

# IMPORTANT: THIS PACKAGE WAS DEPRECATED IN FAVOR OF QISKIT-SERVERLESS PACKAGE

# Quantum Serverless client

![diagram](https://raw.githubusercontent.com/Qiskit-Extensions/quantum-serverless/main/docs/images/qs_diagram.png)
Expand Down
7 changes: 7 additions & 0 deletions client/quantum_serverless/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
QuantumServerlessException
get_auto_discovered_provider
"""
import warnings

warnings.warn(
"`quantum_serverless` package has been deprecated. "
"Please, use `qiskit_serverless` instead."
)

# pylint: disable=W0404
from importlib_metadata import version as metadata_version, PackageNotFoundError

Expand Down

0 comments on commit 5283f37

Please sign in to comment.