Bug#998686: [pkg-apparmor] Bug#998686: apparmor: b-d on python3-all-dev, but not built for all supported Python3 versions

2021-11-08 Thread intrigeri
Control: clone -1 -2
Control: retitle -1 Python bindings fail to build with Python 3.10
Control: tag -1 + upstream
Control: forwarded -1 https://gitlab.com/apparmor/apparmor/-/issues/202
Control: retitle -2 Failure to build for 1 of the supported Python 3 versions 
does not trigger FTBFS, while it should

Hi,

Graham Inggs (2021-11-08):
> Apologies, I should have mentioned I was testing a local build with
> python3-defaults from experimental.

Thanks, I could reproduce this.

FTR I've used this command:

   dgit --rm-old-changes --gbp \
 sbuild \
   --keyid= \
   --extra-repository='deb http://localhost:3142/debian experimental main' \
   --build-dep-resolver=aspcud \
   --add-depends='python3 (>= 3.9.7-4)' 

It should actually FTBFS due to upstream incompatibility with Python
3.10:

  https://gitlab.com/apparmor/apparmor/-/issues/202

… but it does not (which is essentially #943649 again, no idea why
"set -e" does not trigger).

Cheers!



Bug#998686: [pkg-apparmor] Bug#998686: apparmor: b-d on python3-all-dev, but not built for all supported Python3 versions

2021-11-08 Thread Graham Inggs
Hi

On Sun, 7 Nov 2021 at 20:58, intrigeri  wrote:
> I understand that somehow, debian/rules should figure out that Python
> 3.10 is supported too. Correct?
> If so: where can it find this information?

Apologies, I should have mentioned I was testing a local build with
python3-defaults from experimental.

This bug is just a headsup, ahead of the actual Python 3.10
transition, hence severity 'important' and not 'serious'.

Regards
Graham



Bug#998686: [pkg-apparmor] Bug#998686: apparmor: b-d on python3-all-dev, but not built for all supported Python3 versions

2021-11-07 Thread intrigeri
Hi,

Graham Inggs (2021-11-06):
> This package build-depends on python3-all-dev, but does not build
> extensions/libraries for all supported python3 versions.

Thanks for this report :)

debian/rules tries to build for every Python 3 version
output by "py3versions -s".

On my sid system, this command currently outputs only "python3.9".

I understand that somehow, debian/rules should figure out that Python
3.10 is supported too. Correct?
If so: where can it find this information?

Thanks in advance,
cheers!



Bug#998686: apparmor: b-d on python3-all-dev, but not built for all supported Python3 versions

2021-11-06 Thread Graham Inggs
Source: apparmor
Version: 3.0.3-5
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10 python3-all-dev

Hi Maintainer

This package build-depends on python3-all-dev, but does not build
extensions/libraries for all supported python3 versions.  This
is seen on the transition tracker for adding python3.10 support [1]
and creates false positives.

Please either replace the b-d python3-all-dev with python3-dev,
or build for all supported Python3 versions.  With the former
solution you get later exposure to a new python3 version, with
the latter solution you get early exposure.

Regards
Graham


[1] https://release.debian.org/transitions/html/python3.10-add.html