Skip to content

Commit

Permalink
Only support py3.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
spaam committed Dec 12, 2023
1 parent 94dd52b commit 4de27cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py38-plus]
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.12.0
hooks:
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
sys.path.insert(0, srcdir)

vi = sys.version_info
if vi < (3, 6):
raise RuntimeError("svtplay-dl requires Python 3.6 or greater")
if vi < (3, 8):
raise RuntimeError("svtplay-dl requires Python 3.8 or greater")

about = {}
with open(os.path.join(srcdir, "svtplay_dl", "__version__.py")) as f:
Expand Down Expand Up @@ -54,17 +54,18 @@
long_description_content_type="text/markdown",
license="MIT",
url="https://svtplay-dl.se",
python_requires=">=3.6",
python_requires=">=3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
Expand Down

0 comments on commit 4de27cc

Please sign in to comment.