From 6ea2b18d475dd3584838f8f9a4fe9e1f7af6517e Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 23 Oct 2023 19:12:38 -0700 Subject: [PATCH] Drop Python 3.7 support (end of lifed). --- setup.py | 10 ++++++++-- test_requirements.txt | 14 +++++++------- tox.ini | 4 ++-- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 986113a..9d3094e 100644 --- a/setup.py +++ b/setup.py @@ -20,9 +20,15 @@ setup( "Topic :: Text Processing :: Markup", ], packages=find_packages(exclude=["tests*"]), - entry_points={"console_scripts": ["novel-stats = novel_stats.novel_stats:main",]}, + entry_points={ + "console_scripts": [ + "novel-stats = novel_stats.novel_stats:main", + ] + }, install_requires=(), - extras_require={"multi_file": ["MarkdownPP"],}, + extras_require={ + "multi_file": ["MarkdownPP"], + }, include_package_data=True, python_requires='>3.7.0', ) diff --git a/test_requirements.txt b/test_requirements.txt index b7e793f..2191088 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,18 +1,18 @@ -appdirs==1.4.4; python_version >= '3.8' -attrs==23.1.0; python_version >= '3.8' -black==23.10.1; python_version >= '3.8' -click==8.1.7; python_version >= '3.8' +appdirs==1.4.4 +attrs==23.1.0 +black==23.10.1 +click==8.1.7 coverage==7.3.2 flake8==6.1.0 flexmock==0.11.3 isort==5.12.0 mccabe==0.7.0 pluggy==1.3.0 -pathspec==0.11.2; python_version >= '3.8' +pathspec==0.11.2 py==1.11.0 pycodestyle==2.11.1 pyflakes==3.1.0 pytest==7.4.2 pytest-cov==4.1.0 -regex; python_version >= '3.8' -typed-ast; python_version >= '3.8' +regex +typed-ast diff --git a/tox.ini b/tox.ini index 9330b63..8d825f1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -env_list = py37,py38,py39,py310,py311 +env_list = py38,py39,py310,py311 skip_missing_interpreters = True package = editable minversion = 4.0 @@ -10,7 +10,7 @@ deps = pass_env = COVERAGE_FILE commands = pytest {posargs} - py38,py39: black --check . + black --check . isort --check-only --settings-path setup.cfg . flake8 novel_stats tests