[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    Re: [Distutils] unparseable sdist filenames
From:       Marcus Smith <qwcode () gmail ! com>
Date:       2013-09-30 22:06:34
Message-ID: CAPYWazrLEKGGr33z=73zaW25Gjk4-no3T6XWWpiVzD6x8-7eKg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


>
>
> > how will context decide between the version being "dev" or "xdist-dev"?
>
> By whether you asked to install "pytest-xdist" or "pytest", and by
> whether "dev" or "xdist-dev" match your version requirements.  In
> practice this tends to only be a problem if you are:
>
> 1. Installing the two packages during the same run, and
> 2. Aren't using version specifiers.
>

#2 is a big deal.  the pip issue (#1192) that motivated this was a #2.
local find-links with non-versioned requirements.
so, suppose you have "pytest-xdist-dev.tar.gz" in a find-links location.
whether you're trying to install "pytest" or "pytest-xdist" doesn't help
the installer determine how to parse that archive.

[Attachment #5 (text/html)]

<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>
&gt; how will context decide between the version being &quot;dev&quot; or \
&quot;xdist-dev&quot;?<br> <br>
</div>By whether you asked to install &quot;pytest-xdist&quot; or &quot;pytest&quot;, \
and by<br> whether &quot;dev&quot; or &quot;xdist-dev&quot; 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&#39;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 \
&quot;pytest-xdist-dev.tar.gz&quot; in a find-links location.<br> </div><div \
style>whether you&#39;re trying to install &quot;pytest&quot; or \
&quot;pytest-xdist&quot; doesn&#39;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>



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic