Skip to content

Commit 4cb6c1e

Browse files
mariaschuldjosh146
andauthored
Polish plugin for next release (#66)
* update versions * update changelog Co-authored-by: Josh Izaac <josh146@gmail.com>
1 parent 4c73e93 commit 4cb6c1e

File tree

5 files changed

+47
-8
lines changed

5 files changed

+47
-8
lines changed

.github/CHANGELOG.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# Release 0.9.0-dev
1+
# Release 0.11.0
22

3-
### New features since last release
3+
### Improvements
44

5-
### Breaking changes
5+
* The PennyLane-PQ plugin now supports ProjectQ v0.5.1
6+
[(#62)](https://github.com/XanaduAI/pennylane-pq/pull/62)
67

7-
### Improvements
8+
* Updates the device to support lists of custom wire labels.
9+
[(#65)](https://github.com/PennyLaneAI/pennylane-pq/pull/65)
810

911
### Documentation
1012

@@ -15,7 +17,7 @@
1517
### Bug fixes
1618

1719
* Updated the plugin to use the latest IBMQBackend from ProjectQ.
18-
[(#62)](https://github.com/XanaduAI/pennylane-pq/pull/61)
20+
[(#62)](https://github.com/XanaduAI/pennylane-pq/pull/62)
1921

2022
### Contributors
2123

.github/workflows/upload.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Upload
2+
on:
3+
release:
4+
types: [created]
5+
6+
jobs:
7+
upload:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v2
14+
with:
15+
python-version: 3.7
16+
17+
- name: Build and install Plugin
18+
run: |
19+
python -m pip install --upgrade pip wheel
20+
python setup.py bdist_wheel
21+
pip install dist/PennyLane*.whl
22+
23+
- name: Install test dependencies
24+
run: |
25+
pip install wheel pytest pytest-cov pytest-mock --upgrade
26+
27+
- name: Run tests
28+
env:
29+
IBMQX_TOKEN: ${{ secrets.IBMQX_TOKEN }}
30+
run: |
31+
python -m pytest tests --tb=native
32+
33+
- name: Publish
34+
uses: pypa/gh-action-pypi-publish@master
35+
with:
36+
user: __token__
37+
password: ${{ secrets.PYPI }}

pennylane_pq/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
Version number (major.minor.patch[-label])
1717
"""
1818

19-
__version__ = "0.9.0-dev"
19+
__version__ = "0.11.0"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
projectq>=0.5.1
2-
pennylane>=0.11.0dev
2+
pennylane>=0.11
33
pybind11

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
version = f.readlines()[-1].split()[-1].strip("\"'") # pylint: disable=invalid-name
2020

2121

22-
requirements = ["projectq>=0.5.1", "pennylane>=0.6"] # pylint: disable=invalid-name
22+
requirements = ["projectq>=0.5.1", "pennylane>=0.11"] # pylint: disable=invalid-name
2323

2424

2525
info = { # pylint: disable=invalid-name

0 commit comments

Comments
 (0)