Re: pypi.org change which may affect currency checks
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2024-12-07 at 21:23 -0600, Bruce Dubbs wrote: > On 12/7/24 13:58, Joe Locash ([email protected] via blfs-dev Mailing List) wrote: > > I noticed the other day that my python module version checks were failing. It appears > > that pypi.org now uses javascript to verify the browser. This causes my curl > > requests to fail. I see that the BLFS currency check scripts use php and I suspect > > they may also suffer from this. > > > > As a work around I now check for the latest release of a package from > > https://pypi.org/rss/project/<project_name>/releases.xml > > which doesn't suffer from the problem. > > I tried a different workaround but was not successful. I'll use your suggestion > tomorrow. I really don't like upstream making "oh so clever" changes to the way they > make their packages available. Really what's wrong with a simple directory list like > Gnome and KDE use? You can invoke "pip3 index versions six" (replacing six with the package name). I use the command when I check Python dependencies (the currency script don't track them) update manually. -- Xi Ruoyao <[email protected]> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page