[Distutils] Why is requiring version 0.0.1 when both 0.0.1 and 0.0.2 are available a conflict?

ryles rylesny at gmail.com
Mon Aug 17 15:54:53 CEST 2009

On Aug 17, 9:15 am, "P.J. Eby" <p... at telecommunity.com> wrote:
> Note, however, that a script whose setup.py requires a non-default
> version of the package will still work.  In other words, if you
> create another project with a setup.py that requires version 0.0.1,
> then upon installation that project's scripts will use 0.0.1, even
> though the interpreter's default will remain 0.0.2.

Thanks. install_requires actually does seem to be working. I should
point out that if instead of install_requires you have setup_requires
(something I originally thought I needed, but now realize I don't),
then you will get the same VersionConflict exception shown above. Is
that intentional?

More information about the Distutils-SIG mailing list