Hi, we would like to use Python 3 on the default installation instead of Python 2 on Fedora 22.
From that perspective, your package is considered as IMPORTANT - that means, is has to be updated to Python 3, for our intention come true.
The goal here is, that at least for F22 you should provide python3- prefixed subpackage.
Please, help use update to Python 3 flawlessly.
Check if upstream already support Python 3, if yes, use it and add te support to the package.
If upstream doesn't support Python 3 yet, encourage it to do so by sending patches and offering your help.
When upstream is dead or unwilling to support Python 3, you'll need to patch this package on Fedora level. Try to avoid this as much as you can, but use it, if it's the last option.
Chances are, that you ARE the upstream. In that case, everything is easier, just do it yourself.
There is a table on wiki, that should list your package. Chances are, that you can see an upstream link that covers the problem. Anyway, please update the table with information you know.
I offer my help with this task, so if you have no idea, how to work on this, or it is just not your priority, don't hesitate to ask for help.
(As you've already realized, this is a bulk text, so if something is not quite exact about your package, sorry for that, just ask)
Note: do not follow this portion of the advice as it is against the Packaging Guidelines: "When upstream is dead or unwilling to support Python 3, you'll need to patch this package on Fedora level. Try to avoid this as much as you can, but use it, if it's the last option."
If you are in this situation, you'll essentially be forking upstream in order to produce a python3 port. In that situation, the proper thing to do is to create a new package with the python3 port. It would be even better to create the proper upstream infrastructure as well (new upstream scm and issue tracker) but that isn't 100% required by the guidelines.
(In reply to Toshio Ernie Kuratomi from comment #1)
> Note: do not follow this portion of the advice as it is against the
> Packaging Guidelines: "When upstream is dead or unwilling to support Python
> 3, you'll need to patch this package on Fedora level. Try to avoid this as
> much as you can, but use it, if it's the last option."
Pycurl upstream is NOT dead. A new release of pycurl was announced last week:
work in progress:
Maybe you've already used that, but juts in case you didn't know:
Thanks for the pointer! I am trying to rebase the patch against the latest upstream version of pycurl and make it working...
Here is the result of my attempt to rebase the patch:
The problem is that the python2 API of pycurl relies on the PyString and PyFile types, which do not exist in python3 any more and have no drop-in replacements.
The upstream test-suite depends on cherrypy. Unfortunately, python3-cherrypy seems to be a dead package on Fedora, waiting for a maintainer. See bug 984711.
Cherrypy is being removed in F20.
If you'll note, that bug is assigned to 'orphan maintainer' - there's no one
actually maintaining that package currently. It's been dropped from Fedora
Received this from Bill Nottingham.
So we need to find a new maintainer for it and get the package back to Fedora.
(In reply to Miro Hrončok from comment #10)
> Taking it.
That was fast :) Thanks!
There is a new upstream patch providing the python 3 support:
I have imported the patch into Fedora:
... and built a scratch build with the patch applied:
I have updated my private branch to the latest upstream version:
... and built a new scratch build from it:
I am going to merge it into rawhide once the upstream version 7.19.3 is out:
python-pycurl-7.19.3-2.fc21 provides the python 3 support as distributed by pycurl upstream so I am closing this bug as resolved. From now on, please file any issues with the python3 support of pycurl as separate bugs.
Would it be possible to also put this in F20?
Yes, it would. Are you going to depend on python3-pycurl in a Fedora package?
(In reply to Kamil Dudka from comment #17)
> Yes, it would. Are you going to depend on python3-pycurl in a Fedora
No, it's just that I would like to use it for some personal scripts.
python-pycurl-7.19.3-1.fc20 has been submitted as an update for Fedora 20.
Thank you so much for putting it in F20, Kamil. I've been testing it today, and it's working great!
Great! Thanks for testing it, Frederik.
python-pycurl-7.19.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.