diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-10-18 04:08:46 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-10-18 04:08:46 +0000 |
| commit | 741f1742fee6d55a6a278ff44215aaf0959381c5 (patch) | |
| tree | 9a2b00762a46a8839f7d4ac12ab014afc2c5a584 /pkg_resources.py | |
| parent | 8f158d47596b45487e91a9c1869fb965b8c90d74 (diff) | |
| download | python-setuptools-git-741f1742fee6d55a6a278ff44215aaf0959381c5.tar.gz | |
Hurray! Our first dependency processing bug! This is cool because it
means that people are finally doing enough things with setuptools to
have real-life version conflict scenarios. Luckily, the fix is trivial:
use breadth-first instead of depth-first dependency processing, which I
thought we were already doing anyway, but weren't. And we were giving
precedence to already-installed packages, which means upgrades didn't
work so well.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041265
Diffstat (limited to 'pkg_resources.py')
| -rw-r--r-- | pkg_resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index 6717c2ad..e43201d4 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -467,7 +467,7 @@ class WorkingSet(object): to_activate = [] while requirements: - req = requirements.pop() + req = requirements.pop(0) # process dependencies breadth-first if req in processed: # Ignore cyclic or redundant dependencies continue |
