<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
> how will context decide between the version being "dev" or "xdist-dev"?<br>
<br>
</div>By whether you asked to install "pytest-xdist" or "pytest", and by<br>
whether "dev" or "xdist-dev" match your version requirements. In<br>
practice this tends to only be a problem if you are:<br>
<br>
1. Installing the two packages during the same run, and<br>
2. Aren't using version specifiers.<br></blockquote><div><br></div><div style>#2 is a big deal. the pip issue (#1192) that motivated this was a #2. local find-links with non-versioned requirements.</div><div style>so, suppose you have "pytest-xdist-dev.tar.gz" in a find-links location.<br>
</div><div style>whether you're trying to install "pytest" or "pytest-xdist" doesn't help the installer determine how to parse that archive.</div><div style><br></div><div style><br></div><div>
</div></div><br></div></div>