diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 30f60ec9..3d57bb7f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -14,7 +14,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 pylint==2.7.4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1ad3c3b5..d15a6954 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - python-version: [3.9, '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] steps: - name: Cancel Previous Runs @@ -29,6 +29,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip install setuptools pip install git+https://github.com/PennyLaneAI/pennylane.git pip install -r requirements-ci.txt pip install wheel pytest pytest-cov pytest-mock flaky --upgrade @@ -63,11 +64,12 @@ 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 + pip install setuptools pip install git+https://github.com/PennyLaneAI/pennylane.git pip install -r requirements-ci.txt pip install wheel pytest pytest-cov pytest-mock pytest-benchmark flaky --upgrade diff --git a/README.rst b/README.rst index eab139fa..3b0b681b 100644 --- a/README.rst +++ b/README.rst @@ -53,7 +53,7 @@ Features Installation ============ -This plugin requires Python version 3.9 and above, as well as PennyLane and Qiskit. +This plugin requires Python version 3.10 and above, as well as PennyLane and Qiskit. Installation of this plugin, as well as all dependencies, can be done using ``pip``: .. code-block:: bash diff --git a/setup.py b/setup.py index 2b630dab..a71245ae 100644 --- a/setup.py +++ b/setup.py @@ -80,9 +80,9 @@ "Operating System :: Microsoft :: Windows", "Programming Language :: Python", '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" ]