Bug 1014577
| Summary: | python-paste: Support Python 3 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-paste | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | a.badger, kylev, lmacken, nphilipp, rkuska |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-paste-2.0.2-1.fc24 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-13 17:15:31 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1014209 | ||
|
Description
Miro Hrončok
2013-10-02 11:10:07 UTC
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. There's no upstream support for python3 and paste and from what I hear there isn't going to be any (pyramid/TG2 devs might work on something but they have yet to release a fork). paste is also wsgi implementing code (rather than wsgi consuming code) so it's a very tough thing to provide a unified code-base port of (the wsgi specification for python2 and python3 is different). If paste is ported, it's probably going to need to be in a different package because it won't be a single upstream tarball for python2 and python3. It's probably best to port to a different library that provides something similar rather than trying to port paste itself anyway. Will note this advice on the User:Churchyard/python3 wiki page and closing this bug as CANTFIX. Both Pyramid and TurboGears have forked parts of Paste and ported them to Python3. https://github.com/TurboGears/gearbox https://github.com/Pylons/pyramid/tree/master/pyramid/scripts I got an impression that upstream supports Python 3 now. See https://bitbucket.org/ianb/paste/commits/all This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 Would it be possible to update paste? There is 2.0.2 [1] version already on pypi which should support python3. [1] https://pypi.python.org/packages/source/P/Paste/Paste-2.0.2.tar.gz#md5=4bfc8a7eaf858f6309d2ac0f40fc951c Luke, would you mind if I gave it a shot? as discussed on #fedora-releng Any update? I'm working on it ;). I've made a few patches on top of upstream git master, see here: https://github.com/nphilipp/paste/commits/py3k Tests are good now, opened an issue for upstream on bitbucket: https://bitbucket.org/ianb/paste/issues/13/tests-failing-under-python-3 |