pypi livecheck not working any longer

Ryan Schmidt ryandesign at macports.org
Mon Apr 16 23:08:39 UTC 2018


On Apr 16, 2018, at 15:53, Enrico Maria Crisostomo wrote:

> I was running livecheck a few minutes ago on a bunch of ports of mine and I started getting the same error on all the pythons ones:
> 
>    Error: cannot check if [portname] was updated (regex didn't match)

> I also noticed the pypi.org web site has been completely renewed.
> 
> If this problem is confirmed, we should update the regex.

https://github.com/macports/macports-ports/commit/58bd00863442dfe8228b5003d5213b00ebded2c7

> And I'm thinking that parsing this document with a regular expression is going to be less robust than it was: the version number is now just a quoted field name.  I wonder whether we could and should properly parse the JSON document here.

Doesn't appear to be needed.



More information about the macports-dev mailing list