Bug 578711
| Summary: | urllib2_kerberos non-functional on EL5 due to Python 2.5-isms | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Ian Ward Comfort <icomfort> | ||||||
| Component: | python-urllib2_kerberos | Assignee: | Orphan Owner <extras-orphan> | ||||||
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | el5 | CC: | extras-orphan, mcepl, mcepl, varaldcl | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-09-16 00:05:13 UTC | Type: | --- | ||||||
| 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: | 1065576 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
Created attachment 521602 [details]
patch2 for python-urllib2_kerberos
hi
any news on this bug?
Here is an other patch proposed by our dev team, for the same requirements.
Thanks
I have patch for this in the package which I will release once I understand the issue with bug 1115513 steve.traylen already fixed the issue somehow, so I won't touch it again. |
Created attachment 403894 [details] Patch to port urllib2_kerberos to Python 2.4 Though the python-urllib2_kerberos package builds on (and is built for) EPEL 5, the package is non-functional on EL5, as urllib2_kerberos uses syntax introduced with Python 2.5, and EL5 ships Python 2.4.3. (Specifically, the package uses string.rpartition, "try ... finally" and ternary "a if cond else b".) I'm attaching a patch which applies to urllib2_kerberos 0.1.6, and ports that software to Python 2.4. It would be great if this patch could be conditionally applied to EPEL 5 builds of this package.