<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2017, at 9:25 AM, Paul Moore <<a href="mailto:p.f.moore@gmail.com" class="">p.f.moore@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 17 March 2017 at 12:50, Leonardo Rochael Almeida<br class=""><<a href="mailto:leorochael@gmail.com" class="">leorochael@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class="">I'm +0 on this proposal (the lack of enthusiasm coming from the fact that<br class="">multiple projects will be affected), but I'm -lots on any proposal<br class="">forbidding installation of different versions in different directories.<br class=""></blockquote><br class="">The comment I made was simply that having different versions in<br class="">different directories *both of which are on sys.path at the same time*<br class="">is invalid - it is now, and nothing I suggested changed anything, I<br class="">was just suggesting documenting that fact. (That setup might work, as<br class="">long as *all* of the files in the "inactive" version are completely<br class="">shadowed by the active version, and yes that's normally the case, but<br class="">nothing in the import or packaging infrastructure makes sure that's<br class="">the case, so there's a risk of unexpected bugs).<br class=""><br class="">But whatever. If people don't want to document the restriction, that's<br class="">OK. Doesn't mean it's going to work any better, of course :-)<br class=""><br class="">Paul<br class="">_______________________________________________<br class="">Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" class="">Distutils-SIG@python.org</a><br class=""><a href="https://mail.python.org/mailman/listinfo/distutils-sig" class="">https://mail.python.org/mailman/listinfo/distutils-sig</a><br class=""></div></div></blockquote></div><br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">Hmm, I believe it generally works fine does it not? The only situations I can think of where it does something funny are:</div><div class=""><br class=""></div><div class="">(1) PEP 420 namespace packages where a file was added or removed in one of the versions (since that is impossible to differentiate from two different projects using the same namespace)</div><div class="">(2) Uninstalling/Installing the same package during the lifetime of a process (which is already going to break in weird ways).</div><div class=""><br class=""></div><div class="">What scenarios are you seeing two installs of the same package into different sys.path directories fail?</div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class="">—<br class="">Donald Stufft<br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>