Skip to content

Commit 4374490

Browse files
authored
setup: update python_requires to comply with PEP 345/440
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.
1 parent 85ccd62 commit 4374490

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ project_urls =
4646
[options]
4747
packages = find:
4848

49-
python_requires = >=3.5.*
49+
python_requires = >=3.5
5050

5151
include_package_data = True
5252
install_requires =

0 commit comments

Comments
 (0)