summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt7
-rw-r--r--distribute_setup.py3
2 files changed, 9 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index e18a534b..ac7f59d1 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -3,6 +3,13 @@ CHANGES
=======
------
+0.6.45
+------
+
+* Issue #379: ``distribute_setup.py`` now traps VersionConflict as well,
+ restoring ability to upgrade from an older setuptools version.
+
+------
0.6.44
------
diff --git a/distribute_setup.py b/distribute_setup.py
index a9c00982..c67b7524 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -150,7 +150,8 @@ def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
try:
pkg_resources.require("setuptools>=0.7b")
return
- except pkg_resources.DistributionNotFound:
+ except (pkg_resources.DistributionNotFound,
+ pkg_resources.VersionConflict):
pass
if not hasattr(pkg_resources, '_distribute'):