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.
For your information, I tested mod_wsgi 5.0.0 with python 3.12 and it works correctly. I can run the pgadmin4 application under apache without problems.
Please, update ebuild. Calculating dependencies / !!! Problem resolving dependencies for www-apache/mod_wsgi from @selected ... done! Dependency resolution took 2.28 s (backtrack: 0/20). !!! The ebuild selected to satisfy "www-apache/mod_wsgi" has unmet requirements. - www-apache/mod_wsgi-4.9.4-r1::gentoo USE="" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" The following REQUIRED_USE flag constraints are unsatisfied: exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) (dependency required by "@selected" [set]) (dependency required by "@world" [argument])
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a367ad8d2d63805888c414ee9e26419ede81467 commit 1a367ad8d2d63805888c414ee9e26419ede81467 Author: Hanno Böck <hanno@gentoo.org> AuthorDate: 2024-06-07 08:54:11 +0000 Commit: Hanno Böck <hanno@gentoo.org> CommitDate: 2024-06-07 08:54:14 +0000 www-apache/mod_wsgi: add 5.0.0 Support python 3.12, bump EAPI. Closes: https://bugs.gentoo.org/929870 Signed-off-by: Hanno Böck <hanno@gentoo.org> www-apache/mod_wsgi/Manifest | 1 + www-apache/mod_wsgi/mod_wsgi-5.0.0.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+)