From 08ff0085058c19723256c4561c61de00f675bbd5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 11 Sep 2020 23:56:15 +0300 Subject: [PATCH] Drop support for EOL Python 3.5 --- .pre-commit-config.yaml | 4 ++-- .travis.yml | 1 - README.md | 13 +++++++------ setup.py | 3 +-- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58efd85..8f833d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,13 +3,13 @@ repos: rev: v2.7.2 hooks: - id: pyupgrade - args: ["--py3-plus"] + args: ["--py36-plus"] - repo: https://github.com/psf/black rev: 20.8b1 hooks: - id: black - args: ["--target-version", "py35"] + args: ["--target-version", "py36"] # override until resolved: https://github.com/psf/black/issues/402 files: \.pyi?$ types: [] diff --git a/.travis.yml b/.travis.yml index f904565..688e4e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,6 @@ matrix: - python: 3.8 - python: 3.7 - python: 3.6 - - python: 3.5 - python: 3.9-dev - python: 3.10-dev - python: pypy3 diff --git a/README.md b/README.md index 806c718..6ddcf9f 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,13 @@ Or from requirements.txt: Note: -* 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. -* pyLast 1.0.0 - 1.6.0 supports Python 2.7, 3.3, 3.4. +* pyLast 4.0.0+ supports Python 3.6+. +* pyLast 3.2.0 - 3.3.0 supports Python 3.5-3.8. +* pyLast 3.0.0 - 3.1.0 supports Python 3.5-3.7. +* pyLast 2.2.0 - 2.4.0 supports Python 2.7.10+, 3.4-3.7. +* pyLast 2.0.0 - 2.1.0 supports Python 2.7.10+, 3.4-3.6. +* pyLast 1.7.0 - 1.9.0 supports Python 2.7, 3.3-3.6. +* pyLast 1.0.0 - 1.6.0 supports Python 2.7, 3.3-3.4. * pyLast 0.5 supports Python 2, 3. * pyLast < 0.5 supports Python 2. @@ -49,7 +51,6 @@ Features * Proxy support. * Internal caching support for some web services calls (disabled by default). * Support for other API-compatible networks like Libre.fm. - * Python 3-friendly (Starting from 0.5). Getting started diff --git a/setup.py b/setup.py index 7238518..171283d 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( extras_require={ "tests": ["flaky", "pytest", "pytest-cov", "pytest-random-order", "pyyaml"] }, - python_requires=">=3.5", + python_requires=">=3.6", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", @@ -35,7 +35,6 @@ setup( "Topic :: Multimedia :: Sound/Audio", "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8",