A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20121206/651b65c1/attachment.html below:


                <div><span style="color: rgb(160, 160, 168); ">On Thursday, December 6, 2012 at 6:28 AM, Vinay Sajip wrote:</span></div>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Donald Stufft <donald.stufft <at> <a href="http://gmail.com">gmail.com</a>> writes:</div><div><br></div><div>Never mind the "Obsoletes" information - even the more useful "Requires-Dist"</div><div>information is not exposed via PyPI, even though it appears to be stored in the</div><div>database. (Or if it is, please point me to where - I must have missed it.)</div></div></div></span></blockquote><div>Requires-Dist doesn't exist for more than a handful of packages. But PyPI exposes</div><div>it via the XMLRPC API, possibly the JSON api as well. </div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div><div><br></div><div>Even if this were to be made available, it's presumably obtained from PKG-INFO.</div><div>As I understand, this data is not considered reliable - for example, pip runs</div><div>egg_info on downloaded packages to get updated information when determining</div><div>dependencies to be downloaded. If the Requires-Dist info in PKG-INFO can't be</div><div>relied on, surely less critical information such as Obsoletes can't be relied on,</div><div>either?</div></div></div></span></blockquote><div>pip runs egg_info because setuptools does not write out to PKG-INFO what</div><div>the dependencies are (it does write it out to a different text file though). But IIRC</div><div>that text file is not guaranteed to exist in the distribution. There's also the</div><div>history where pip was trying to preserve as much backwards compat with</div><div>easy_install as it could, and if you used the file that egg_info writes out</div><div>then you'll only get the requirements for the system that the distribution was</div><div>packaged on. Any if statements that affect the dependencies won't be</div><div>in effect.</div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;"><span><div><div><div><br></div><div>Regards,</div><div><br></div><div>Vinay Sajip</div><div><br></div><div>_______________________________________________</div><div>Python-Dev mailing list</div><div><a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a></div><div><a href="http://mail.python.org/mailman/listinfo/python-dev">http://mail.python.org/mailman/listinfo/python-dev</a></div><div>Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/donald.stufft%40gmail.com">http://mail.python.org/mailman/options/python-dev/donald.stufft%40gmail.com</a></div></div></div></span>

                                                                                        </blockquote>

                                  <div>


                    <br>
                </div>
            

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4