diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5697109..128503c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 @@ -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: | diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 8382a6c..da148dc 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -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: | diff --git a/.readthedocs.yml b/.readthedocs.yml index 4d3dc2f..4c7930d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -27,6 +27,6 @@ python: build: os: ubuntu-22.04 tools: - python: "3.9" + python: "3.10" apt_packages: - graphviz \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e87583b..df282c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. @@ -15,6 +20,7 @@ This release contains contributions from (in alphabetical order): Astral Cai +Pietropaolo Frisoni Radu Marginean --- diff --git a/requirements.txt b/requirements.txt index 10000fa..6154b5e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.py b/setup.py index 77d1a75..3137f28 100644 --- a/setup.py +++ b/setup.py @@ -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", ]