Re: pypi.org change which may affect currency checks

"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 12/7/24 21:26, Xi Ruoyao ([email protected] via blfs-dev Mailing List) wrote:
> 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.

Thanks, but I get (on this system):

$ pip3 index versions six
WARNING: pip index is currently an experimental command. It may be removed/changed in 
a future release without prior warning.
six (1.17.0)
Available versions: 1.17.0, 1.16.0, 1.15.0, 1.14.0, 1.13.0, 1.12.0, 1.11.0, 1.10.0, 
1.9.0, 1.8.0, 1.7.3, 1.7.2, 1.7.1, 1.7.0, 1.6.1, 1.6.0, 1.5.2, 1.5.1, 1.5.0, 1.4.1, 
1.4.0, 1.3.0, 1.2.0, 1.1.0, 1.0.0, 0.9.2, 0.9.1, 0.9.0
   INSTALLED: 1.16.0
   LATEST:    1.17.0

I'd prefer something not experimental.

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.