Drop support for EOL Python 3.5

This commit is contained in:
Hugo van Kemenade 2020-09-11 23:56:15 +03:00
parent 0f96fe58b1
commit 08ff008505
4 changed files with 10 additions and 11 deletions

View file

@ -3,13 +3,13 @@ repos:
rev: v2.7.2 rev: v2.7.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: ["--py3-plus"] args: ["--py36-plus"]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 20.8b1 rev: 20.8b1
hooks: hooks:
- id: black - id: black
args: ["--target-version", "py35"] args: ["--target-version", "py36"]
# override until resolved: https://github.com/psf/black/issues/402 # override until resolved: https://github.com/psf/black/issues/402
files: \.pyi?$ files: \.pyi?$
types: [] types: []

View file

@ -23,7 +23,6 @@ matrix:
- python: 3.8 - python: 3.8
- python: 3.7 - python: 3.7
- python: 3.6 - python: 3.6
- python: 3.5
- python: 3.9-dev - python: 3.9-dev
- python: 3.10-dev - python: 3.10-dev
- python: pypy3 - python: pypy3

View file

@ -31,11 +31,13 @@ Or from requirements.txt:
Note: Note:
* pylast 3.0.0+ supports Python 3.5+ ([#265](https://github.com/pylast/pylast/issues/265)) * pyLast 4.0.0+ supports Python 3.6+.
* pyLast 2.2.0 - 2.4.0 supports Python 2.7.10+, 3.4, 3.5, 3.6, 3.7. * pyLast 3.2.0 - 3.3.0 supports Python 3.5-3.8.
* pyLast 2.0.0 - 2.1.0 supports Python 2.7.10+, 3.4, 3.5, 3.6. * pyLast 3.0.0 - 3.1.0 supports Python 3.5-3.7.
* pyLast 1.7.0 - 1.9.0 supports Python 2.7, 3.3, 3.4, 3.5, 3.6. * pyLast 2.2.0 - 2.4.0 supports Python 2.7.10+, 3.4-3.7.
* pyLast 1.0.0 - 1.6.0 supports Python 2.7, 3.3, 3.4. * 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, 3.
* pyLast < 0.5 supports Python 2. * pyLast < 0.5 supports Python 2.
@ -49,7 +51,6 @@ Features
* Proxy support. * Proxy support.
* Internal caching support for some web services calls (disabled by default). * Internal caching support for some web services calls (disabled by default).
* Support for other API-compatible networks like Libre.fm. * Support for other API-compatible networks like Libre.fm.
* Python 3-friendly (Starting from 0.5).
Getting started Getting started

View file

@ -27,7 +27,7 @@ setup(
extras_require={ extras_require={
"tests": ["flaky", "pytest", "pytest-cov", "pytest-random-order", "pyyaml"] "tests": ["flaky", "pytest", "pytest-cov", "pytest-random-order", "pyyaml"]
}, },
python_requires=">=3.5", python_requires=">=3.6",
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
@ -35,7 +35,6 @@ setup(
"Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Sound/Audio",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",