Re: [Buildroot] [PATCH 0/4] make utils/generate-cyclonedx runnable with Buildroot host packages
Quentin Schulz via buildroot <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
Hi all, On 6/26/26 12:41 PM, Fiona Klute wrote: > Am 26.06.26 um 11:35 schrieb Peter Korsgaard: >>>>>>> "Thomas" == Thomas Perale <[email protected]> writes: >> >> Hi, >> >> >> Then I think that the pragmatic solution is to drop those list type >> >> hints. Thomas, I think you originally added them, what do you say? >> >> > Sure we can remove it. That line doesn't add much right now. >> >> OK, good! Quentin, can you send a patch removing them after verifying >> that it then works? >> >> >> > But would that mean that in the future we need to make python 3.9 >> a potential >> > target for any new changes ? That would be more annoying in the >> long run. >> >> I guess you mean python < 3.9? It is indeed always a tradeoff. Maybe we >> could start requiring python >= 3.9 for the 2027.02.x series? > By the time of the 2027.02.0 release, Python 3.9 will be EOL for well > over a year, and 3.10 for a few months, so at that point I'd prefer to > go right to 3.11 (which is in Debian oldstable now). Plus it brings some > nice typing improvements. > > In any case I'd definitely like to have a clearly documented minimum, > the manual still refers to Python 2.7 in a few places, while support/ > dependencies/check-host-python3.mk looks for 3.4. I think for people > with very old system Python the pragmatic solution is to use host- > python, if there are any issues with that we should fix them. :-) > I think we need to document a minimum version of Python every script in Buildroot must be able to run against. However, there's also another issue is that for bug fixes to scripts that we want backported to LTSes... the changes need to be compatible with (or adapted to work with) the possibly lower minimum Python version in the LTS vs what's in master. I'm not sure if there's a tool to make sure this is the case, or how we would handle bumping this minimum version without forgetting we cannot blindly backport to LTS branches since it may not support a newer version. But yes, I think being able to run our scripts with the host-python built by Buildroot is a good work-around solution. Cheers, Quentin _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot