Drop support for python 3.6

- Update manual to say minimum version is 3.7.5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2022-09-23 12:30:07 +09:00
parent 29c9768b72
commit 166c89065a
3 changed files with 7 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ Requirements
------------
- Minimum Python version:
3.6
3.7
- Recommended Python version:
3.9 (frequently tested on)
@@ -66,7 +66,6 @@ Requirements
py7zr
texttable
bs4
dataclasses; python_version < "3.7"
defusedxml
- Operating Systems:

View File

@@ -8,16 +8,15 @@ Installation
Requirements
------------
- Minimum Python version: 3.6
- Recommended Python version: 3.7.5 or later
- Minimum Python version: 3.7.5
- Dependent libraries: requests, py7zr, semantic_version, patch, texttable, bs4
- Dependencies: requests, py7zr, semantic_version, patch, texttable, bs4, defusedxml, humanize
Install by pip command
----------------------
Same as usual, it can be installed with `pip`
Same as usual, it can be installed with ``pip``
.. code-block:: bash

View File

@@ -20,10 +20,9 @@ classifiers = [
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.6"
requires-python = ">=3.7"
dependencies = [
"bs4",
"dataclasses;python_version<'3.7'",
"defusedxml",
"humanize",
"patch>=1.16",
@@ -109,7 +108,7 @@ exclude_lines = ["if __name__ == .__main__.:", "pragma: no-cover", "@abstract",
[tool.black]
line-length = 125
target-version = ['py38']
target-version = ['py39']
[tool.isort]
line_length = 125
@@ -142,7 +141,7 @@ markers = [
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = check, docs, py{36,37,38,39,310,311}, py39d, mprof, fil
envlist = check, docs, py{37,38,39,310,311}, py39d, mprof, fil
isolated_build = True
[testenv]
@@ -207,7 +206,6 @@ commands =
[gh-actions]
python =
3.6: py36
3.8: py38, docs, check
3.9: py39
3.10: py310