From a8810553a672407f946cb2e11edab8cd73e2ed43 Mon Sep 17 00:00:00 2001 From: Rickard Bolin Date: Thu, 13 Jan 2022 12:18:15 +0000 Subject: 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 Change-Id: I0d8936d92efd5137561834c0de1a3449f9e5f25c --- .pre-commit-config.yaml | 2 +- Pipfile | 6 +++--- 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 diff --git a/Pipfile b/Pipfile index 24e3e5ec..eaf8ff87 100644 --- a/Pipfile +++ b/Pipfile @@ -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] diff --git a/setup.py b/setup.py index 68fd28e5..4982bb34 100644 --- a/setup.py +++ b/setup.py @@ -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", -- cgit v1.2.1