[Zope-CMF] GenericSetup Zope support

2009-03-05 Thread Wichert Akkerman
Currently GenericSetup trunk no longer runs on Zope 2.10. If I try to
run the tests I get this:

  File /src/Products.GenericSetup/Products/GenericSetup/registry.py, line 23, 
in ?
from App.class_init import InitializeClass
ImportError: cannot import name InitializeClass

I can see two solutions:

- add a BBB import to import from Globals
- from App.class_init import default__class_init__ as InitializeClass

Does anyone have preferences?

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] CMF Tests: 6 OK

2009-03-05 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Wed Mar  4 12:00:00 2009 UTC to Thu Mar  5 12:00:00 2009 UTC.
There were 6 messages: 6 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Wed Mar  4 20:54:01 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-March/011011.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Wed Mar  4 20:56:04 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-March/011012.html

Subject: OK : CMF-trunk Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Wed Mar  4 20:58:05 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-March/011013.html

Subject: OK : CMF-trunk Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Wed Mar  4 21:00:05 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-March/011014.html

Subject: OK : CMF-trunk Zope-trunk Python-2.4.6 : Linux
From: CMF Tests
Date: Wed Mar  4 21:02:06 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-March/011015.html

Subject: OK : CMF-trunk Zope-trunk Python-2.5.4 : Linux
From: CMF Tests
Date: Wed Mar  4 21:04:06 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-March/011016.html

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup Zope support

2009-03-05 Thread yuppie
Hi!


Wichert Akkerman wrote:
 Currently GenericSetup trunk no longer runs on Zope 2.10. If I try to
 run the tests I get this:
 
   File /src/Products.GenericSetup/Products/GenericSetup/registry.py, line 
 23, in ?
 from App.class_init import InitializeClass
 ImportError: cannot import name InitializeClass
 
 I can see two solutions:
 
 - add a BBB import to import from Globals
 - from App.class_init import default__class_init__ as InitializeClass
 
 Does anyone have preferences?

Well. The third solution is making the next releases of Zope 2.10 and 
Zope 2.11 required for GenericSetup 1.5.

Importing directly from App.class_init exposed a circular import issue 
in Zope, see: 
http://mail.zope.org/pipermail/zope-cmf/2008-December/028003.html

I fixed that issue on Zope 2.10 and Zope 2.11 trunk and added 
InitializeClass as alias for default__class_init__.

If you really need to run GenericSetup on older versions I'd prefer your 
first solution (BBB import from Globals) because it makes sure modules 
are imported in the right order.


Cheers,

Yuppie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup Zope support

2009-03-05 Thread Wichert Akkerman
Previously yuppie wrote:
 Wichert Akkerman wrote:
  Currently GenericSetup trunk no longer runs on Zope 2.10. If I try to
  run the tests I get this:
  
File /src/Products.GenericSetup/Products/GenericSetup/registry.py, line 
  23, in ?
  from App.class_init import InitializeClass
  ImportError: cannot import name InitializeClass
  
  I can see two solutions:
  
  - add a BBB import to import from Globals
  - from App.class_init import default__class_init__ as InitializeClass
  
  Does anyone have preferences?
 
 Well. The third solution is making the next releases of Zope 2.10 and 
 Zope 2.11 required for GenericSetup 1.5.
 
 Importing directly from App.class_init exposed a circular import issue 
 in Zope, see: 
 http://mail.zope.org/pipermail/zope-cmf/2008-December/028003.html
 
 I fixed that issue on Zope 2.10 and Zope 2.11 trunk and added 
 InitializeClass as alias for default__class_init__.
 
 If you really need to run GenericSetup on older versions I'd prefer your 
 first solution (BBB import from Globals) because it makes sure modules 
 are imported in the right order.

I see no good reasons not to support existing Zope 2.10 (and older)
releases, and it would make it possible to use GenericSetup 1.5 with
Plone, which is exactly what I want to do.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup 1.5

2009-03-05 Thread Wichert Akkerman
Previously Wichert Akkerman wrote:
 Previously Tres Seaver wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  I would like to get a 1.5 release of GenericSetup out over the holidays.
   Here is what I have on the roadmap:
  
   - Clean up the sphinx docs for the package, incorporating / updating
 Rob Miller's excellent tutorial on GS (Rob has already blessed the
 notion).
  
   - Make *much* clearer the idea that content export / import should
 not be treated as part of any normal profile, including adding
 some extra support for doing that task at the application level.
  
   - Tidy up any deprecations when running under Python 2.5 (and maybe
 even 2.6).
  
  Anyone have other stuff they would like to see in the mix (and can help
  land)?
 
 I want to extend the upgrade step logic a bit to allow you to call
 single steps from other profiles. Should be a simple change.

I have commited this. Once the BBB problems with Zope 2.10 are fixed I
have no objections (and would in fact be in favour) of an 1.5 release.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup 1.5

