Skip to content

Commit

Permalink
setup: update python_requires to comply with PEP 345/440
Browse files Browse the repository at this point in the history
According to PEP 345 Requires-Python
(https://www.python.org/dev/peps/pep-0345/#requires-python), the value
of this field must be a valid Version Specifier
(https://www.python.org/dev/peps/pep-0345/#version-specifiers). Which
in turn expects this to comply with PEP 440
(https://www.python.org/dev/peps/pep-0440/).

While not an issue for those that directly use `pip`, this will cause
issues for `poetry` users in the next release (if their current stance
is maintained). Discussion of the issue and there stance can be found
here: python-poetry/poetry#4095.
  • Loading branch information
ITProKyle committed Jun 10, 2021
1 parent 85ccd62 commit 4374490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -46,7 +46,7 @@ project_urls =
[options]
packages = find:

python_requires = >=3.5.*
python_requires = >=3.5

include_package_data = True
install_requires =
Expand Down

0 comments on commit 4374490

Please sign in to comment.