Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup: update python_requires to comply with PEP 345/440 #388

Merged
merged 1 commit into from
Jun 10, 2021
Merged

setup: update python_requires to comply with PEP 345/440 #388

merged 1 commit into from
Jun 10, 2021

Conversation

ITProKyle
Copy link
Contributor

@ITProKyle ITProKyle commented Jun 10, 2021

According to PEP 345 Requires-Python, the value of this field must be a valid Version Specifier. Which in turn expects this to comply with PEP 440.

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.

resolves #387

Copy link
Owner

@adrienverge adrienverge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it looks good!

Can you please add an explanation inside the commit message, e.g. copy-paste the description from #387? (it wasn't really needed to open an issue if you solve it directly).

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.
@ITProKyle
Copy link
Contributor Author

@adrienverge - sure thing. updated commit message pushed.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.511% when pulling 495dd20 on ITProKyle:bugfix/python-requires into 85ccd62 on adrienverge:master.

@adrienverge
Copy link
Owner

Thank you @ITProKyle.

@adrienverge adrienverge merged commit 4374490 into adrienverge:master Jun 10, 2021
@ITProKyle ITProKyle deleted the bugfix/python-requires branch June 10, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

value of python_requires does not comply with PEP 345/440
3 participants