Skip to content

Commit

Permalink
Removing support for python 3.9 and adding support for python 3.12 (#127
Browse files Browse the repository at this point in the history
)

* Removing support for 3.9 and adding support for 3.12

* Adding setuptools as CI reqs

* Adding setuptools as CI reqs

* Adding setuptools

* Adding setuptools

* updating numpy

* Adding setuptools

* updating numpy

* Changed min python version from 3.9 to 3.10

* Changed min python version from 3.9 to 3.10
  • Loading branch information
PietropaoloFrisoni authored Nov 1, 2024
1 parent a308d24 commit 5d6a752
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .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 All @@ -24,7 +24,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install --upgrade git+https://github.com/PennyLaneAI/pennylane.git#egg=pennylane
pip install wheel pytest pytest-cov pytest-mock pytest-benchmark --upgrade
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.10"

- name: Install dependencies
run: |
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
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ python:
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"
apt_packages:
- graphviz
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release 0.39.0

### Breaking changes 💔

* Support for Python 3.9 has been removed, and support for 3.12 has been added.
[(#127)](https://github.com/PennyLaneAI/PennyLane-IonQ/pull/127)

### Improvements 🛠

* Enable multi-circuit submission.
Expand All @@ -15,6 +20,7 @@
This release contains contributions from (in alphabetical order):

Astral Cai
Pietropaolo Frisoni
Radu Marginean

---
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ future==0.18.3
idna==3.3
networkx==2.6.0
ninja==1.10.2.3
numpy==1.23.5
numpy~=1.23
scipy~=1.10
PennyLane==0.24.0
PennyLane-Lightning==0.24.0
python-dateutil==2.8.2
requests==2.31.0
retworkx==0.12.1
scipy==1.10.1
semantic-version==2.6.0
six==1.16.0
toml==0.10.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,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 5d6a752

Please sign in to comment.