On Sun, Apr 03, 2005 at 11:33:36AM -0400, Stephen McCamant wrote:
> 
> In the latest release of PyQt, it appears that the types allowed by
> the QSizePolicy constructor have changed in an incompatible way. They
> now must be enumerated values, such as QSizePolicy.MinimumExpanding,
> rather than the corresponding integer values (e.g. 3).
> 
> Unfortunately, forms generated by previous versions of pyuic use the
> integer values, so this upgrade breaks most programs that have forms
> generated that way.

Yes... I'm sorry. In fact I was somewhat aware of this change (it cames
from 4.2, which we didn't package), but I didn't remember. I hate to
change the sip version so close to releasing Sarge, but we need it to
build PyQt 3.14, which solves some memleak problems (there are other,
but they won't make it before sarge).

Upstream introduced this change back in December, before releasing 4.2,
and then had second thougths on it and reverted the behaviour to the
old one. A week later he had "third thoughts" on it and the strict
checking went back into the code, and it seems it's here to stay.

I could try to hack Debian's sip version, but this would trigger a
rebuild of PyQt and PyKDE (as this would change the code produced by
sip), and we're already getting out of time before Sarge's freeze.

I think it's quicker rebuilding the affected packages (memaid-pyqt,
kodos, etc) with fixed forms and uploading them.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to