I did try removing the link to the GitHub releases page. Did that help?

Aaron Meurer

On Tue, Jul 30, 2013 at 1:27 PM, Matthew Brett <[email protected]> wrote:
> Hi,
>
> On Sun, Jul 28, 2013 at 3:39 PM, Matthew Brett <[email protected]> 
> wrote:
>> Hi,
>>
>> On Sun, Jul 28, 2013 at 3:15 PM, Aaron Meurer <[email protected]> wrote:
>>> Hmm, can you figure out what the difference is between this version
>>> and 0.7.2? Because it works perfectly in 0.7.2, at least for pip.
>>
>> Looking at index.py around 188, it looks like pip is reading and
>> selecting links off this page:
>>
>> https://pypi.python.org/simple/sympy/
>>
>> then reverse sorting (by version string) to find the preferred
>> package. In our case, there is more than one matching package with the
>> same required version, and the sort by version does not affect the
>> order of the packages with the same version.
>>
>> In the case of 0.7.2 the relevant links are in this order:
>>
>> sympy-0.7.2-py3.3.tar.gz
>> sympy-0.7.2.tar.gz
>>
>> so pip selects both, then prefers the first.
>>
>> In the case of 0.7.3 the links are in order:
>>
>> sympy-0.7.3.tar.gz
>> sympy-0.7.3-py3.3.tar.gz
>> https://github.com/sympy/sympy/releases/download/sympy-0.7.3/sympy-0.7.3-py3.3.tar.gz#md5=
>> c6343a8eb1ab9a9741b3a3bba02a0eeb
>>
>> and it finds sympy-0.7.3.tar.gz first and prefers that.
>>
>> Can you reorder the links on the page?  I suspect it will fix it,
>
> I did some more investigation as to how pypi orders the links on the
> 'simple' page; it looks like (in a current version of the code) it
> pulls them out of a database, I couldn't at a first pass work out what
> dictated the order that they come out from the database:
>
> http://wiki.python.org/moin/CheeseShopDev
> https://bitbucket.org/pypa/pypi/src
> https://bitbucket.org/pypa/pypi/src/f970cf92b100886e03954f651986dd4c2ba46091/webui.py?at=default#cl-775
>
> Did you already try removing the sympy-0.7.3.tar.gz from the pypi
> files using the pypi files interface, then adding it again?
>
> Best,
>
> Matthew
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to