Re: [Zope-dev] five.localsitemanager and unregisterUtility
Hi. On Mon, Oct 19, 2009 at 5:11 PM, Sylvain Viollon 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 )
Re: [Zope-dev] Small modification about z3c.recipe.depgraph
Hi. On Mon, Oct 19, 2009 at 5:35 PM, Sebastien Douche 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] Proposal: cleaning up the content-type story
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 )
[Zope-dev] Small modification about z3c.recipe.depgraph
Hi there, 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. Ideas? Comments? -- Sebastien Douche Twitter: http://bit.ly/afkrK (agile, python, open source) ___ 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
On Fri, 9 Oct 2009 14:41:14 +0200 Hanno Schlichting wrote: > Hi Sylvain. > Hello, > > > > I volunteer myself to add test (and fix it) in the SVN, as I need > > that fix. > > > > Does anyone have an objection with that ? > > No objection, please go ahead. > 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. > > Does any official maintainer will do a release (1.1.1, as it will > > be a bug fix) afterwards ? > > Sure, ping me once you are done and I'll cut a new release. Michael, > do you want to test anything, before I do a new release? > If you have time, I guess it's ready for a release. > > (of course, the trunk will need to be fixed if the same problem is > > present, and no, I do not want to use the trunk, but the 1.x > > branch). > > There were some changes to the registerUtility code on trunk > (incorporating bug fixes from zope.component), but these had to do > with re-registering utilities and the implicit unregister that happens > during that. > > As unregisterUtility is still not overridden, I suspect the same > problem still exits and your tests should show that. > Actually, I didn't need to override the unregisterUtility method (which is better), I fixed the issue by adding a comparison one to the wrapper (and this should work with all versions of zope.component like this). Best regards, Sylvain, -- Sylvain Viollon -- Infrae t +31 10 243 7051 -- http://infrae.com Hoevestraat 10 3033GC Rotterdam -- The Netherlands ___ 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
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] zope.container-3.9.0-py2.6-win32.egg have no configure.zcml
2009/10/18 Hanno Schlichting : > Hi. > > On Sun, Oct 18, 2009 at 8:26 AM, Takayuki Shimizukawa > 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 )
Re: [Zope-dev] Testrunner option for running tests in random order?!?
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.site.hooks
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] zope.site.hooks
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 )