PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Saturday the 22nd of February, 2020

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[09:10:43] <pradyunsg> zbr: /simple is the only way, yes.
[09:11:03] <zbr> ouch, ... why not a json?
[09:11:35] <zbr> if you endup parsin html, you are doomed
[09:12:14] <zbr> pradyunsg: is because nobody bored to implement it or there are other reasons?
[09:13:02] <zbr> i know it can be expensive, but same with html, it can be prebuild and updated every hour, or similar
[09:13:42] <pradyunsg> zbr: because… limited OSS dev time means there’s significant in duplicating functionality, and HTML is, in fact, good enough; especially given that the structure of the page is well-defined in PEP 503.
[09:14:04] <pradyunsg> *no significant benefit
[09:14:45] <zbr> pradyunsg: you could use the same reason to defend existing RPC, XML/RPM, Corba,.... when someone asks about REST
[09:15:35] <zbr> i can understand not enough time, but other not really. especially as we already have JSON api for specific package.
[09:16:48] <zbr> i am asking not because i expect someone to do it for me, but because i would probably be happy to do it myself.
[09:16:59] <pradyunsg> zbr: I’m not saying we don’t want a better API. I’m saying, we don’t have better API because the current one is just-about-good-enough to increase "activation energy" for someone building a new API. :)
[09:17:43] <zbr> is building new api, just adding a new entry-point.
[09:17:43] <pradyunsg> at least till now.
[09:17:59] <zbr> but in general, do you agreee that json makes sense?
[09:18:26] <zbr> as it could also be extended without breaking consumers.
[09:18:34] <pradyunsg> zbr: I agree that JSON is def better than XML for our use cases. :)
[09:18:47] <pradyunsg> what adding a new API would entail: 🤷‍♂️ that’s a question for the PyPI folks to answer TBH.
[09:18:58] <pradyunsg> i.e. PyPI admins et al.
[09:19:18] <pradyunsg> Rather, folks with more experience around that area than me. :)
[11:13:09] <zbr> pradyunsg: do you happen to be able to recommend an example of using namespace_packages?
[12:33:15] <toad_polo> zbr: I would say don't use namespace_packages
[12:33:57] <zbr> toad_polo: yep, after wasting 3h and even messing pyenv install, I came to the same conclusion.
[12:34:35] <zbr> even if I did had one compelling case, as I needed to install some modules inside inside ansible/modules
[13:05:02] <toad_polo> zbr: Namespace packages are different than using the argument namespace_packages
[15:01:43] <opiwnreg> Hi. Is it possible to change the file location of pip's global config file?
[15:03:59] <opiwnreg> (For Windows, specifically)
[15:25:01] <pradyunsg> opiwnreg:
[15:25:12] <pradyunsg> Oh nvm, they quit.