Skip to content

Commit

Permalink
Incrementing the version number to 0.9.0 (#50)
Browse files Browse the repository at this point in the history
* Increasing PyQuil version to the latest version

* Bumping the PennyLane version number

* Updating plugin version number and pennylane requires

* Ease back PyQuil version

* Adding Python 3.8 to the classifiers in setup.py

* Test docstring
  • Loading branch information
antalszava committed May 15, 2020
1 parent 2ea5232 commit d2e3870
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pennylane_forest/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.8.0"
__version__ = "0.9.0"
2 changes: 1 addition & 1 deletion pennylane_forest/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class ForestDevice(QubitDevice):
variable ``QUILC_URL``, or in the ``~/.forest_config`` configuration file.
Default value is ``"http://127.0.0.1:6000"``.
"""
pennylane_requires = ">=0.8"
pennylane_requires = ">=0.9"
version = __version__
author = "Rigetti Computing Inc."

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyquil>=2.16
git+https://github.com/XanaduAI/pennylane.git#egg=pennylane
pennylane>=0.9
networkx
flaky
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
version = f.readlines()[-1].split()[-1].strip("\"'")


requirements = ["pyquil>=2.16", "pennylane>=0.8"]
requirements = ["pyquil>=2.16", "pennylane>=0.9"]

info = {
"name": "PennyLane-Forest",
Expand Down Expand Up @@ -54,6 +54,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
]
Expand Down
3 changes: 2 additions & 1 deletion tests/test_qvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,8 @@ def circuit(params, wires, statement=None):

@pytest.mark.parametrize("device", ["2q-qvm", np.random.choice(VALID_QPU_LATTICES)])
def test_compiled_program_was_stored_mutable_qnode_with_loop(self, qvm, device):
"""Test that QVM device stores the compiled program when the QNode is mutated correctly"""
"""Test that QVM device stores the compiled program when the QNode is
mutated correctly"""
dev = qml.device("forest.qvm", device=device, timeout=80)

assert len(dev._compiled_program_dict.items()) == 0
Expand Down

0 comments on commit d2e3870

Please sign in to comment.