This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
It is a real problem right now, that this package doesn't support Python 3.12. The gentoo default Python version is changing to 3.12 shortly, and this package's lack of support for 3.12 breaks kde-plasma/plasma-meta on a Python 3.12 system. As a result, I currently have both Python 3.11 and Python 3.12 installed *only* for this package. I don't specifically need net-firewall/ufw, but the KDE Plasma 5 meta package indirectly requires it because kde-plasma/plasma-workspace requires it: $ equery g net-firewall/ufw --depth=10 | grep plasma [ 10] kde-plasma/plasma-workspace-5.27.11 $ equery g kde-plasma/plasma-meta | grep plasma-workspace [ 1] kde-plasma/plasma-workspace-5.27.11 Even though I don't directly use the net-firewall/ufw package, I can't remove it on my Plasma 5 desktop system due to this dependency. I have keep both Python 3.11 and 3.12 installed *just for this package* - there are no other packages in my @world that lack Python 3.12 support. Often when I emerge upgrade I have to update package.use to add Python 3.11 support to some python libraries (i.e. dev-python/setuptools-scm-8.1.0) so that I can keep my Python 3.11 installation working to keep this package happy. I understand how to work around it on my system, but it's annoying and it's not a good experience. I do not know Python, nor do I know anything about this package, so I am not volunteering to test Python 3.12 support, but I just wanted to bump this in the hope that someone with more experience with this package can validate Python 3.12 support and I can finally uninstall Python 3.11. Thanks for reading.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641421d5f2792f50c597b55898c963f5c1131c1b commit 641421d5f2792f50c597b55898c963f5c1131c1b Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-02 04:23:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-02 04:57:06 +0000 net-firewall/ufw: enable py3.12 Closes: https://bugs.gentoo.org/929692 Signed-off-by: Sam James <sam@gentoo.org> net-firewall/ufw/ufw-0.36.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)