Bug 1007002

Summary: RFE: Add a python3 mod_wsgi package
Product: [Fedora] Fedora Reporter: Luke Macken <lmacken>
Component: mod_wsgiAssignee: Matthias Runge <mrunge>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jminter, jokajak, jorton, lmacken, mrunge, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_wsgi-3.4-11.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-14 16:29:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luke Macken 2013-09-11 17:10:49 UTC
mod_wsgi version 3.0 and later supports Python 3.1 and later:

http://code.google.com/p/modwsgi/wiki/SupportForPython3X
http://code.google.com/p/modwsgi/wiki/ChangesInVersion0300

Comment 1 Luke Macken 2013-09-11 17:12:55 UTC
CC'ing Jim Minter, who has done some work on the mod_wsgi-python3 subpackage: https://github.com/jim-minter/mod_wsgi

Comment 2 Luke Macken 2013-09-11 17:16:49 UTC
A couple of things stand out with the spec changes:

The following was removed from %build, which may cause problems:

-# Regenerate configure for -coredump patch change to configure.in
-autoconf

Also, the --with-python=%__python3 should probably be %{__python3} to remain consistent.

Other than that, it looks good at a first glance, but I have yet to actually test it.

Comment 3 Jim Minter 2013-09-12 21:44:04 UTC
Luke, thanks for setting up this bz.

The autoconf removal from %build is because I propose to just apply the vanilla upstream patches as-is.  These directly patch ./configure and ./configure.ac (see mod_wsgi-3.4-1002-core-dumps.patch) whereas for some reason the current Fedora mod_wsgi patchsets omit these diffs.  By using the upstream patches direct I believe that the autoconf line is surplus to requirements and therefore I removed it.  If I'm wrong / if there's doubt / if I'm told to, I can put it back in?

I've fixed the suggested addition of braces (%{__python3}) -- thanks; please pull.

Comment 4 Luke Macken 2013-09-13 15:53:34 UTC
Excellent, looks good! I just tested your mod_wsgi-python3 subpackage with a basic Pyramid quickstart and it worked as expected.

Comment 5 Jim Minter 2013-09-25 12:45:43 UTC
Great - what next?

Comment 6 Luke Macken 2013-10-01 21:20:27 UTC
Assuming the mod_wsgi and httpd maintainers don't see any problems with it, getting it into rawhide would be the next step (then f20?). It may also be worth dropping a line to the python-devel list announcing it and asking for more testers. https://lists.fedoraproject.org/mailman/listinfo/python-devel

Comment 7 Matthias Runge 2014-01-14 16:29:35 UTC
I'm very sorry for delaying this. 

It's now been fixed in 
mod_wsgi-3.4-11.fc21