Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinning qiskit in setup.py #604

Merged
merged 2 commits into from
Dec 4, 2024
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@

### Bug fixes 🐛

### Other changes

* The `qiskit` dependency has been temporarily pinned to version `<1.3` to prevent wrong results.
At present, `pennylane-qiskit` is incompatible with `qiskit 1.3`.
[(#603)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/603)
[(#604)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/604)

### Contributors ✍️

This release contains contributions from (in alphabetical order):

Pietropaolo Frisoni,
Andrija Paurevic

---
Expand Down
78 changes: 39 additions & 39 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
long_description = fh.read()

requirements = [
"qiskit>=0.32",
"qiskit>=0.32,<1.3",
"qiskit-aer",
"qiskit-ibm-runtime<=0.29",
"qiskit-ibm-provider",
Expand All @@ -33,39 +33,39 @@
]

info = {
'name': 'PennyLane-qiskit',
'version': version,
'maintainer': 'Xanadu',
'maintainer_email': '[email protected]',
'url': 'https://github.com/XanaduAI/pennylane-qiskit',
'license': 'Apache License 2.0',
'packages': [
'pennylane_qiskit'
],
'entry_points': {
'pennylane.plugins': [
'qiskit.remote = pennylane_qiskit:RemoteDevice',
'qiskit.aer = pennylane_qiskit:AerDevice',
'qiskit.basicaer = pennylane_qiskit:BasicAerDevice',
'qiskit.basicsim = pennylane_qiskit:BasicSimulatorDevice',
],
'pennylane.io': [
'qiskit = pennylane_qiskit:load',
'qiskit_op = pennylane_qiskit:load_pauli_op',
'qiskit_noise = pennylane_qiskit:load_noise_model',
'qasm = pennylane_qiskit:load_qasm',
'qasm_file = pennylane_qiskit:load_qasm_from_file',
],
},
'description': 'PennyLane plugin for Qiskit',
'long_description': open('README.rst').read(),
'provides': ["pennylane_qiskit"],
'install_requires': requirements,
"name": "PennyLane-qiskit",
"version": version,
"maintainer": "Xanadu",
"maintainer_email": "[email protected]",
"url": "https://github.com/XanaduAI/pennylane-qiskit",
"license": "Apache License 2.0",
"packages": ["pennylane_qiskit"],
"entry_points": {
"pennylane.plugins": [
"qiskit.remote = pennylane_qiskit:RemoteDevice",
"qiskit.aer = pennylane_qiskit:AerDevice",
"qiskit.basicaer = pennylane_qiskit:BasicAerDevice",
"qiskit.basicsim = pennylane_qiskit:BasicSimulatorDevice",
],
"pennylane.io": [
"qiskit = pennylane_qiskit:load",
"qiskit_op = pennylane_qiskit:load_pauli_op",
"qiskit_noise = pennylane_qiskit:load_noise_model",
"qasm = pennylane_qiskit:load_qasm",
"qasm_file = pennylane_qiskit:load_qasm_from_file",
],
},
"description": "PennyLane plugin for Qiskit",
"long_description": open("README.rst").read(),
"provides": ["pennylane_qiskit"],
"install_requires": requirements,
# 'extras_require': extra_requirements,
'command_options': {
'build_sphinx': {
'version': ('setup.py', version),
'release': ('setup.py', version)}}
"command_options": {
"build_sphinx": {
"version": ("setup.py", version),
"release": ("setup.py", version),
}
},
}

classifiers = [
Expand All @@ -79,12 +79,12 @@
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
"Topic :: Scientific/Engineering :: Physics"
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
]

setup(classifiers=classifiers, **(info))
Loading