Skip to content

Commit

Permalink
Update: Add support for Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ameyer-rigetti committed May 14, 2021
1 parent 7d54936 commit 8668f29
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
26 changes: 26 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,32 @@ Test e2e QVM (3.8):
- . scripts/ci_install_deps
- poetry run make e2e TEST_QUANTUM_PROCESSOR=2q-qvm

Test Unit (3.9):
stage: test
image: python:3.9
coverage: '/TOTAL.*?(\d+)\%/'
script:
- . scripts/ci_install_deps
- poetry run make test

Test e2e QPU (3.9):
stage: test
image: python:3.9
coverage: '/TOTAL.*?(\d+)\%/'
script:
- . scripts/ci_install_deps
- poetry run make e2e
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "rc"'

Test e2e QVM (3.9):
stage: test
image: python:3.9
coverage: '/TOTAL.*?(\d+)\%/'
script:
- . scripts/ci_install_deps
- poetry run make e2e TEST_QUANTUM_PROCESSOR=2q-qvm

Coverage:
stage: test
script:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changelog

### Announcements

- Python 3.6 is no longer supported. Python 3.7 and 3.8 will continue to be supported.
- Python 3.6 is no longer supported. Python 3.7, 3.8, and 3.9 are supported.

### Improvements and Changes

Expand Down

0 comments on commit 8668f29

Please sign in to comment.