Bug 1306951

Summary: Keep providing a py2 version
Product: [Fedora] Fedora Reporter: Pierre-YvesChibon <pingou>
Component: radicaleAssignee: Juan Orti <jorti>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jorti, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-23 07:56:29 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 Pierre-YvesChibon 2016-02-12 09:37:05 UTC
While it is great that radicale defaults to py3, it would be even nicer if we would still provide a py2 version.

Not every web-app currently runs in py3 and one cannot mix py2 and py3 in the same apache server. So no mod_wsgi and python3-mod_wsgi together.

Which means, one cannot effectively run radicale (py3) and say pagure (py2) on the same server. That's a pity.

Could we do:
  - radicale        -> py3
  - raciale-python2 -> py2

This way we still allow to run radicale with another web-app but still default to py3.


Thoughts?

Thanks

Comment 1 Juan Orti 2016-02-14 20:10:42 UTC
I'll investigate the best way to do it. I agree it's interesting to have both versions available.

Comment 2 Jan Kurik 2016-02-24 14:30:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 3 Pierre-YvesChibon 2016-06-20 12:24:15 UTC
This bug is still valid, re-setting it to rawhide and the best way would be to simply do a radicale-python2 subpackage

Comment 4 Juan Orti 2016-06-21 15:11:58 UTC
I've modified the spec file to add support for python2. Could you please help me testing it?

It's in this copr repository:
http://copr-fe.cloud.fedoraproject.org/coprs/jorti/python2-radicale/

You can enable it with:
dnf copr enable jorti/python2-radicale

The subpackages radicale-httpd and radicale-python2-httpd provide the Apache configuration examples. I've left the standalone daemon with the python3 version only.

Thanks.

Comment 5 Juan Orti 2016-06-23 07:56:29 UTC
I've pushed it to rawhide:
http://koji.fedoraproject.org/koji/taskinfo?taskID=14617650

I've split the package in the python modules:
python2-radicale
python3-radicale

The standalone server (only python3):
radicale

And the httpd support:
radicale-httpd
radicale-httpd-python2

Any feedback is welcomed.

Comment 6 Pierre-YvesChibon 2016-06-23 08:36:15 UTC
Many thanks, I have had the time to test them but will try to do it soon.

Would it be possible to consider updating F24 and F23 for these as well?

Comment 7 Juan Orti 2016-06-23 08:51:37 UTC
I'd like to give it a more extensive testing in rawhide first, then I'll push it to the stable releases.

Comment 8 Juan Orti 2016-07-01 11:58:26 UTC
Fedora 24 update:
https://bodhi.fedoraproject.org/updates/FEDORA-2016-5ba77956d2