Bug 494886
Summary: | python-simplejson on EL-4 has issues with unicode | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Michael DeHaan <mdehaan> |
Component: | python-simplejson | Assignee: | Luke Macken <lmacken> |
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | el4 | CC: | a.badger, bkearney, fschwarz, kylev, lmacken, mastahnke, pfrields |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | UpdatePackage | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-09-17 02:44:56 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: | |||
Bug Blocks: | 497244 |
Description
Michael DeHaan
2009-04-08 14:35:21 UTC
simplejson 2.0.9 claims to be Python2.4+, which will not work in EL-4, right? I'll run tests in a EL4 VM shortly. lmacken: I need simplejson >= 2.0.8 in F-11 and rawhide to be able to update to the release version of Pylons 0.9.7. (Feel free to add me as a committer if you want me to do it for Fedora). Unfortunately, most of simplejson requires now requires python 2.4 (particularly the test suite, annoyingly). It'll be a non-trivial backport to EL-4, but I'll look into it. In the meantime, Michael, if you can provide me with an URL or information regarding the particular bug being discussed, perhaps I can back-port a patch to fix the particular test case/bug that people are bothered with. Kyle, various emails to Cobbler list, I'm not sure where it is discussed upstream since this has been a long time since I posted the original bug report (two months). Some of it: https://fedorahosted.org/pipermail/cobbler/2009-April/003770.html I've since worked around the problem simply by not using simplejson on EL-4 (and using yaml there instead), which is slower, but avoids the problems with encodings. Basically if you decode normal looking documents even if specifying the encoding types it will return botched unicode types. Rather than u"foo", it will actually be "ufoo". Sorry, that's all I have since it's been too long since the workaround. I suppose you could close this if you want. kylev: what do you think? Backport or close? Unless someone else specifically needs this, guess we'll close this. |