Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try changing 3.9 to 3.12 in the file and save it. #78

Merged
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
12 changes: 7 additions & 5 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.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']


steps:
Expand All @@ -29,13 +29,15 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip

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 --upgrade

- name: Install Plugin
run: |
pip install --upgrade pip setuptools
python setup.py bdist_wheel
pip install dist/pennylane*.whl

Expand All @@ -61,11 +63,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip setuptools
JerryChen97 marked this conversation as resolved.
Show resolved Hide resolved
pip install -r requirements.txt
pip install pytest-benchmark
pip install --upgrade git+https://github.com/PennyLaneAI/pennylane.git#egg=pennylane
Expand All @@ -84,4 +86,4 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
file: ./coverage.xml
4 changes: 2 additions & 2 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ 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: |
python -m pip install --upgrade pip wheel
python -m pip install --upgrade pip wheel setuptools
python setup.py bdist_wheel
pattern="dist/pennylane*.whl"
wheel=( $pattern )
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
Expand Up @@ -5,11 +5,17 @@
* Fix deprecated import path for `QubitDevice`.
[(#74)](https://github.com/PennyLaneAI/pennylane-qulacs/pull/74)

### Breaking changes 💔

* Removes support for Python 3.9.
[(#43)](https://github.com/PennyLaneAI/pennylane-qulacs/pull/78)

### Contributors ✍️

This release contains contributions from (in alphabetical order):

Astral Cai
Yushao Chen

---
# Release 0.36.0
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ and compared the runtimes between CPU and GPU.
Installation
============

This plugin requires Python version 3.6 or above, as well as PennyLane and
This plugin requires Python version 3.10 or above, as well as PennyLane and
Qulacs. Installation of this plugin, as well as all dependencies, can be done
using ``pip``:

Expand Down Expand Up @@ -128,7 +128,7 @@ Dependencies

PennyLane-Qulacs requires the following libraries be installed:

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

as well as the following Python packages:

Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.
#!/usr/bin/env python3
import re
from setuptools import setup

from setuptools import setup

with open("./pennylane_qulacs/_version.py") as f:
(version,) = re.findall('__version__ = "(.*)"', f.read())
Expand All @@ -40,7 +40,9 @@
"license": "Apache License 2.0",
"packages": ["pennylane_qulacs"],
"entry_points": {
"pennylane.plugins": ["qulacs.simulator = pennylane_qulacs.qulacs_device:QulacsDevice"]
"pennylane.plugins": [
"qulacs.simulator = pennylane_qulacs.qulacs_device:QulacsDevice"
]
},
"description": "PennyLane plugin for Qulacs.",
"long_description": open("README.rst").read(),
Expand All @@ -63,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
Loading