[Pkg-mozext-maintainers] Bug#937085: Bug#937085: mozilla-devscripts: Python2 removal in sid/bullseye

Håvard F. Aasen havard.f.aasen at pfft.no
Wed Jul 27 09:37:25 BST 2022


Hi,

On Thu, 03 Sep 2020 00:23:42 +0200 Benjamin Drung <bdrung at debian.org> wrote:
> Hi Jann,
> 
> Am Montag, den 31.08.2020, 22:58 +0200 schrieb Jann Haber:
> > 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.
> 
> Thanks for working on it.
> 
> > Benjamin, you have done some work on mozilla-devscripts and got stuck
> > since redland-bindings were python2 only.
> 
> I checked if I had code locally and found two commits (one work in
> progress) for the Python 3 migration. I pushed both into the "python3"
> branch on GitLab:
> https://salsa.debian.org/webext-team/webext-devscripts/-/commits/python3
> 
> Feel free to pick that up and finish it.
> 
I have continued working on the redland-bindings package, cleaned it up a
bit, and enabled the Python 3 testsuite. I created an MR [1]. I believe 
redland-bindings is ready to be uploaded to NEW/unstable.

> > Can you provide any insight on how to test the new package properly?
> > What would be the next steps for mozilla-devscripts?
> 
> Next steps would be: Finish the Python 3 migration of mozilla-
> devscripts from the "python3" branch. Check that the package builds
> (IIRC it runs some Python code checker on build).

Is this part done, so it's ready to begin testing?
> 
> To test that the Python 3 migration did not break anything, I would
> take a bunch of webext package (that build depend on mozilla-
> devscripts) and rebuild them (once with the current package and once
> with the Python 3 port). Then use diffoscope to compare the content of
> the two builds to be identical (same generated dependencies, same
> paths, etc). That should give us confidence to not break anything.

Did I look in the wrong place? when doing:
$ apt-cache rdepends mozilla-devscripts
Reverse Depends:
  devscripts

Which is only in the suggests section.

> 
> -- 
> Benjamin Drung
> Debian & Ubuntu Developer
> 
> 
> 


Regards,
Håvard

[1] https://salsa.debian.org/debian/redland-bindings/-/merge_requests/2



More information about the Pkg-mozext-maintainers mailing list