Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 Changed 8 years ago by Yuri Dario

This is fixed in Committed revision r776.

comment:2 Changed 8 years ago by Yuri Dario

Resolution: fixed
Status: newclosed

comment:3 Changed 8 years ago by Yuri Dario

This broke some python modules because of errors like

PYCURL->PYTHON27._PyUnicodeUCS2_AsEncodedString

missing export. Found PYCURL, RPM, SQLITE3 until now.

comment:4 Changed 8 years ago by Yuri Dario

spec: rpm, python-pycurl, yum-metadata-parser, rebuild for ucs4, ticket#182.
Sending python-pycurl.spec
Sending rpm.spec
Sending yum-metadata-parser.spec
Committed revision r781.

comment:5 Changed 8 years ago by Yuri Dario

spec: python, Build python with --enable-unicode[=ucs[24]] ticket#182; Python and long dll/pyd names ticket#185.
Committed revision r782.

comment:6 Changed 8 years ago by Yuri Dario

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.

Note: See TracTickets for help on using tickets.