From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Problem building python3-flit_scm for use with borgbackup Date: Tue, 09 May 2023 08:42:14 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1846201600015809958==" List-Id: --===============1846201600015809958== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Okay, this sounds like good news. I wish there wouldn=E2=80=99t be such massive chaos with every other language= =E2=80=99s build system. -Michael > On 5 May 2023, at 16:34, Adolf Belka wrote: >=20 > Hi Michael, >=20 > On 04/05/2023 16:51, Michael Tremer wrote: >> Hello Adolf, >> Another day with another interesting problem that you are bringing us :) >=20 > I do seem to be able to find things that don't work as expected don't I. >> Did you try to run =E2=80=9Cpython3 -m build=E2=80=9D in the source direct= ory of exceptiongroup and flit-scm? >> That inspiration is coming from here: >> https://github.com/archlinux/svntogit-community/blob/packages/python-exc= eptiongroup/trunk/PKGBUILD >=20 > The day before yesterday I thought to myself maybe I should look what Arch = Linux does but never followed through on it. Thanks very much for the suggest= ion. I will give it a go and see how it goes. I will also compare it with the= python3-flit module we have because that looks to use the pypproject.toml fi= le, although there are several environment variables defined that I am not su= re how to specify for my case but will see how things go. >> 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 work w= ithout using installer, just build so will see how things go to start with on= ly using build before looking at adding installer in as well. >=20 > Regards, > Adolf. >=20 >> Best, >> -Michael >>> On 1 May 2023, at 17:52, Adolf Belka wrote: >>>=20 >>> Hi All, >>>=20 >>> I have figured out why the fuse mount stopped working with borgbackup in = Core Update 173. (Bug#13076) >>>=20 >>>=20 >>> python3-trio was updated when python was updated to 3.10.8 and python3-tr= io is required by python3-pyfuse3. However the python3-trio update also added= a new dependency - python3-exceptiongroup which then requires python3-flit_s= cm for the build of python3-exceptiongroup. >>>=20 >>>=20 >>> Both python3-exceptiongroup and python3-flit_scm use pyproject.toml, howe= ver python3-pyproject2setuppy fails with trying to build python3-flit_scm as = it does not understand the backend definition in the pyproject.toml file. >>>=20 >>> The error message is :- >>>=20 >>> File "/usr/lib/python3.10/site-packages/pyproject2setuppy/__main__.py= ", line 50, in main >>> raise NotImplementedError( >>> NotImplementedError: Build backend flit_scm:buildapi unknown >>>=20 >>>=20 >>> pyproject2setuppy is now marked as DEFUNCT due to the number of special c= ases in the pyproject.toml file that needed lots of work each time to update = pyproject2setuppy to work again. >>>=20 >>>=20 >>> Does anyone have any idea how I should build flit_scm and exceptiongroup = without using pyproject2setuppy. >>>=20 >>> I have done some searching but could not find anything that I could eithe= r understand or that did not require internet access to download all required= dependencies. >>>=20 >>>=20 >>> Regards, >>>=20 >>> Adolf. >>>=20 >=20 > --=20 > Sent from my laptop --===============1846201600015809958==--