Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929692 - net-firewall/ufw: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: net-firewall/ufw: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:49 UTC by Michał Górny
Modified: 2024-06-02 04:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:49:40 UTC
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.
Comment 1 Dan Arnold 2024-05-29 07:18:52 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-02 04:57:41 UTC
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(-)