mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-17 06:20:27 +00:00
Raise minimum Python version to 3.9
This commit is contained in:
parent
d13ef0448b
commit
284969e7bb
7 changed files with 11 additions and 9 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -22,13 +22,12 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.9"
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
toxenv: [py]
|
||||
include:
|
||||
- python-version: "3.8"
|
||||
- python-version: "3.9"
|
||||
toxenv: minreqs
|
||||
|
||||
services:
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ Features
|
|||
Installation
|
||||
-------------
|
||||
|
||||
Python 3.8 or later is needed. Using pip to install LinkChecker:
|
||||
Python 3.9 or later is needed. Using pip to install LinkChecker:
|
||||
|
||||
``pip3 install linkchecker``
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Introduction
|
|||
LinkChecker is a free, `GPL <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>`_
|
||||
licensed website validator.
|
||||
LinkChecker checks links in web documents or full websites.
|
||||
It runs on Python 3 systems, requiring Python 3.8 or later.
|
||||
It runs on Python 3 systems, requiring Python 3.9 or later.
|
||||
|
||||
Visit the project on `GitHub <https://github.com/linkchecker/linkchecker>`_.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
Upgrading
|
||||
=========
|
||||
|
||||
Migrating from 10.3 to 10.x
|
||||
---------------------------
|
||||
Python 3.9 or newer is required.
|
||||
|
||||
Migrating from 10.2 to 10.3
|
||||
---------------------------
|
||||
Python 3.8 or newer is required.
|
||||
|
|
|
|||
|
|
@ -20,11 +20,11 @@ Main package for link checking.
|
|||
# version checks
|
||||
import sys
|
||||
|
||||
if sys.version_info < (3, 8, 0, 'final', 0):
|
||||
if sys.version_info < (3, 9, 0, 'final', 0):
|
||||
import platform
|
||||
|
||||
raise SystemExit(
|
||||
"This program requires Python 3.8 or later instead of %s."
|
||||
"This program requires Python 3.9 or later instead of %s."
|
||||
% platform.python_version()
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,14 +11,13 @@ classifiers = [
|
|||
"Development Status :: 5 - Production/Stable",
|
||||
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
||||
"Programming Language :: Python",
|
||||
"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",
|
||||
]
|
||||
|
||||
requires-python = ">=3.8"
|
||||
requires-python = ">=3.9"
|
||||
|
||||
dependencies = [
|
||||
"requests >= 2.20",
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py3{8,9,10,11,12}, minreqs
|
||||
envlist = py3{9,10,11,12}, minreqs
|
||||
|
||||
[base]
|
||||
deps =
|
||||
|
|
|
|||
Loading…
Reference in a new issue