Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.7k
Closed
Description
There might be a problem with
Line 280 incea4966
| - ``platform.python_version()[:3]`` |
in the future.
What if the Python version will consist of more than 3 characters?
I originally posted this as a question on Stack Overflowhttps://stackoverflow.com/questions/48119291/whats-with-the-definition-of-environment-marker-variable-python-version-in-pe Just as Martijn Pieters wrote there, something like".".join(platform.python_version_tuple()[:2]) would fix the problem.
I also posted about this atpypa/packaging#119
Metadata
Metadata
Assignees
Labels
No labels