Drop support for Python 3.4 (EOL 2019-03-16)

This commit is contained in:
hugovk 2018-11-26 22:50:06 +02:00 committed by Hugo
parent 53806b0a71
commit 742df8b674
4 changed files with 5 additions and 8 deletions

View file

@ -25,8 +25,6 @@ matrix:
env: TOXENV=py36
- python: 3.5
env: TOXENV=py35
- python: 3.4
env: TOXENV=py34
- python: pypy3
env: TOXENV=pypy3
- python: 3.8-dev

View file

@ -18,7 +18,7 @@ Installation
Install via pip:
pip install pylast
Install latest development version:
pip install -U git+https://github.com/pylast/pylast.git
@ -29,7 +29,7 @@ Or from requirements.txt:
Note:
* pylast 3.0.0+ supports Python 3.4+ ([#265](https://github.com/pylast/pylast/issues/265))
* pylast 3.0.0+ supports Python 3.5+ ([#265](https://github.com/pylast/pylast/issues/265))
* pyLast 2.2.0 - 2.4.0 supports Python 2.7.10+, 3.4, 3.5, 3.6, 3.7.
* pyLast 2.0.0 - 2.1.0 supports Python 2.7.10+, 3.4, 3.5, 3.6.
* pyLast 1.7.0 - 1.9.0 supports Python 2.7, 3.3, 3.4, 3.5, 3.6.

View file

@ -10,7 +10,7 @@ with open("pylast/version.py") as f:
version = version_dict["__version__"]
if sys.version_info < (3, 4):
if sys.version_info < (3, 5):
error = """pylast 3.0 and above are no longer compatible with Python 2.
This is pylast {} and you are using Python {}.
@ -64,7 +64,6 @@ setup(
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
@ -72,7 +71,7 @@ setup(
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
python_requires=">=3.4",
python_requires=">=3.5",
keywords=["Last.fm", "music", "scrobble", "scrobbling"],
packages=find_packages(exclude=("tests*",)),
license="Apache2",

View file

@ -1,5 +1,5 @@
[tox]
envlist = py37, py36, py35, py34, pypy3, py38dev
envlist = py37, py36, py35, pypy3, py38dev
recreate = False
[testenv]