From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Re: Problem building python3-flit_scm for use with borgbackup Date: Fri, 05 May 2023 17:34:02 +0200 Message-ID: In-Reply-To: <24352D29-CF6E-4AFD-96A8-81BD8C78F5B7@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4752032009092843524==" List-Id: --===============4752032009092843524== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, On 04/05/2023 16:51, Michael Tremer wrote: > Hello Adolf, >=20 > Another day with another interesting problem that you are bringing us :) I do seem to be able to find things that don't work as expected don't I. >=20 > Did you try to run =E2=80=9Cpython3 -m build=E2=80=9D in the source directo= ry of exceptiongroup and flit-scm? >=20 > That inspiration is coming from here: >=20 > https://github.com/archlinux/svntogit-community/blob/packages/python-exc= eptiongroup/trunk/PKGBUILD The day before yesterday I thought to myself maybe I should look what=20 Arch Linux does but never followed through on it. Thanks very much for=20 the suggestion. I will give it a go and see how it goes. I will also=20 compare it with the python3-flit module we have because that looks to=20 use the pypproject.toml file, although there are several environment=20 variables defined that I am not sure how to specify for my case but will=20 see how things go. >=20 > I am not sure whether we have the build and installer module. We do have build but not installer. The python3-flit module seems to=20 work without using installer, just build so will see how things go to=20 start with only using build before looking at adding installer in as well. Regards, Adolf. >=20 > Best, > -Michael >=20 >> On 1 May 2023, at 17:52, Adolf Belka wrote: >> >> Hi All, >> >> I have figured out why the fuse mount stopped working with borgbackup in C= ore Update 173. (Bug#13076) >> >> >> python3-trio was updated when python was updated to 3.10.8 and python3-tri= o is required by python3-pyfuse3. However the python3-trio update also added = a new dependency - python3-exceptiongroup which then requires python3-flit_sc= m for the build of python3-exceptiongroup. >> >> >> Both python3-exceptiongroup and python3-flit_scm use pyproject.toml, howev= er python3-pyproject2setuppy fails with trying to build python3-flit_scm as i= t does not understand the backend definition in the pyproject.toml file. >> >> The error message is :- >> >> File "/usr/lib/python3.10/site-packages/pyproject2setuppy/__main__.py= ", line 50, in main >> raise NotImplementedError( >> NotImplementedError: Build backend flit_scm:buildapi unknown >> >> >> pyproject2setuppy is now marked as DEFUNCT due to the number of special ca= ses in the pyproject.toml file that needed lots of work each time to update p= yproject2setuppy to work again. >> >> >> Does anyone have any idea how I should build flit_scm and exceptiongroup w= ithout using pyproject2setuppy. >> >> I have done some searching but could not find anything that I could either= understand or that did not require internet access to download all required = dependencies. >> >> >> Regards, >> >> Adolf. >> >=20 --=20 Sent from my laptop --===============4752032009092843524==--