From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Question about updating python to 3.10 Date: Fri, 17 Dec 2021 12:41:51 +0100 Message-ID: <43B4BB91-7CA7-46AE-8FFE-E2B1EA207443@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0704447171372277469==" List-Id: --===============0704447171372277469== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Adolf, > On 17 Dec 2021, at 11:55, Adolf Belka wrote: >=20 > Hi All, >=20 >=20 > I am working on updating python from 3.8 to 3.10. Python itself is okay aft= er some other python related programs were also updated due to their older ve= rsions not working with 3.10 Thank you for working on this. > I am working through all the programs that reference python-3.8 in their ro= otfiles, or wherever, to change them to 3.10 >=20 > My question comes with regard to the changes to the rootfiles to ensure the= y will be included properly in an update. We will have to ship everything that puts anything into /usr/lib*/python3.*/s= ite-packages again with the release of Python 3.10. This isn=E2=80=99t fun, but not as much of a pain in the rear as shipping a n= ew Perl release. > For the addons then when I change the rootfile I am also incrementing the P= AK_VER number in the lfs files and that ensures that they will be properly up= dated. Yes. That is required for Pakfire to find a new version. > I don't know what to do for the core programs where I have updated the root= file. The lfs files for these programs don't have a PAK_VER number to increme= nt and the actual package version number is not being changed so I don't know= what I need to change in the lfs to ensure that the rootfile changes will be= properly included in the update? I would say committing everything into a =E2=80=9Cpython-3.10=E2=80=9D branch= and submitting it all as a patchset is fine. All packages that have been tou= ched in that branch will have to be shipped again which should be easy to ide= ntify if it all comes in one large branch. > I would appreciate any help on what I need to do for these programs that ha= ve had changes only in their rootfiles. Absolutely. Did you find anything that didn=E2=80=99t build yet? -Michael >=20 > Regards, >=20 > Adolf. >=20 > --=20 > Sent from my laptop >=20 --===============0704447171372277469==--