Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 952755

Summary: www-apache/mod_wsgi: needs porting to Python 3.13
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: blakawk, cilly, gabriel, hanno, tom
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 941893    
Attachments: mod_wsgi 5.0.2. ebuild

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-03-27 16:08:50 UTC
The package needs porting to Python 3.13.
Comment 1 cilly 2025-05-02 11:02:33 UTC
Same here
Comment 2 Gabriel 2025-05-03 11:53:20 UTC
Created attachment 927444 [details]
mod_wsgi 5.0.2. ebuild

Attached proposed ebuild compatible with Python 3.13 thanks to version bump 5.0.0->5.0.2 - this is aimed to whoever wants to resolve this bug _and_ has experience with ebuilds and potentially a bit of portage fighting.
Comment 3 cilly 2025-05-04 06:58:59 UTC
Gabriel, Thank you!

diff mod_wsgi-5.0.2.ebuild /var/db/repos/gentoo/www-apache/mod_
wsgi/mod_wsgi-5.0.0.ebuild 
6c6
< PYTHON_COMPAT=( python3_{9..13} )
---
> PYTHON_COMPAT=( python3_{9..12} )

---

@devs add ebuild to tree
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-04 07:04:47 UTC
I'll take a look.
Comment 5 cilly 2025-05-04 07:25:25 UTC
(In reply to Sam James from comment #4)
> I'll take a look.

Perfect, Sam!
Comment 6 Gabriel 2025-05-04 09:26:05 UTC
Thanks, Sam, as ever.
Disclaimer: it works on my machine (tm), tested hosting Mercurial (fun to test).   Other than that, it does throw several deprecation warnings as it compiles, which seems to be a common thing anyway.
Comment 7 cilly 2025-05-04 09:33:19 UTC
(In reply to Gabriel from comment #6)
> Thanks, Sam, as ever.
> Disclaimer: it works on my machine (tm), tested hosting Mercurial (fun to
> test).   Other than that, it does throw several deprecation warnings as it
> compiles, which seems to be a common thing anyway.

Tested with Nextcoud, TT-RSS and others. Works as expected.

PS: who cares about warnings 😂
Comment 8 Gabriel 2025-05-04 09:35:54 UTC
(In reply to cilly from comment #7)
> Tested with Nextcoud, [...]
Isn't Nextcloud a PHP thing that you would typically deploy with FCGI+PHP-FM?

> PS: who cares about warnings 😂
Completeness does :)
Comment 9 cilly 2025-05-04 09:38:38 UTC
(In reply to Gabriel from comment #8)
> (In reply to cilly from comment #7)
> > Tested with Nextcoud, [...]
> Isn't Nextcloud a PHP thing that you would typically deploy with FCGI+PHP-FM?

Somehow, if using specific apps and media content, wsgi is requested.
Comment 10 Larry the Git Cow gentoo-dev 2025-05-07 16:45:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fff1b241cce32bbeeaeb3938ba74b88f7acfc4c6

commit fff1b241cce32bbeeaeb3938ba74b88f7acfc4c6
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2025-05-07 16:45:01 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2025-05-07 16:45:03 +0000

    www-apache/mod_wsgi: add 5.0.2
    
    Add Python 3.13 support.
    
    Closes: https://bugs.gentoo.org/952755
    Signed-off-by: Hanno Böck <hanno@gentoo.org>

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