Am Fri, Nov 07, 2025 at 10:04:08AM +0100, schrieb Christian Marangi (Ansuel): > Hi all, > > This is mostly feedback request on a change I would like to merge. > This is the PR in question [1]. > > It transition from using host python3 to compile one from source.
I like the idea. I am wondering about other potentially low(er) hanging fruits in this field as I remember the build process complaining about my incompatible awk. > The reason is simple. We had multiple times where things ""explode"" > as the symbolic link for python gets corrupted after a python version > update. > > This got even more relevant recently as they started to spam new > versions of python almost weekly. This is something where I personally don't agree. I would not use a unstable/rolling release distribution for something like building OpenWrt. But I see that there are people that do this. > To solve this problem once and for all (also also have a more > predictable host tools) we compile python from source and > use our version directly without depending on the one present > on the host. > > The compilation increase is minimal and also we still provide an > option to use the previous implementation of using the host python. > > Is anyone against this change or do you find any problem? At the concept level, I would remove the option to use the host python. This sounds like an invitation for people to "optimize" stuff and then complain. At the code level, there are a few things that I dislike and a few things I don't understand. See the PR for details. I am pretty sure that this are only minor things. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
