[Distutils] Normalized version confuses external tool (PyCharm)

Donald Stufft donald at stufft.io
Wed Aug 26 17:21:10 CEST 2015


On August 26, 2015 at 11:19:55 AM, Piotr Dobrogost (p at 2015.forums.dobrogost.net) wrote:
> Hi!
>  
> After `pip install js.deform==2.0a2-3` I get the message "Successfully
> installed js.deform-2.0a2.post3" where version "2.0a2-3" was
> normalized (I guess) to "2.0a2.post3" and that's the version pip list
> reports as well. Due to this PyCharm shows warning saying this
> requirement "js.deform==2.0a2-3" is not satisfied.
>  
> What is the preferred way of solving this? Should package version be
> changed by author to 2.0a2.post3?
>  
>

Well, I don’t know what PyCharm is doing, but ideally if their somehow interacting with the environment in a way that they care about Python version numbers, they should support PEP 440.

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA




More information about the Distutils-SIG mailing list