[Pkg-utopia-maintainers] Bug#938944: Bug#938944: network-manager: Python2 removal in sid/bullseye
Michael Biebl
biebl at debian.org
Fri Aug 30 21:42:11 BST 2019
Hi Andreas
Am 30.08.19 um 22:09 schrieb Andreas Henriksson:
> Control: block -1 by 916454
> Control: tags -1 + fixed-upstream
>
> On Fri, Aug 30, 2019 at 03:00:27PM +0100, Simon McVittie wrote:
>> Package: src:network-manager
> [...]
>> Usertags: py2removal
>> Control: block 936371 by -1
> [...]
>
> I had a quick look at this. Apparently upstream already supports using
> either python2 or python3 for tests (and fedora uses python3).
> cf. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/de326a4e8ad22a24e14c0f81821b0dd285860f22
>
> I tried changing build-deps:
> - python-gi -> python3-gi
> - python-dbus -> python3-dbus
>
> I also needed to explicitly set PYTHON=python3 environment variable when
> calling dh_auto_configure, since python2 is transitively pulled in by
> gtk-doc-tools and AM_PATH_PYTHON will pick up python(2) first.
> I'm thus marking the gtk-doc-tools bug report about updating to a new
> upstream release (and switching to python3) as a blocker as there's no
> real point in fixing NM for py2removal if it still transitively deps on
> python2.
>
> With this I had problems with 2 failing tests that before my changes
> where skipped! I have no idea why the tests where no longer skipped....
> Maybe someone else can easily spot it.
Thanks a lot for your work on this.
Can you post the build log somewhere?
A MR with your changes would be awesome as well.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20190830/261be7a8/attachment-0001.sig>
More information about the Pkg-utopia-maintainers
mailing list