[Zope-dev] setuptools dependency for zope.interface (was Re: [Checkins] SVN: zope.interface/trunk/src/zope/__init__.py 'setuptools' is not a dependency, reverting r97875)
Hi, I am sorry, I made a mistake in the beginning of this month by removing the fall-back import of 'pkgutil' from zope.interface And this is made into 3.5.1 release, so it will a break for those who don't have 'setuptools' installed. I have reverted that change now. Can anyone give me access to PyPI entry or make a new release. My PyPI ID is 'baijum'. BTW, should we make 'setuptools' as a dependency for 'zope.interface' Regards, Baiju M On Sat, Mar 28, 2009 at 3:11 PM, Baiju M wrote: > Log message for revision 98434: > 'setuptools' is not a dependency, reverting r97875 > > > Changed: > U zope.interface/trunk/src/zope/__init__.py > > -=- > Modified: zope.interface/trunk/src/zope/__init__.py > === > --- zope.interface/trunk/src/zope/__init__.py 2009-03-28 16:58:29 UTC (rev > 98433) > +++ zope.interface/trunk/src/zope/__init__.py 2009-03-28 20:11:50 UTC (rev > 98434) > @@ -1 +1,7 @@ > -__import__('pkg_resources').declare_namespace(__name__) > +# this is a namespace package > +try: > + import pkg_resources > + pkg_resources.declare_namespace(__name__) > +except ImportError: > + import pkgutil > + __path__ = pkgutil.extend_path(__path__, __name__) > > ___ > Checkins mailing list > check...@zope.org > http://mail.zope.org/mailman/listinfo/checkins > ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] trying out the buildout-based Zope 2.12...
Previously Chris Withers wrote: > Paul Winkler wrote: > > Well, yeah. The point of the suggestion was specifically to help you > > get more info about the dependency chain, since pip is more verbose > > about that than easy_install is. > > Well, running buildout -v gives some good clues, a piece of which is > this: > > Getting required 'zope.app.security' >required by zope.app.publication 3.5.1. >required by zope.app.component 3.6.0. >required by zope.app.testing 3.6.0. > We have the best distribution that satisfies 'zope.app.security'. > Picked: zope.app.security = 3.7.0 > > > Okay, cute, but WHY is 3.7.0 being picked, rather than the 3.6.0 that's > nailed down in zope2 2.12.0a1's setup.py?! Because buildout is not installing the Zope2 at that point, so it is not using any version pins defined by the Zope2 egg. That is a design flaw in setuptools at the moment: it works package-by-package instead of trying to figure out what the final target working set should look like. Wichert. -- Wichert Akkerman It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] trying out the buildout-based Zope 2.12...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27.03.2009 15:47 Uhr, Chris Withers wrote: > Hey All, > > I'm trying to get Zope 2.12 working with buildout, in the absence of > docs, I thought I'd try: > > [buildout] > parts = zopetest > > [zopetest] > recipe = zc.recipe.egg > interpreter = py > eggs = >zope2 > > ...and was rewarded with: > > Got zope.principalregistry 3.7.0. > While: >Installing zopetest. > Error: There is a version conflict. > We already have: zope.component 3.5.1 > but zope.app.security 3.7.0 requires 'zope.component>=3.6.0'. > > The issue is caused (or at least related) due to the separation of packages in install_requires and extra_requires within the setup.py of the Zope 2 package..I will check this with Hanno during Pycon. Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknOGGwACgkQCJIWIbr9KYw1wQCfbpiOapDE7+v2t9pG4bmcjdDe ixAAn0RgxcXumu4o8kxeuzZeR951G8ac =3f6F -END PGP SIGNATURE- begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope Tests: 4 OK, 2 Unknown
Summary of messages to the zope-tests list. Period Fri Mar 27 12:00:00 2009 UTC to Sat Mar 28 12:00:00 2009 UTC. There were 6 messages: 6 from Zope Tests. Unknown --- Subject: UNKNOWN : Zope-trunk-alltests Python-2.4.6 : Linux From: Zope Tests Date: Fri Mar 27 21:15:55 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011353.html Subject: UNKNOWN : Zope-trunk-alltests Python-2.5.4 : Linux From: Zope Tests Date: Fri Mar 27 21:17:56 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011354.html Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Fri Mar 27 21:07:51 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011349.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Fri Mar 27 21:09:54 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011350.html Subject: OK : Zope-trunk Python-2.4.6 : Linux From: Zope Tests Date: Fri Mar 27 21:11:55 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011351.html Subject: OK : Zope-trunk Python-2.5.4 : Linux From: Zope Tests Date: Fri Mar 27 21:13:55 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-March/011352.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] trying out the buildout-based Zope 2.12...
On Saturday 28 March 2009 06:11:30 Chris Withers wrote: > Andreas Jung wrote: > > Stop with your approach right now until we have understood what's going > > wrong. Working with a SVN checkout from the trunk works (as said). > > I'm interested in actually solving what's wrong ;-) > > This feels like buildout doing something wrong, at the very least. It > has a hard-nailed version for zope.app.security and appears to be > ignoring that... I don't think zope.app.security is nailed down in your buildout.cfg, because it is listed in extras_require in setup.py, so the version specification is not taken into account, if you specify just "zope2". In fact, this works well: [buildout] parts = zopetest [zopetest] recipe = zc.recipe.egg interpreter = py eggs = zope2[zope_app] I cannot say if this is a bug, since I don't know how zc.buildout is supposed to deal with versions for extras. Regards, YO -- Yoshinori Okuji, Nexedi KK President Nexedi: Consulting and Development of Free / Open Source Software http://www.nexedi.co.jp/ ERP5: Full Featured High End Open Source ERP http://www.erp5.com/ ERP5 Wiki: Developer Zone for ERP5 Community http://www.erp5.org/ ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )