Post A3tZhN7CZyvSuUGll2 by reto@pleroma.labrat.space
(DIR) More posts by reto@pleroma.labrat.space
(DIR) Post #A3tRi16b65uRIvmcvA by klaatu@mastodon.xyz
2021-02-03T09:04:11Z
0 likes, 0 repeats
I feel like pip losing its search function is a big deal, but I haven't seen much chatter about it online. I used it often, but Python programmers are insisting to me now that nobody ever used it, and I shouldn't want it. Seems surprising because it was a thing pip had, and it sure seemed like people used it. Am I the only one who got the wrong meaaage early on? Do people not use pip search?#python
(DIR) Post #A3tRi1YbPyJKhmszZY by notclacke@pleroma.soykaf.com
2021-02-03T09:28:58.484907Z
0 likes, 0 repeats
@klaatu I used it last week.
(DIR) Post #A3tRi1xPvi9zwkUoFc by klaatu@mastodon.xyz
2021-02-03T09:43:10Z
0 likes, 0 repeats
@notclacke According to https://github.com/pypa/pip/issues/5216#issuecomment-744605466that's impossible!
(DIR) Post #A3tRi2HyhGbgyW7EIa by ashwinvis@mastodon.acc.sunet.se
2021-02-03T09:59:09Z
0 likes, 0 repeats
@klaatu @notclacke I can't use it anymore, but I understand the rationale of discontinuing the API. Hope they go for a repo db that clients can download which all other package managers use, apt, pacman, even conda. That would fix esp. search and also dependency resolution.
(DIR) Post #A3tZhN7CZyvSuUGll2 by reto@pleroma.labrat.space
2021-02-03T11:28:43.356209Z
0 likes, 0 repeats
@klaatu @notclacke I mean what should they do? The API most be built in a crappy manner if all it takes is 100 requests a sec to bring it down (we're talking *THE* python package index here.... 100s/second is not that much)Honestly, what do you actually search for? Normally the name and maybe the description no?
(DIR) Post #A3twM70rY9aNpn8UYS by friend@linuxrocks.online
2021-02-03T13:03:07Z
0 likes, 0 repeats
@retoI mean, if there was too much load from that API, then it seems to have seen plenty use...@klaatu @notclacke
(DIR) Post #A3twM7YtVco9XL3fbE by reto@pleroma.labrat.space
2021-02-03T15:42:34.515035Z
0 likes, 0 repeats
@friend @klaatu @notclacke nah, can just be a script kiddie who has no idea what their doing.Archlinux put up a limit and started banning ips because some idiots were fetching the package list every second...Some people do strange things and don't think about what it means for the remote servers
(DIR) Post #A3uWy5aUtU9AlgDCQi by klaatu@mastodon.xyz
2021-02-03T19:23:35Z
1 likes, 0 repeats
@reto @friend @notclacke Yes, I was surprised by this as well. Sounds like some load balancing was needed, but instead they just removed the API entirely..? Hey, I can't really complain; this stuff is hard.Still, I think a better solution than "yeah that's gone now" would be nice, and it is surprising that simple searches against an index of package names was that problematic. Makes me want to dig around to find out what the implementation was -- so I can learn how NOT to design one.