From a37e1297a20b0e523a61d099882cb4fc2c43f36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 18 Nov 2020 10:30:56 +0100 Subject: [PATCH] set python3.6 as minimum --- README.rst | 2 +- setup.py | 1 + shell.nix | 3 +-- tox.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4caa025..482d756 100644 --- a/README.rst +++ b/README.rst @@ -19,7 +19,7 @@ for more information) The following features were added: -- Python 3 support (but you need at least Python 2.7 or 3.4) +- Python 3 support (but you need at least Python 3.6) - asyncio/twisted support - support for the client-to-client protocol - support for new commands from MPD (seekcur, prio, prioid, diff --git a/setup.py b/setup.py index 15176f2..ac80dfe 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ def read(fname): setup( name="python-mpd2", version=VERSION, + python_requires='>=3.6', description="A Python MPD client library", long_description=read('README.rst'), classifiers=CLASSIFIERS, diff --git a/shell.nix b/shell.nix index ce0d87e..9bb988a 100644 --- a/shell.nix +++ b/shell.nix @@ -4,12 +4,11 @@ stdenv.mkDerivation { name = "env"; buildInputs = [ bashInteractive - python27 python36 python37 python38 python39 - pypy + pypy3 (python38.withPackages(ps: [ps.setuptools ps.tox ps.wheel ps.twine])) ]; } diff --git a/tox.ini b/tox.ini index 53e7ff1..99e22b7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py36,py37,py38,py39,pypy +envlist = py36,py37,py38,py39,pypy3 [testenv] deps = mock