Skip to content

Commit

Permalink
remove python 3.9 support/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
natestemen committed Jun 26, 2024
1 parent ef31ca2 commit 36b01c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- name: Check out mitiq
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The rest of this document describes the technical details of getting set up to d

## Development environment

1. Ensure you have python 3.9 or greater installed. If not, you can find the downloads [here](https://www.python.org/downloads/).
1. Ensure you have python 3.10 or greater installed. If not, you can find the downloads [here](https://www.python.org/downloads/).
2. Set up a virtual environment to isolate dependencies. This can be done with many different tools including [Virtualenv](https://virtualenv.pypa.io/en/latest/), [Pipenv](https://pypi.org/project/pipenv/), [Poetry](https://python-poetry.org/), and [Anaconda](https://www.anaconda.com/download). In what follows we will use Anaconda, but if you're familiar with other tools feel free to use those.
3. Set up a local version of the [Mitiq repository](https://github.com/unitaryfund/mitiq). To do this you will need to use `git` which is a version control system. If you're unfamiliar, check out the [docs](https://git-scm.com/), and learn about what the typical [`git` workflow](https://www.asmeurer.com/git-workflow/) looks like.
4. Inside the Mitiq repository (`cd mitiq`), activate a virtual environment. With conda this is done using the following command.
Expand Down
4 changes: 1 addition & 3 deletions requirements/requirements-pennylane.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
pennylane-qiskit~=0.36.0
pennylane~=0.36.0
# TODO: Remove qiskit-ibm-provider when upgrading qiskit-ibm-runtime in requirements-qiskit
qiskit-ibm-provider~=0.11.0; python_version == '3.9'
pennylane~=0.36.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load_requirements(filename):
"Documentation": "https://mitiq.readthedocs.io/en/stable/",
"Source": "https://github.com/unitaryfund/mitiq/",
},
python_requires=">=3.9,<3.13",
python_requires=">=3.10,<3.13",
)

# restore _version.py to its previous state
Expand Down

0 comments on commit 36b01c7

Please sign in to comment.