On Thu, Mar 6, 2014 at 3:28 PM, Donald Stufft <don...@stufft.io> wrote: > On Mar 6, 2014, at 4:10 AM, Marius Gedminas <mar...@pov.lt> wrote: >> On Wed, Mar 05, 2014 at 07:01:49AM -0500, Donald Stufft wrote: >>> On Mar 5, 2014, at 5:48 AM, anatoly techtonik <techto...@gmail.com> wrote: >>>> JSON-RPC is a better choice for recommended external API, >>>> because it doesn't rely on memory hungry and potentially unsafe >>>> XML libraries. >>>> >>>> On Wed, Mar 5, 2014 at 3:41 AM, Donald Stufft <don...@stufft.io> wrote: >>>>> Just a quick FYI that the last missing piece (search) for XMLRPC was >>>>> merged in >>>>> Warehouse today. If you have an application that depends on XMLRPC on >>>>> PyPI and >>>>> you’d like to test it, please try against the url: >>>>> >>>>> https://pypi-preview.a.ssl.fastly.net/pypi >>>>> >>>>> Let me know if you find any issues, or you can file a bug at: >>>>> >>>>> https://github.com/pypa/warehouse >>> >>> XMLRPC is used in order to maintain compatibility with what is already >>> there. Something better will replace it eventually and XMLRPC will be >>> deprecated. >> >> This is a bit confusing to me now. >> >> You're reacting as if anatoly suggested a new JSON interface to >> replace the legacy XML-RPC one. > > Well specifically he said JSON-RPC is better than XMLRPC which sounds like > he was disagreeing with Warehouse implementing the XMLRPC interface. If > that wasn’t the case then I misunderstood :) I don’t think an RPC interface > is really needed at all for PyPI.
Let me clarify to avoid further speculations. 1. I forgot that PyPI exposes JSON API 2. I expressed concern that XMLRPC is promoted for integration with PyPI and it should not, because it is ineffective >> But the old PyPI codebase already had a JSON API[1]. I'm using it to keep >> track of Python 3 support status of about 800 packages maintained by the >> Zope Foundation: http://zope3.pov.lt/py3/ >> >> [1] https://wiki.python.org/moin/PyPIJSON >> >> I assume at some point Warehouse will add support for the JSON API and >> you'll issue a call for testing? > > Richard has actually already implemented it! But in testing it just now I see > it > is failing on the server but isn’t locally for me so I’ll need to see why > that is the > case. So yes. "Use JSON API, but test XMLRPC for compatibility" is the thing I expected to hear. =) -- anatoly t. _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig