]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes/pypi: update the default UPSTREAM_CHECK_URI to use the simple repo API
authorDerek Straka <derek@asterius.io>
Fri, 13 Dec 2024 19:48:01 +0000 (19:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Dec 2024 11:41:49 +0000 (11:41 +0000)
commit10febb0e8193d15aec8bbf80b849ae6732da3c22
tree7994f765a21884103ba080fab5e7ef5c0ed8d0f1
parenteb46ad379170f0a80ac2d061fa02c118f5ed1d31
classes/pypi: update the default UPSTREAM_CHECK_URI to use the simple repo API

Update the UPSTREAM_CHECK_URI to leverage the simple repo API.  The
project URLs require javascript which breaks the version checking fetch
and subsequent logic.  The simple repo API provides similar
functionality with a well defined spec which is used by tools such as
pip.  Also update the UPSTREAM_CHECK_REGEX to be compatible with the
information retrieved via the API

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/pypi.bbclass