Re: Current state of Python 3 migration

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----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          [email protected]
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-----

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.