Re: [Zope-dev] zope.site.hooks

2009-10-19 Thread Thomas Lotze
After having been sick for a week I'm back on track now...

Fabio Tranchitella wrote:

 I want to bring the test coverage for zope.component.zcml and
 zope.component.security to 100% before asking to merge it back to the
 trunk.

I'd like to tackle the move of zope.site.hooks to zope.component this
week. While I'm sure that that wouldn't conflict with your work, I would
prefer releasing both refactorings at once as they both involve using the
new scheme of conditional zope.security imports. Do you suppose you could
get your branch finished and merged this week? If not, I'd be willing to
help you with it.

-- 
Thomas



___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] zope.site.hooks

2009-10-19 Thread Fabio Tranchitella
Hey Thomas,

* 2009-10-19 10:12, Thomas Lotze wrote:
 I'd like to tackle the move of zope.site.hooks to zope.component this
 week. While I'm sure that that wouldn't conflict with your work, I would
 prefer releasing both refactorings at once as they both involve using the
 new scheme of conditional zope.security imports. Do you suppose you could
 get your branch finished and merged this week? If not, I'd be willing to
 help you with it.

Yes, I think I can make it; I will work on this from tomorrow. We can
coordinate on IRC (my nick is kobold).

Thanks,
Fabio
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Testrunner option for running tests in random order?!?

2009-10-19 Thread Jonathan Ballet
Hello there,

as I mentioned by Sebastien, the patch has been commited into the
sdouche-shuffle branch. It now has tests and a bit of documentation
too.

Regarding CLI arguments, I'm not sure this could be changed like
Christian proposed. If you know how to do it, I'm listening, 'cause I
don't know! :)

I have one more thing I would like to discuss: how should this feature
behave with the --repeat feature?
Currently, the shuffling is done before the repeat feature. This means
that tests will *not* get reordered for each loop (just once, at the
very beginning of tests launching).
I know how to do it, so that for each loop, tests will get a different
order (basically, I would propose to wrap the __iter__() method of the
TestSuite used to launch tests, and to shuffle here):

class ShuffledTestSuite(unittest.TestSuite):
def __iter__(self):
tests = list(super(Shuffled, self))
seed = long(time.time() * 256)
shuffler = random.Random()
shuffler.shuffle(tests)
return iter(tests)

However, using this means we would loose the seed printing (which
seems very convenient to me). I'm not sure if we could get it and
print it for each loop...


Reviews, comments and feedbacks are welcome!
Cheers,

 Jonathan
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] zope.container-3.9.0-py2.6-win32.egg have no configure.zcml

2009-10-19 Thread Takayuki Shimizukawa
2009/10/18 Hanno Schlichting ha...@hannosch.eu:
 Hi.

 On Sun, Oct 18, 2009 at 8:26 AM, Takayuki Shimizukawa
 shimizuk...@gmail.com wrote:
 I want to use zope.container package w/ python-2.6 on Windows.
 However, there is no configure.zcml (and a constraints.txt) in
 zope.container-3.9.0-py2.6-win32.egg.

 Maybe, this has failed in making the egg (only py2.6-win32).
 Someone, please correct this.

 Thank you for the report. I made a new 3.9.1 release and uploaded the
 Windows binary eggs for this version. I hope these are correct this
 time.

Thank you! Buildout works fine now.

--
Takayuki Shimizukawa
Japan Zope Users Group
http://zope.jp/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


[Zope-dev] Zope Tests: 8 OK

2009-10-19 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sun Oct 18 12:00:00 2009 UTC to Mon Oct 19 12:00:00 2009 UTC.
There were 8 messages: 8 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Oct 18 20:46:03 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012816.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Oct 18 20:48:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012817.html

Subject: OK : Zope-2.12 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Oct 18 20:50:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012818.html

Subject: OK : Zope-2.12-alltests Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Oct 18 20:52:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012819.html

Subject: OK : Zope-2.12 Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Oct 18 20:54:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012820.html

Subject: OK : Zope-2.12-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Oct 18 20:56:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012821.html

Subject: OK : Zope-trunk Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Oct 18 20:58:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012822.html

Subject: OK : Zope-trunk-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Oct 18 21:00:04 EDT 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-October/012823.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Proposal: cleaning up the content-type story

2009-10-19 Thread Thomas Lotze
Thomas Lotze wrote:

 I'm still going to move the zope.publisher.contenttype functionality to
 zope.contenttype which will ease some packages' dependencies,

JFTR: I've done that now, including updates to packages which used to
import from zope.publisher.contenttype.

-- 
Thomas



___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Small modification about z3c.recipe.depgraph

2009-10-19 Thread Hanno Schlichting
Hi.

On Mon, Oct 19, 2009 at 5:35 PM, Sebastien Douche sdou...@gmail.com wrote:
 I use z3c.recipe.depgraph for our projects that use Zope3. The trouble
 is depgraph use the working set to generate the list of eggs. It's not
 what I want, (only eggs specified in the recipe and not all Zope3
 eggs). Thus I want to add a option like strict-eggs.

You can just name that option eggs in the recipe part. If it is
specified, built the working set from that list. If it is not
specified stick to the current way and use everything.

Feel free to change the code. If you want a new release just ping me
and I'll do it or give you PyPi access rights :)

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] five.localsitemanager and unregisterUtility

2009-10-19 Thread Hanno Schlichting
Hi.

On Mon, Oct 19, 2009 at 5:11 PM, Sylvain Viollon sylv...@infrae.com wrote:
  I added test for unregisterUtility, and fix the bug I encounter,
  which happens only for utilities which inherit from Aquisition, and
  have a physical path.

  If you have time, I guess it's ready for a release.

I released both:

http://pypi.python.org/pypi/five.localsitemanager/1.2
http://pypi.python.org/pypi/five.localsitemanager/2.0.1

I merged your fix to trunk, but had to adjust it by overriding parts
of unregisterUtility there. Otherwise I got test failures under Python
2.6 / Zope 2.12.

Hanno
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )