From 25a95c1ec12af421248081514f77e28db665c077 Mon Sep 17 00:00:00 2001 From: Vincent Philippon Date: Fri, 28 Oct 2022 16:33:44 -0400 Subject: [PATCH] Add 'python_requires=">=3.6"' to match tomli package By adding a dependency on the `tomli` packages, which only has versions available for python >=3.6 (>=3.7 for the lastest version at the moment), `autopep8` effectively became compatible with python >=3.6 also. This changes reflects that by properly providing the `Requires-Python` package metadata (https://packaging.python.org/en/latest/guides/dropping-older-python-versions/#specify-the-version-ranges-for-supported-python-distributions). --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 4849574a..9c6c377c 100755 --- a/setup.py +++ b/setup.py @@ -51,6 +51,7 @@ def version(): ], keywords='automation, pep8, format, pycodestyle', install_requires=INSTALL_REQUIRES, + python_requires=">=3.6", test_suite='test.test_autopep8', py_modules=['autopep8'], zip_safe=False,