Skip to content

Commit

Permalink
Remove support for Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
astralcai committed Nov 1, 2024
1 parent 8f90a4a commit 98f197c
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 16 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.9
python-version: 3.10

- name: Install dependencies
run: pip install black
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']

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.9
python-version: 3.10

- name: Build and install Plugin
run: |
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@
* Fix deprecated import path for `QubitDevice`.
[(#194)](https://github.com/PennyLaneAI/pennylane-cirq/pull/194)
[(#195)](https://github.com/PennyLaneAI/pennylane-cirq/pull/195)

### Breaking changes 💔

* Removed support for Python 3.9
[]()

### Contributors ✍️

This release contains contributions from (in alphabetical order):

Astral Cai
Astral Cai,
Alex Preciado

---
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ Dependencies

PennyLane-Cirq requires the following libraries be installed:

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

as well as the following Python packages:

* `PennyLane <http://pennylane.readthedocs.io/>`__ >= 0.17
* `PennyLane <http://pennylane.readthedocs.io/>`__ >= 0.29
* `Cirq <https://cirq.readthedocs.io/>`__ >= 0.10.0

To use the qsim and qsimh devices, the qsim-Cirq interface ``qsimcirq`` is required:
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sympy==1.9
toml==0.10.2
tqdm==4.64.0
tqdm==4.66.3
traitlets==5.1.0
typing_extensions==4.2.0
urllib3==1.26.18
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ six==1.16.0
sortedcontainers==2.4.0
sympy==1.8
toml==0.10.2
tqdm==4.62.2
tqdm==4.66.3
traitlets==5.1.0
typing_extensions==4.2.0
urllib3==1.26.18
19 changes: 11 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#!/usr/bin/env python3
# !/usr/bin/env python3

import sys
import os
Expand All @@ -35,12 +35,15 @@
"url": "http://xanadu.ai",
"license": "Apache License 2.0",
"packages": ["pennylane_cirq"],
"entry_points": {"pennylane.plugins": ["cirq.simulator = pennylane_cirq:SimulatorDevice",
"cirq.mixedsimulator = pennylane_cirq:MixedStateSimulatorDevice",
"cirq.qsim = pennylane_cirq.qsim_device:QSimDevice",
"cirq.qsimh = pennylane_cirq.qsim_device:QSimhDevice",
"cirq.pasqal = pennylane_cirq:PasqalDevice"],},
# Place a one line description here. This will be shown by pip
"entry_points": {
"pennylane.plugins": [
"cirq.simulator = pennylane_cirq:SimulatorDevice",
"cirq.mixedsimulator = pennylane_cirq:MixedStateSimulatorDevice",
"cirq.qsim = pennylane_cirq.qsim_device:QSimDevice",
"cirq.qsimh = pennylane_cirq.qsim_device:QSimhDevice",
"cirq.pasqal = pennylane_cirq:PasqalDevice"
],
},
"description": "PennyLane plugin for Cirq",
"long_description": open("README.rst").read(),
"long_description_content_type": "text/x-rst",
Expand All @@ -62,9 +65,9 @@
"Programming Language :: Python",
# Make sure to specify here the versions of Python supported
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Physics",
]
Expand Down

0 comments on commit 98f197c

Please sign in to comment.