From ce06f2c5f4ea496fba8ab4c4adbc1664993e883a Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 28 Feb 2021 22:03:50 +0100 Subject: [PATCH] only support py36+ --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- setup.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19f7230..0fd0f78 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: rev: v2.10.0 hooks: - id: pyupgrade - args: [--py3-plus] + args: [--py36-plus] - repo: https://github.com/asottile/reorder_python_imports rev: v2.4.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 8b7d6af..3c1ff6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [tool.black] line-length = 150 -target-version = ['py35'] +target-version = ['py36'] diff --git a/setup.py b/setup.py index 82707ab..ad48347 100644 --- a/setup.py +++ b/setup.py @@ -22,8 +22,8 @@ srcdir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/") sys.path.insert(0, srcdir) vi = sys.version_info -if vi < (3, 5): - raise RuntimeError("svtplay-dl requires Python 3.5 or greater") +if vi < (3, 6): + raise RuntimeError("svtplay-dl requires Python 3.6 or greater") about = {} with open(os.path.join(srcdir, "svtplay_dl", "__version__.py")) as f: @@ -53,17 +53,17 @@ setup( long_description_content_type="text/markdown", license="MIT", url="https://svtplay-dl.se", - python_requires=">=3.5", + python_requires=">=3.6", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Topic :: Internet :: WWW/HTTP", "Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Video",