From e97233a74c199a5e2d659834b6e1e9f49e502fb5 Mon Sep 17 00:00:00 2001 From: Cameron Billingham Date: Sun, 13 Oct 2024 16:14:38 -0700 Subject: [PATCH] Drop support for python 2.7 finally and remove from github actions since its no longer supported --- README.md | 8 +++++++- setup.cfg | 4 +--- tox.ini | 5 +---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d0c4409..349ab3b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Update or convert docstrings in existing Python files. -This Python (2.7+/3.6+) module and script intends to help Python programmers to +This Python (3.9+) module and script intends to help Python programmers to enhance internal code documentation using docstrings. It is useful to harmonize or change a project docstring style format. @@ -103,6 +103,12 @@ If you would like to contribute, please take a look at the We use [SemVer][4] for versioning. For the versions available, see the tags on the repository. +### Python 2.7 + +We tried really hard to have this package support both Python 2 and 3 for a +long time. We've dropped Python 2 support officially. Its just become +cumbersome to test with. However, the code will probably still work in +Python 2.7+ *I think*. Good luck! ## License diff --git a/setup.cfg b/setup.cfg index 6f11dc5..87b0e5e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,8 +18,6 @@ classifiers = License :: OSI Approved :: BSD License Natural Language :: English Operating System :: OS Independent - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -31,7 +29,7 @@ classifiers = package_dir= =src packages=find: -python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* +python_requires = >=3.6 install_requires = six enum34;python_version<"3.4" diff --git a/tox.ini b/tox.ini index 711a323..0763f32 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{27,39,310,311,312,313},formatting +envlist = py{39,310,311,312,313},formatting [testenv] usedevelop = True @@ -8,9 +8,6 @@ deps = commands = pytest {posargs} -[testenv:py27-sdist] -usedevelop = False - [testenv:py39-sdist] usedevelop = False