Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Drop support for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Nov 23, 2022
1 parent 18e3cf8 commit d9b65bc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-20.04]
python-version: [3.6, '3.10']
os: [ubuntu-latest]
python-version: [3.7, '3.10']
include:
- os: macos-latest
python-version: 3.7
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The remainder of this document will assume you are in the root directory of the

## Set up a virtual Python Environment

Next, we assume that [Python](https://www.python.org/) 3.6 or higher is installed. It is recommended to use a Python virtual environment that is dedicated to working with `qrao`. The steps in the remainder of this tutorial will assume that this environment is activated using either method.
Next, we assume that [Python](https://www.python.org/) 3.7 or higher is installed. It is recommended to use a Python virtual environment that is dedicated to working with `qrao`. The steps in the remainder of this tutorial will assume that this environment is activated using either method.

### Option 1: venv (included in Python)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![Platform](https://img.shields.io/badge/Platform-Linux%20%7C%20macOS%20%7C%20Windows-informational)
[![Python](https://img.shields.io/badge/Python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-informational)](https://www.python.org/)
[![Python](https://img.shields.io/badge/Python-3.7%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-informational)](https://www.python.org/)
[![Qiskit](https://img.shields.io/badge/Qiskit-%E2%89%A5%200.34.2-6133BD)](https://github.com/Qiskit/qiskit)
[![Qiskit Optimization](https://img.shields.io/badge/Qiskit%20Optimization-%E2%89%A5%200.3.0-6133BD)](https://github.com/Qiskit/qiskit-optimization)
[![License](https://img.shields.io/github/license/qiskit-community/prototype-qrao?label=License)](https://github.com/qiskit-community/prototype-qrao/blob/main/LICENSE.txt)
Expand Down Expand Up @@ -66,7 +66,7 @@ Quantum random access optimization is composed of two main steps as shown in the

### Installation

Python 3.6 or higher is required. Full installation instructions are provided in [`INSTALL.md`](INSTALL.md), but here is a quick summary:
Python 3.7 or higher is required. Full installation instructions are provided in [`INSTALL.md`](INSTALL.md), but here is a quick summary:

```sh
$ git clone https://github.com/qiskit-community/prototype-qrao.git
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
certifi>=2021.5.30
importlib_metadata>=4.8.1,!=5.0.0
qiskit-terra>=0.19.2
qiskit-terra>=0.21.0
qiskit-aer>=0.10.3
qiskit-ibmq-provider>=0.18.3
qiskit-optimization>=0.3.0
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=install_requires,
python_requires=">=3.6",
# The following line is pinned, else it fails on python 3.6
setup_requires=["setuptools_scm<7.0"],
python_requires=">=3.7",
use_scm_version=True,
classifiers=[
"Development Status :: 4 - Beta",
Expand All @@ -46,7 +44,6 @@
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ commands =
[testenv:lint]
commands =
black --check .
pylint -rn --py-version=3.6 --disable=fixme,invalid-name,missing-function-docstring,protected-access,duplicate-code qrao tests
nbqa pylint -rn --py-version=3.6 --disable=missing-module-docstring,wrong-import-position,invalid-name,missing-function-docstring,pointless-statement,duplicate-code docs/ tests/
pylint -rn --py-version=3.7 --disable=fixme,invalid-name,missing-function-docstring,protected-access,duplicate-code qrao tests
nbqa pylint -rn --py-version=3.7 --disable=missing-module-docstring,wrong-import-position,invalid-name,missing-function-docstring,pointless-statement,duplicate-code docs/ tests/
mypy qrao tests

[testenv:black]
Expand Down

0 comments on commit d9b65bc

Please sign in to comment.