allowed_eggs_from_site_packages inserts site-packages in the wrong place
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
Fix Released
|
High
|
Gary Poster |
Bug Description
When a requirement is filled by an egg in site-packages, if allowed_
The following diff fixes the problem for me. I was unable to run the test suite cleanly, so I don't know if it's completely sane:
=== modified file 'src/zc/
--- src/zc/
+++ src/zc/
@@ -881,7 +881,8 @@
- ws.add(dist)
+ if dist.location not in self._site_
+ ws.add(dist)
if dist not in req:
# Oops, the "best" so far conflicts with a dependency.
Related branches
- Francis J. Lacoste (community): Approve
-
Diff: 359 lines (+91/-216)3 files modifiedbootstrap/bootstrap.py (+0/-206)
src/zc/buildout/easy_install.py (+22/-10)
src/zc/buildout/tests.py (+69/-0)
Changed in zc.buildout: | |
status: | In Progress → Fix Released |
Thank you. Test suite does not run cleanly because of temporary virtualenv hack for bootstrap, AFAIK.