<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 1, 2021 at 6:05 PM Aurélien Larcher <<a href="mailto:aurelien.larcher@gmail.com">aurelien.larcher@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">Hi,</div><div style="font-family:arial,helvetica,sans-serif;font-size:small">I tested a little something even if it is still very rudimentary... and given that I am not a Python developer the code is probably quite ugly.<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">With the last few commits to oi-userland you can use:</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">$ gmake update-latest</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">in Python components to modify the Makefile to the latest known version in PyPI.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">The rest of the procedure remains fairly manual so far...<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Some notes specific to Python components:</div><div style="font-family:arial,helvetica,sans-serif;font-size:small">1) If the COMPONENT_ARCHIVE_URL is set to $(call pypi_url) you can remove it.</div></div></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Actually probably not for now... should make it more streamlined.</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small">2) The COMPONENT_PYPI macro is default set to COMPONENT_NAME but you may need to define it if there is a discrepancy.<br clear="all"></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">3) If the component uses PyPI then the checksum will be automatically updated to the one stored in the JSON metadata.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small">4) This is all very basic, in particular you need to check if the latest version supports all Python versions or only Python >= 3.x, and if needed split the component into 2.x and 3.x.<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Next step will be to use the 'require_dist' metadata to generate dependencies.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">We are just a few maintainers so as Till said, let us try to be smart...</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Kind regards,</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">Aurélien<br></div><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div></div>