Skip to content

Commit

Permalink
Drop Python 3.8 support (#136)
Browse files Browse the repository at this point in the history
* Drop 3.8

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Matthew Silverman <[email protected]>

* Fix readthedocs

---------

Co-authored-by: Matthew Silverman <[email protected]>
  • Loading branch information
mudit2812 and timmysilv authored Aug 23, 2023
1 parent e0e6db9 commit 20b69ef
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Install dependencies
run: pip install black
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.10"]
python-version: ["3.9", "3.11"]

steps:
- name: Cancel Previous Runs
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.10"]
python-version: ["3.9", "3.11"]

steps:
- name: Cancel Previous Runs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Run Forest Quilc
run: docker run --rm -d -p 5555:5555 rigetti/quilc:1.23.0 -R
Expand Down
7 changes: 5 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ formats:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: doc/requirements.txt
- method: pip
path: .

build:
image: latest
os: ubuntu-22.04
tools:
python: "3.9"
apt_packages:
- graphviz
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

### Breaking changes 💔

* Support for Python 3.8 has been removed, and support for Python 3.11 has been added.
[(#136)](https://github.com/PennyLaneAI/pennylane-rigetti/pull/136)

### Deprecations 👋

### Documentation 📝
Expand All @@ -19,7 +22,8 @@

This release contains contributions from (in alphabetical order):

Jay Soni
Mudit Pandey,
Jay Soni

---

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Dependencies

PennyLane-Rigetti requires the following libraries be installed:

* `Python <http://python.org/>`__ >=3.8
* `Python <http://python.org/>`__ >=3.9

as well as the following Python packages:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
]
Expand Down

0 comments on commit 20b69ef

Please sign in to comment.