Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929870 - www-apache/mod_wsgi: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: www-apache/mod_wsgi: needs upgrade to Python 3.12 (PythonCompatUpdate)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 2 votes (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: 921826
  Show dependency tree
Reported: 2024-04-13 08:56 UTC by Michał Górny
Modified: 2024-06-07 08:54 UTC (History)
5 users (show)

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


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:56:26 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:  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 François Valenduc 2024-05-10 08:53:22 UTC
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.
Comment 2 cilly 2024-06-02 22:15:11 UTC
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])
Comment 3 Larry the Git Cow gentoo-dev 2024-06-07 08:54:41 UTC
The bug has been closed via the following commit(s):

commit 1a367ad8d2d63805888c414ee9e26419ede81467
Author:     Hanno Böck <>
AuthorDate: 2024-06-07 08:54:11 +0000
Commit:     Hanno Böck <>
CommitDate: 2024-06-07 08:54:14 +0000

    www-apache/mod_wsgi: add 5.0.0
    Support python 3.12, bump EAPI.
    Signed-off-by: Hanno Böck <>

 www-apache/mod_wsgi/Manifest              |  1 +
 www-apache/mod_wsgi/mod_wsgi-5.0.0.ebuild | 46 +++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)