Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop python 3.4 support, which paves a way for nicer API for asyncio among other things #251

Merged
merged 1 commit into from
Mar 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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