forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move metapackage shim for combined releases (backport Qiskit#10530) (Q…
…iskit#10636) * Move metapackage shim for combined releases (Qiskit#10530) * Move metapackage shim for combined releases Now that Qiskit 0.44.0 has been released, the Qiskit project is now what was formerly qiskit-terra. However, because Python packaging lacks a clean mechanism to enable one package superseding another we're not able to stop shipping a qiskit-terra package that owns the qiskit python namespace without introducing a lot of potential user friction. So moving forward the qiskit project will release 2 packages an inner qiskit-terra which still contains all the library code and public facing qiskit package which installs that inner package only. To enable this workflow this commit migrates the metapackage setup.py into the terra repository and setups build automation to publish a qiskit package in addition to the inner terra package on each release tag. * some follow up on Qiskit#10530 (#19) * some follow up on Qiskit#10530 * extend some badges * This Qiskit contains the building blocks for creating and working with quantum circuits, programs, and algorithms. -> This framework allows for building, transforming, and visualizing quantum circuits. * The explanation of the Bell state is moving to IBM Quantun learning platform * I think examples/ should eventually be replaced by proper tutorials * Add StackOverflow as a forum * Remove link to https://github.com/Qiskit/qiskit-tutorials * Update README.md Co-authored-by: Matthew Treinish <[email protected]> * Update README.md * Update README.md * broken lines in badges * doi --------- Co-authored-by: Matthew Treinish <[email protected]> * Expand lint checks to entire qiskit_pkg dir * Unify extras in terra setup.py * Update CI lint job * Remove unused json imports * Cleanup manifest file * Finish comment --------- Co-authored-by: Luciano Bello <[email protected]> (cherry picked from commit 8a180ee) # Conflicts: # README.md * Fix merge conflicts --------- Co-authored-by: Matthew Treinish <[email protected]>
- Loading branch information
1 parent
43ce89f
commit 7128b27
Showing
10 changed files
with
134 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2018. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
# This file is the setup.py file for the qiskit package. Because python | ||
# packaging doesn't offer a mechanism to have qiskit supersede qiskit-terra | ||
# and cleanly upgrade from one to the other, there needs to be a separate | ||
# package shim to ensure no matter how people installed qiskit < 0.45.0 the | ||
# upgrade works. | ||
|
||
import os | ||
|
||
from setuptools import setup | ||
|
||
README_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md") | ||
with open(README_PATH) as readme_file: | ||
README = readme_file.read() | ||
|
||
requirements = ["qiskit-terra==0.45.0"] | ||
|
||
setup( | ||
name="qiskit", | ||
version="0.45.0", | ||
description="Software for developing quantum computing programs", | ||
long_description=README, | ||
long_description_content_type="text/markdown", | ||
url="https://qiskit.org/", | ||
author="Qiskit Development Team", | ||
author_email="[email protected]", | ||
license="Apache 2.0", | ||
py_modules=[], | ||
packages=[], | ||
classifiers=[ | ||
"Environment :: Console", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: MacOS", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering", | ||
], | ||
keywords="qiskit sdk quantum", | ||
install_requires=requirements, | ||
project_urls={ | ||
"Bug Tracker": "https://github.com/Qiskit/qiskit/issues", | ||
"Documentation": "https://qiskit.org/documentation/", | ||
"Source Code": "https://github.com/Qiskit/qiskit", | ||
}, | ||
include_package_data=True, | ||
python_requires=">=3.8", | ||
extras_require={ | ||
"qasm3-import": ["qiskit-terra[qasm3-import]"], | ||
"visualization": ["qiskit-terra[visualization]"], | ||
"crosstalk-pass": ["qiskit-terra[crosstalk-pass]"], | ||
"csp-layout-pass": ["qiskit-terra[csp-layout-pass]"], | ||
"all": ["qiskit-terra[all]"], | ||
}, | ||
) |
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/remove-toqm-optional-extra-90e974b64ec4a3bd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The ``toqm`` optional setuptools extra that previously enabled running | ||
``pip install qiskit-terra[topm]`` has been removed as nothing in the | ||
Qiskit code base is currently using that package anymore. If you'd like | ||
to use the qiskit TOQM transpiler plugin you should install the | ||
``qiskit-toqm`` package directly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters