[Zope3-Users] Zope 3.4 KGS leads to ZODB 3.9dev !?

2008-02-03 Thread Christophe Combelles

Hi,

I have a very simple buildout that tries to use the KGS:
index = http://download.zope.org/zope3.4/
newest = false

And my setup.py has (among others)
install_requires=[(..)  ,'z3c.formui']

a buildout -vv tells me that :

(...)
Adding find link 'http://download.zope.org/distribution' from z3c.formui 1.4.1
(...)
(...)
We have no distributions for ZODB3 that satisfies 'ZODB3'.
Processing ZODB3-3.9.0-dev-r77011.tar.gz

So I get a development version of ZODB instead of 3.8

Is there a problem with z3c.formui?
Is there a way to tell buildout to *NEVER* use anything else than the KGS,
so that it fails with an error instead of deciding what I should use?

Christophe

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope 3.4 KGS leads to ZODB 3.9dev !?

2008-02-03 Thread Christophe Combelles

Christophe Combelles a écrit :

Hi,

I have a very simple buildout that tries to use the KGS:
index = http://download.zope.org/zope3.4/
newest = false

And my setup.py has (among others)
install_requires=[(..)  ,'z3c.formui']

a buildout -vv tells me that :

(...)
Adding find link 'http://download.zope.org/distribution' from z3c.formui 
1.4.1

(...)
(...)
We have no distributions for ZODB3 that satisfies 'ZODB3'.
Processing ZODB3-3.9.0-dev-r77011.tar.gz

So I get a development version of ZODB instead of 3.8

Is there a problem with z3c.formui?
Is there a way to tell buildout to *NEVER* use anything else than the KGS,
so that it fails with an error instead of deciding what I should use?


Ok for this one, I just have to copy-paste all the versions from 
http://download.zope.org/zope3.4/versions.cfg into the buildout.cfg.


But why did the index change in the middle of the buildout?
If I don't hardcode all the versions, it begins with an index ('zope3.4') and 
changes to another index ('distribution') in the middle, so that all subsequent 
packages are downloaded from that second index.




Christophe

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users




___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-02-03 Thread Marius Gedminas
On Fri, Feb 01, 2008 at 05:26:14PM -0500, Chris McDonough wrote:
 Marius Gedminas wrote:
 On Fri, Feb 01, 2008 at 11:06:48AM -0500, Chris McDonough wrote:
 I typed four more paragraphs full of markety stuff here but deleted them. 
  
 *cheers*

 I'll take that as STFU ;-)

It wasn't intended that way.

I know from personal experience how hard it is to suppress rants I've
written.  I was just applauding your self-control.

Uhh, not that I'm implying your markety stuff was a rant.

I'll shut up now. :-)

Marius Gedminas
-- 
Place mark here -[ ]- if you want a dirty monitor.


signature.asc
Description: Digital signature
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Zope 3.4 KGS leads to ZODB 3.9dev !?

2008-02-03 Thread Philipp von Weitershausen

Christophe Combelles wrote:

Christophe Combelles a écrit :

Hi,

I have a very simple buildout that tries to use the KGS:
index = http://download.zope.org/zope3.4/
newest = false

And my setup.py has (among others)
install_requires=[(..)  ,'z3c.formui']

a buildout -vv tells me that :

(...)
Adding find link 'http://download.zope.org/distribution' from 
z3c.formui 1.4.1

(...)
(...)
We have no distributions for ZODB3 that satisfies 'ZODB3'.
Processing ZODB3-3.9.0-dev-r77011.tar.gz

So I get a development version of ZODB instead of 3.8

Is there a problem with z3c.formui?
Is there a way to tell buildout to *NEVER* use anything else than the 
KGS,

so that it fails with an error instead of deciding what I should use?


Ok for this one, I just have to copy-paste all the versions from 
http://download.zope.org/zope3.4/versions.cfg into the buildout.cfg.


That's quite unnecessary. Just do:

  [buildout]
  ...
  extends = http://download.zope.org/zope3.4/versions.cfg
  versions = versions

That way you don't even need the 'index' option.


But why did the index change in the middle of the buildout?
If I don't hardcode all the versions, it begins with an index 
('zope3.4') and changes to another index ('distribution') in the middle, 
so that all subsequent packages are downloaded from that second index.


If you read buildout's message carefully, you'll see that 
http://../distribution wasn't added as an index. There can only ever be 
*one* index anyway. It was added as a find-links location by z3c.formui:


Adding find link 'http://download.zope.org/distribution' from z3c.formui 
1.4.1



As this case points out very well, the locked down index isn't necessary 
a guarantee for ending up with a well-defined set of packages. Nailing 
version numbers in buildout.cfg (see above) yields much more predictable 
results.


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: Zope 3.4 KGS leads to ZODB 3.9dev !?

2008-02-03 Thread Fred Drake
On Feb 3, 2008 1:12 PM, Philipp von Weitershausen
[EMAIL PROTECTED] wrote:
 As this case points out very well, the locked down index isn't necessary
 a guarantee for ending up with a well-defined set of packages. Nailing
 version numbers in buildout.cfg (see above) yields much more predictable
 results.

There's also the [buildout] prefer-final option; setting that to
true avoids accidental usage of bleeding-edge releases.

I generally prefer to nail all the versions in a [versions] section,
and then set [buildout] allow-picked-versions to false.  Some tell me
that's overkill, but when getting something ready for production,
that's essential, so better to live with it in development as well,
and choose when I want to pay the price for updates.


  -Fred

-- 
Fred L. Drake, Jr.fdrake at gmail.com
Chaos is the score upon which reality is written. --Henry Miller
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users