Skip to content

Commit

Permalink
Drop python 3.4 support, which paves a way for nicer API for asyncio …
Browse files Browse the repository at this point in the history
…among other things
  • Loading branch information
rytilahti committed Mar 6, 2018
1 parent 35c0355 commit e2bb5b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,7 +1,6 @@
sudo: false
language: python
python:
- "3.4"
- "3.5"
- "3.6"
install: pip install tox-travis coveralls
Expand Down
4 changes: 2 additions & 2 deletions miio/click_common.py
Expand Up @@ -3,8 +3,8 @@
This file contains common functions for cli tools.
"""
import sys
if sys.version_info < (3, 4):
print("To use this script you need python 3.4 or newer, got %s" %
if sys.version_info < (3, 5):
print("To use this script you need python 3.5 or newer, got %s" %
sys.version_info)
sys.exit(1)
import click
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -30,7 +30,6 @@ def readme():
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand All @@ -41,14 +40,13 @@ def readme():

packages=["miio", "mirobo"],

python_requires='>=3.4',
python_requires='>=3.5',

install_requires=[
'construct==2.9.31',
'click',
'cryptography',
'pretty_cron',
'typing; python_version < "3.5"',
'zeroconf',
'attrs',
'android_backup',
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
@@ -1,8 +1,7 @@
[tox]
envlist=py34,py35,py36,py37,flake8,typing
envlist=py35,py36,py37,flake8,typing

[tox:travis]
3.4 = py34
3.5 = py35
3.6 = py36
3.7 = py37
Expand Down

0 comments on commit e2bb5b8

Please sign in to comment.