So, this is a little hard to fix with the archive packages now and I'm not sure where people are going with the 3.12 updates. I can get python3.12 reasonably easily enough but debian/tests/control has:
Both of these are installing python3-distutils, but only one is installing dh-python. dh-python depends on both python3-distutils and python3-setuptools. Presumably dh-python is going to stop installing python3-distutils? However, python3-setuptools *also* depends on python3-distutils (which the setuptools package provides).
As it stands, ufw 0.36.2-3 builds fine with what is in noble now and should in what is in noble-proposed now (indeed, it passed its autopkgtests and migrated recently).
Where was this test result coming from? What is the goal of that build? Since the autopkgtests are declaring that python3-distutils be installed, we shouldn't be getting the the error since it should be there.
I can create an artificial situation and do 'sudo dpkg --force-depends --purge python3-distutils' (but is this even valid?) but even in that situation, python3-setuptools in the archive being installed still allows the import to work. Only if I do 'sudo dpkg --force-depends --purge python3-distutils python3-setuptools' can I reproduce the import error, but the fix is to use python3-setuptools....
Mathias,
So, this is a little hard to fix with the archive packages now and I'm not sure where people are going with the 3.12 updates. I can get python3.12 reasonably easily enough but debian/ tests/control has:
# root unittests under python3
python3- distutils
Tests: root-unittest
Depends: iptables,
netbase,
procps,
sed,
python3,
Restrictions: needs-root, allow-stderr, isolation-machine, build-needed, rw-build-tree
# unittests under python3
python3- distutils,
Tests: unittest
Depends: iptables,
netbase,
procps,
sed,
python3,
dh-python,
Both of these are installing python3-distutils, but only one is installing dh-python. dh-python depends on both python3-distutils and python3-setuptools. Presumably dh-python is going to stop installing python3-distutils? However, python3-setuptools *also* depends on python3-distutils (which the setuptools package provides).
As it stands, ufw 0.36.2-3 builds fine with what is in noble now and should in what is in noble-proposed now (indeed, it passed its autopkgtests and migrated recently).
Where was this test result coming from? What is the goal of that build? Since the autopkgtests are declaring that python3-distutils be installed, we shouldn't be getting the the error since it should be there.
I can create an artificial situation and do 'sudo dpkg --force-depends --purge python3-distutils' (but is this even valid?) but even in that situation, python3-setuptools in the archive being installed still allows the import to work. Only if I do 'sudo dpkg --force-depends --purge python3-distutils python3-setuptools' can I reproduce the import error, but the fix is to use python3- setuptools. ...