[Distutils] Unexpected VersionConflict

Nick Coghlan ncoghlan at gmail.com
Fri Aug 9 23:41:06 CEST 2013


On 10 August 2013 04:06, PJ Eby <pje at telecommunity.com> wrote:
> Probably a better way would be to change the version resolution
> algorithm to be less "greedy", and simply rule out unacceptable
> versions as the process goes along, then picking the most recent
> versions left when everything necessary has been eliminated.
> (Ideally, such an algorithm would still track which distributions had
> the conflicting requirements, though.)

The part I find most surprising is the fact that pkg_resources ignores
sys.path order entirely when choosing between multiple acceptable
versions.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list