raise minimum required Python version to 3.8

2.0
Mike Fährmann 3 years ago
parent 6fdcfa941c
commit 9ffdcadd81
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -4,18 +4,20 @@ on:
push: push:
branches: branches:
- master - master
- 2.0
pull_request: pull_request:
branches: branches:
- master - master
- 2.0
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ["3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"] python-version: ["3.8", "3.9", "3.10", "pypy3"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

@ -16,7 +16,7 @@ and powerful `filenaming capabilities <Formatting_>`_.
Dependencies Dependencies
============ ============
- Python_ 3.4+ - Python_ 3.8+
- Requests_ - Requests_
Optional Optional

@ -13,6 +13,7 @@ def read(fname):
with open(path, encoding="utf-8") as file: with open(path, encoding="utf-8") as file:
return file.read() return file.read()
def check_file(fname): def check_file(fname):
path = os.path.join(os.path.dirname(__file__), fname) path = os.path.join(os.path.dirname(__file__), fname)
if os.path.exists(path): if os.path.exists(path):
@ -47,7 +48,7 @@ LONG_DESCRIPTION = read("README.rst")
if "py2exe" in sys.argv: if "py2exe" in sys.argv:
try: try:
import py2exe import py2exe # noqa E401
except ImportError: except ImportError:
sys.exit("Error importing 'py2exe'") sys.exit("Error importing 'py2exe'")
@ -92,7 +93,7 @@ setup(
maintainer="Mike Fährmann", maintainer="Mike Fährmann",
maintainer_email="mike_faehrmann@web.de", maintainer_email="mike_faehrmann@web.de",
license="GPLv2", license="GPLv2",
python_requires=">=3.4", python_requires=">=3.8",
install_requires=[ install_requires=[
"requests>=2.11.0", "requests>=2.11.0",
], ],
@ -122,13 +123,9 @@ setup(
"Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows",
"Operating System :: POSIX", "Operating System :: POSIX",
"Operating System :: MacOS", "Operating System :: MacOS",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Graphics", "Topic :: Multimedia :: Graphics",
"Topic :: Utilities", "Topic :: Utilities",

Loading…
Cancel
Save