[Zope-dev] Current state of Python 3 migration
Tres Seaver
tseaver at palladion.com
Wed Dec 19 19:42:35 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/19/2012 01:57 PM, Marius Gedminas wrote:
> On Wed, Dec 19, 2012 at 01:37:04PM -0500, Tres Seaver wrote:
>> On 12/19/2012 01:34 PM, Marius Gedminas wrote:
>>> On Wed, Dec 19, 2012 at 01:07:10PM -0500, Tres Seaver wrote:
>>>> On 12/19/2012 11:33 AM, Tres Seaver wrote:
>>>>> I spoke in error: the zope.proxy extension is ported.
>>>>> However, there is a chunk of 'proxy.h' which is *not* compiled
>>>>> when building the extension itself: it is only compiled when
>>>>> included in another moduule. That bit needs porting: I will
>>>>> push it out this wee.
>>>>
>>>> zope.proxy 4.1.0 released with that section Py3k compatible.
>>>> Note that the cleanup required (enabling PyCapsule on Python
>>>> 2.7) requires that extensions built under Python 2.7 against a
>>>> 4.0.x version of the zope.proxy header must be rebuilt.
>>>
>>> What happens if they're not? Segfault?
>>
>> I think a little more graceful than that: you get a "module
>> initialization error", or something.
>
> Yeah, just got this
>
> SystemError: dynamic module not initialized properly
>
> when I checked out z3c.ptcompat, bootstrapped, buildouted, and ran
> bin/test.
>
> This is a bit unpleasant: I've zope.security 3.8.3 in my shared
> buildout eggs directory. If I wipe it and reinstall, I'll get it
> built ABI-compatible with zope.proxy 4.1.0 and all my existing
> buildouts that used zope.security 3.8.3 with an older zope.proxy will
> stop working.
>
> If I don't wipe it, I can't create any new buildouts that pull in an
> unversioned dependency on zope.proxy.
>
> Ideas?
Ugh, that hurts. I don't ever use the shared directory, so I missed
that possibility.
> Would it be possible to release zope.security 4.0.0 any time soonish?
> Then new buildouts would get new zope.proxy and new zope.security,
> while old buildouts would happily continue to use old ones.
I had hoped that the 4.0.0 marker would signal Py3k compatibilty, but
don't have gumption to finish that port today. Maybe a 3.9.0 release,
made by branching from 3.8.3 and just bumping the zope.proxy dependency?
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlDSGKsACgkQ+gerLs4ltQ73CwCfQQmFw/rKv4LQ9c3WwbPZT2oj
iocAoJSEJonVZfDm+AuEN+Pj48F2MidH
=tANQ
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list