Skip to content

Commit

Permalink
Polish plugin for next release (#66)
Browse files Browse the repository at this point in the history
* update versions

* update changelog

Co-authored-by: Josh Izaac <[email protected]>
  • Loading branch information
mariaschuld and josh146 authored Aug 18, 2020
1 parent 4c73e93 commit 4cb6c1e
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Release 0.9.0-dev
# Release 0.11.0

### New features since last release
### Improvements

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

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

### Documentation

Expand All @@ -15,7 +17,7 @@
### Bug fixes

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

### Contributors

Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Upload
on:
release:
types: [created]

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Build and install Plugin
run: |
python -m pip install --upgrade pip wheel
python setup.py bdist_wheel
pip install dist/PennyLane*.whl
- name: Install test dependencies
run: |
pip install wheel pytest pytest-cov pytest-mock --upgrade
- name: Run tests
env:
IBMQX_TOKEN: ${{ secrets.IBMQX_TOKEN }}
run: |
python -m pytest tests --tb=native
- name: Publish
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI }}
2 changes: 1 addition & 1 deletion pennylane_pq/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.9.0-dev"
__version__ = "0.11.0"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
projectq>=0.5.1
pennylane>=0.11.0dev
pennylane>=0.11
pybind11
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
version = f.readlines()[-1].split()[-1].strip("\"'") # pylint: disable=invalid-name


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


info = { # pylint: disable=invalid-name
Expand Down

0 comments on commit 4cb6c1e

Please sign in to comment.