From 808702c3375592aa4137bb0aed782bad3fc803aa Mon Sep 17 00:00:00 2001 From: Yusuke Miyazaki Date: Thu, 8 Apr 2021 00:08:16 +0900 Subject: [PATCH 1/2] Require tox <4 explicitly We expect breaking plugin API changes with tox v4 or later. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2ef9fd6..51a0ff9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -42,7 +42,7 @@ package_dir = zip_safe = True python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* install_requires = - tox >= 3.12 + tox >=3.12, <4 typing; python_version<"3.5" setup_requires = setuptools_scm >= 3, <4 From 9ff551be7c4909b409856f31d67ffbbd0e6a4a82 Mon Sep 17 00:00:00 2001 From: Yusuke Miyazaki Date: Thu, 8 Apr 2021 00:10:31 +0900 Subject: [PATCH 2/2] Improve coding style of setup.cfg --- setup.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.cfg b/setup.cfg index 51a0ff9..e11d9b6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,7 +45,7 @@ install_requires = tox >=3.12, <4 typing; python_version<"3.5" setup_requires = - setuptools_scm >= 3, <4 + setuptools_scm >=3, <4 [options.packages.find] where = src @@ -57,11 +57,11 @@ tox = [options.extras_require] testing = black; platform_python_implementation=='CPython' and python_version>='3.6' - flake8 >= 3, <4 - pytest >= 4.0.0, <6 - pytest-cov >= 2, <3 - pytest-mock >= 2, <3 - pytest-randomly >= 3; python_version>='3.5' + flake8 >=3, <4 + pytest >=4, <6 + pytest-cov >=2, <3 + pytest-mock >=2, <3 + pytest-randomly >=3; python_version>='3.5' [options.package_data] tox_gh_actions =