#182 closed task (fixed)
Build python with --enable-unicode[=ucs[24]]
Reported by: | Lewis Rosenthal | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | python | Version: | |
Severity: | medium | Keywords: | |
Cc: |
Description
python 2.7.6 says:
[c:\]python Python 2.7.6 (default, Dec 12 2015, 04:56:50) [GCC 4.9.2] on os2knix Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.maxunicode 65535
which indicates ucs2. For such things as reported in ticket #88, i.e., support for DBCS systems, we need ucs4.
Marking this as a task with major priority with medium severity because currently YUM apparently does not work on (all? some?) DBCS systems.
Change History (6)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 8 years ago
This broke some python modules because of errors like
PYCURL->PYTHON27._PyUnicodeUCS2_AsEncodedString
missing export. Found PYCURL, RPM, SQLITE3 until now.
comment:4 by , 8 years ago
comment:5 by , 8 years ago
comment:6 by , 8 years ago
I found the reason of broken deps in new python, it is out fault.
when Requires:python-pycurl > 7.19.5.1-1 is present, 7.19.5.2 is not the winner...
this is because we add %{?dist} macro to Release tag.
so 7.19.5.1-1.oc00 is the winner because 1.oc00 is greater than 1... and it is already installed so the correct dep resolving requires: Requires: python-pycurl > 7.19.5.1-1%{?dist} or Requires: python-pycurl >= 7.19.5.1-2
The current dep solving with Conflicts tags is as follows:
Conflicts: python-pycurl < 7.19.5.1-2
Conflicts: rpm < 4.13.0-8
Conflicts: yum-metadata-parser < 1.1.4-6
spec: python, fixes Conflicts tags to allow proper dep solving.
Committed revision r788.
This is fixed in Committed revision r776.