[Distutils] Normalized version confuses external tool (PyCharm)

Piotr Dobrogost p at 2015.forums.dobrogost.net
Wed Aug 26 17:29:03 CEST 2015


On Wed, Aug 26, 2015 at 5:21 PM, Donald Stufft <donald at stufft.io> wrote:
>
> Well, I don’t know what PyCharm is doing,

Me neither but I suspect they simply compare version reported by pip
(or something else) with the version from requirements.txt

> but ideally if their somehow interacting with the environment in a way that they care about Python version numbers, they should support PEP 440.

I agree they should and this would solve this problem. However I'm
wondering if the general advice for authors shouldn't be to prefer
normalized versions so to avoid problems like this?

Regards,
Piotr


More information about the Distutils-SIG mailing list