From b082b42c026bea1efdbd95014dc70c16e12cc80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Mon, 23 Mar 2020 16:26:12 +0000 Subject: Increase minimum supported Python version to 3.7. This simplifies compatibility with usbmon-tools for the reversing tools, and will allow converting all the type annotations inline, which is less intrusive. --- .travis.yml | 3 +-- README.md | 4 ++-- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index f875f05..d9cf37b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,8 @@ language: python matrix: include: - - python: 3.6 - env: PRE_COMMIT=true - python: 3.7 + env: PRE_COMMIT=true - python: 3.8 - python: 3.9-dev env: RUN_MYPY=false diff --git a/README.md b/README.md index ac465bb..dd78288 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ even if they are all from the same manufacturer, will use different protocols. If you want to contribute code, please note that the target language -is Python 3.6, and that the style to follow is for the most part PEP8 +is Python 3.7, and that the style to follow is for the most part PEP8 compatible. To set up your development environment follow these guidelines: @@ -118,7 +118,7 @@ To set up your development environment follow these guidelines: ```shell $ git clone https://github.com/glucometers-tech/glucometerutils.git $ cd glucometerutils -$ python3 -m venv --python=python3.6 +$ python3 -m venv --python=python3.7 $ . venv/bin/activate $ pip install -e .[dev] $ # If you want to work on a specific driver specify this after dev e.g. diff --git a/pyproject.toml b/pyproject.toml index d1898d8..273b641 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.black] line-length = 88 -target-version = ['py35'] +target-version = ['py37'] exclude = ''' /( \.eggs diff --git a/setup.py b/setup.py index 441218d..9fa3a53 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup( author_email="flameeyes@flameeyes.com", url="https://www.flameeyes.com/p/glucometerutils", keywords=["glucometer", "diabetes"], - python_requires="~=3.6", + python_requires="~=3.7", classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 3", -- cgit v1.2.3