Hi all, I just updated the MR on Salsa for redland-bindings, it now successfully creates a python3-librdf package instead of the python-librdf package. This change still needs to be tested, however it looks good, since the build process runs without obvious errors. The upload to unstable I assume needs to be done together with mozilla-devscripts, once it is also converted to python3. Benjamin, you have done some work on mozilla-devscripts and got stuck since redland-bindings were python2 only. Can you provide any insight on how to test the new package properly? What would be the next steps for mozilla-devscripts?
Best Regards, Jann On Sun, 30 Aug 2020 10:45:15 +0200 Jann Haber <ja...@selfnet.de> wrote: > I created an MR on Salsa to drive this a little bit forward. I found in the > output of configure, that it reported python -> no. This is likely the cause > of the python bindings missing later. The MR contains a patch to make > configure use python3. Then the compilation does not fail anymore. > > I however still don't think it works correctly - dh_missing reports there are > missing files and 0 files in the python3 package. I'm not so experienced in > packaging, so I was unable to fix this, but maybe the finding above help > somebody else :) > > https://salsa.debian.org/debian/redland-bindings/-/merge_requests/1 > > On Mon, 10 Feb 2020 14:47:36 -0500 Daniel Kahn Gillmor > <d...@fifthhorseman.net> wrote: > > On Sun 2019-11-03 22:50:59 +0100, Benjamin Drung wrote: > > > I ported amo-changelog and xpi-repack to Python 3 in version 0.54, but I > > > wasn't able to port all scripts, because there is no Python 3 version of > > > redland-bindings (see Debian bug #780741). > > > > Afaict, upstream redland-bindings claims to support python3: > > http://librdf.org/bindings/RELEASE.html#rel1_0_17_1 > > > > see also http://bugs.librdf.org/mantis/view.php?id=549 > > > > but this is from many years ago, and afaict, there has been no > > additional work upstream on redland bindings since then. > > > > Worse, i've been unable to make any of this build against python3. You > > can see my (failed) attempts at preparing an NMU. I've published them > > to salsa on the WIP-python3 branch at > > https://salsa.debian.org/debian/redland-bindings if anyone wants to try > > to improve. > > > > So at any rate, i don't see how to get a python3-librdf package easily > > into debian to unblock the mozilla-devscripts transition to python3. > > But i do note that python3-rdflib has been in debian for a > > while. (that's a totally different RDF python module) > > > > I haven't looked into it myself, but perhaps mozilla-devscripts could > > drop the use of redland and use rdflib instead? > > > > Sorry to not have more effective progress to suggest. I'm probably not > > going to have time to work more on this, but i wanted to note where i > > got to, and where i got stuck if someone else wants to pick it up. > > > > --dkg > >