Bug 1007002 - RFE: Add a python3 mod_wsgi package
Summary: RFE: Add a python3 mod_wsgi package
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_wsgi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 17:10 UTC by Luke Macken
Modified: 2016-09-20 02:45 UTC (History)
6 users (show)

Fixed In Version: mod_wsgi-3.4-11.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-14 16:29:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.