2009-03-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wichert Akkerman wrote:
 Previously Wichert Akkerman wrote:
 Previously Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I would like to get a 1.5 release of GenericSetup out over the holidays.
  Here is what I have on the roadmap:

  - Clean up the sphinx docs for the package, incorporating / updating
Rob Miller's excellent tutorial on GS (Rob has already blessed the
notion).

  - Make *much* clearer the idea that content export / import should
not be treated as part of any normal profile, including adding
some extra support for doing that task at the application level.

  - Tidy up any deprecations when running under Python 2.5 (and maybe
even 2.6).

 Anyone have other stuff they would like to see in the mix (and can help
 land)?
 I want to extend the upgrade step logic a bit to allow you to call
 single steps from other profiles. Should be a simple change.
 
 I have commited this. Once the BBB problems with Zope 2.10 are fixed I
 have no objections (and would in fact be in favour) of an 1.5 release.

Are there open bug reports on such problems?  Also, we might not even
support running on Zope 2.10.x with this release, if it is too painful
to resolve.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJr9MF+gerLs4ltQ4RAn1YAKDEyjNVBYIauNOPGFXAmNXkW2zISgCfadMO
8JISC2q5vlIwnoGH6Al/Vfc=
=k7XM
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup 1.5

2009-03-05 Thread Wichert Akkerman
Previously Tres Seaver wrote:
 Are there open bug reports on such problems?  Also, we might not even
 support running on Zope 2.10.x with this release, if it is too painful
 to resolve.

I posted to this list earlier today. It is just a matter of changing a
few imports, so not painful at all.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup Zope support

2009-03-05 Thread yuppie
Wichert Akkerman wrote:
 Previously yuppie wrote:
 If you really need to run GenericSetup on older versions I'd prefer your 
 first solution (BBB import from Globals) because it makes sure modules 
 are imported in the right order.
 
 I see no good reasons not to support existing Zope 2.10 (and older)
 releases, and it would make it possible to use GenericSetup 1.5 with
 Plone, which is exactly what I want to do.

In case you are waiting for a go-ahead:

I didn't remember the GenericSetup 1.5 release is scheduled before the 
next Zope 2.10 release. In that case the BBB import from Globals is 
obviously the right solution.

Cheers, Yuppie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup Zope support

2009-03-05 Thread Wichert Akkerman
Previously yuppie wrote:
 Wichert Akkerman wrote:
  Previously yuppie wrote:
  If you really need to run GenericSetup on older versions I'd prefer your 
  first solution (BBB import from Globals) because it makes sure modules 
  are imported in the right order.
  
  I see no good reasons not to support existing Zope 2.10 (and older)
  releases, and it would make it possible to use GenericSetup 1.5 with
  Plone, which is exactly what I want to do.
 
 In case you are waiting for a go-ahead:
 
 I didn't remember the GenericSetup 1.5 release is scheduled before the 
 next Zope 2.10 release. In that case the BBB import from Globals is 
 obviously the right solution.

Done. All tests run on both Zope 2.10 and Zope 2.12 now.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup 1.5

2009-03-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wichert Akkerman wrote:
 Previously Tres Seaver wrote:
 Are there open bug reports on such problems?  Also, we might not even
 support running on Zope 2.10.x with this release, if it is too painful
 to resolve.
 
 I posted to this list earlier today. It is just a matter of changing a
 few imports, so not painful at all.

I'm a little puzzled:  you expect to be able to upgrade to a new major
release of GenericSetup (1.4.x - 1.5.0), but not to pick up a minor
update to Zope (2.10.x - 2.10.latest)?  Doesn't make much sense to me:
 if stability matters that much, then don't figure on upgrading products
to new, possibly incompatible versions.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJsDcW+gerLs4ltQ4RAsTNAJ9hTXSYIu9F94z330knz9nnZ+VJCQCg3QzK
0jC9ZPsf7qXPTErdU4PrTc8=
=USxM
-END PGP SIGNATURE-

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] GenericSetup 1.5

2009-03-05 Thread Wichert Akkerman
Previously Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Wichert Akkerman wrote:
  Previously Tres Seaver wrote:
  Are there open bug reports on such problems?  Also, we might not even
  support running on Zope 2.10.x with this release, if it is too painful
  to resolve.
  
  I posted to this list earlier today. It is just a matter of changing a
  few imports, so not painful at all.
 
 I'm a little puzzled:  you expect to be able to upgrade to a new major
 release of GenericSetup (1.4.x - 1.5.0), but not to pick up a minor
 update to Zope (2.10.x - 2.10.latest)?  Doesn't make much sense to me:
  if stability matters that much, then don't figure on upgrading products
 to new, possibly incompatible versions.

There is no minor Zope 2.10 release which has these changes.

Wichert.

-- 
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests