diff options
author | Rickard Bolin <rickard.bolin@arm.com> | 2022-01-13 12:18:15 +0000 |
---|---|---|
committer | Rickard Bolin <rickard.bolin@arm.com> | 2022-02-09 12:27:01 +0000 |
commit | a8810553a672407f946cb2e11edab8cd73e2ed43 (patch) | |
tree | ae04052db21c1caa5d5a3da84e14a64cfb500086 | |
parent | 211165a378ccb43696c562fe53e1e1937c75a144 (diff) | |
download | ethos-u-vela-a8810553a672407f946cb2e11edab8cd73e2ed43.tar.gz |
MLBEDSW-5912 - Update to Python 3.8
Change required python version from 3.6 to 3.8 in setup.py and allow
any python3 version for black pre-commit linting.
Signed-off-by: Rickard Bolin <rickard.bolin@arm.com>
Change-Id: I0d8936d92efd5137561834c0de1a3449f9e5f25c
-rw-r--r-- | .pre-commit-config.yaml | 2 | ||||
-rw-r--r-- | Pipfile | 6 | ||||
-rw-r--r-- | setup.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 14d098b0..17d38779 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: rev: 19.10b0 hooks: - id: black - language_version: python3.6 + language_version: python3 args: [--line-length=120] - repo: https://gitlab.com/pycqa/flake8 @@ -4,9 +4,9 @@ url = "https://pypi.org/simple" verify_ssl = true [dev-packages] -pre-commit = "*" -pytest = "*" -pytest-cov = "*" +pre-commit = "2.17.0" +pytest = "6.2.5" +pytest-cov = "3.0.0" ethos-u-vela = {editable = true,path = "."} [packages] @@ -77,7 +77,7 @@ setup( "Operating System :: Microsoft :: Windows :: Windows 10", "Programming Language :: C", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.8", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Software Development :: Compilers", ], @@ -89,7 +89,7 @@ setup( "ethosu.vela.tosa", "ethosu.mlw_codec", ], - python_requires="~=3.6", + python_requires="~=3.8", install_requires=[ "flatbuffers==1.12.0", "numpy>=1.16.6,<=1.19.5", |