<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 Thu, Jan 28, 2021 at 3:55 AM Gary Mills <<a href="mailto:gary_mills@fastmail.fm">gary_mills@fastmail.fm</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">On Wed, Jan 27, 2021 at 03:14:14PM +0100, Aurélien Larcher wrote:<br>
> <br>
> My list is pretty much the same except that Python 3.9 is now packaged<br>
> together with some modules (including pip and pipdeptree for<br>
> convenience) and that we will skip 3.8.<br>
> Also we are going to jump to pkg supporting 3.9 as Andy did recently.<br>
> In the top priorities:<br>
> - Moving packages to use Python 3.7 instead of 2.7 or 3.5.<br>
> - Adding python modules for 3.7 and 3.9.<br>
> - Updating Clang.<br>
> <br>
> One urgent task is to move away from Python 2.7 and 3.5.<br>
> For example all these dependencies need to be addressed: the more hands<br>
> the better.<br>
> alarcher@narval:/export/home/alarcher$ pkg search -H -r -o [2]<a href="http://pkg.name" rel="noreferrer" target="_blank">pkg.name</a><br>
> 'depend:require:runtime/python-27' | sed -e '/library\/python/d' | sort<br>
> -u<br>
> application/cluster/cluster-glue<br>
<br>
I decided on Python upgrades, starting with the cluster-glue package.<br>
I'd like to determine if newer versions are available, since they may<br>
use newer Python versions. However, I couldn't find any mention of<br>
Python except for this line in Makefile:<br>
<br>
REQUIRED_PACKAGES += runtime/python-27<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">The list of packages I provided does not contain Python modules per se but software relying on Python 2.7.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">This could be e.g. because of providing Python bindings.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">On the other hand you can find in the directory</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><a href="https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/python">https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/python</a></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">all the python modules provided in oi-userland.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">It may be more pleasant to update these components to support Python 3.7 and 3.9 beforehand.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">As you see fit.<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></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">
<br>
I decided I needed to install python39 on my development system first,<br>
using python37 as a model. I do have a few questions. Is it version<br>
3.9.1 that you are using? What did you do with the tkinter manifest?<br>
What configure options did you use? I suppose most of the answers are<br>
in your Makefile .<br>
<br>
> This is a long list of packages that should be either patched to use<br>
> 3.7, updated to a recent version supporting 3.X or simply removed if<br>
> they are obsolete.<br>
> Of course due to dependency hell we may need to update some of the<br>
> python packages in the meantime to provide >= 3.7 versions.<br>
> So far ~25% of the Python modules have been upgraded (within a week, so<br>
> the task is not as humongous as one would think).<br>
<br>
I'm sure I'll discover most of those things as I go along.<br>
<br>
<br>
-- <br>
-Gary Mills- -refurb- -Winnipeg, Manitoba, Canada-<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
</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>