[Zope-dev] Re: zope.sqlalchemy dependencies does not respect setup.py dev egg

David Pratt fairwinds.dp at gmail.com
Mon Aug 4 13:59:09 EDT 2008


Hi Laurence. I reverted to 0.2 and I am good to go. I will upgrade to 
0.3 when dobbin can use beta0.5.3. Many thanks.

Regards,
David

Laurence Rowe wrote:
> zope.sqlalchemy specifically requires a SessionExtension hook added in
> 0.4.7 and 0.5.0b3 to fix a bug that came to light in porting dobbin
> over to use it:
> 
> "New objects added to a session did not
> cause a transaction join, so were not committed at the end of the
> transaction unless the database was accessed. SQLAlchemy 0.4.7 or
> 0.5beta3 now required."
> 
> Other than that nothing really changed since 0.2, you should be able to 
> just use that.
> 
> Laurence
> 
> David Pratt wrote:
>> Hi. I have been working with z3c.dobbin 0.4.1 which uses 
>> zope.sqlalchemy and z3c.saconfig. The last usable state was 4 days ago 
>> when changes were made to release of zope.sqlalchemy where 
>> dependencies were changed without changing the version.
>>
>> Revision 88953 was made to zope.sqlalchemy but shows the same package 
>> version as 88952 (where SA dependencies were changed to no longer 
>> include beta0.5.2). beta0.5.2 was the requirement for z3c.dobbin and 
>> it will not work with beta0.5.3. Malthe is currently making changes to 
>> dobbin in the interim so it will eventually work again.
>>
>> I thought by checking out revision 88952 and using it as a dev egg in 
>> my buildout, I could get back to work. Is this a bug in buildout since 
>> dev egg should take precedence regardless? I guess there were some 
>> problems with how this was handled. If trunk had been marked as 0.3dev 
>> it might have made the difference because both were 0.3 regardless of 
>> the change of state and dependencies. When I run the buildout the dev 
>> egg's requires.txt is below regardess of what is in setup.py.  Doesn't 
>> matter what I do my build fails. Any suggestions? Many thanks.
>>
>> Regards,
>> David
>>
>>
>>
>> requires.txt
>>
>> setuptools
>> SQLAlchemy>=0.4.7,!=0.5.0beta1,!=0.5.0beta2
>> transaction
>> zope.interface
>>
>> [test]
>> zope.testing
>> docutils
>>
>>
>> setup.py
>>
>>     install_requires=[
>>       'setuptools',
>>       'SQLAlchemy==0.5.0beta2', # or >=0.5b3
>>       'transaction',
>>       'zope.interface',
>>       ],
>> _______________________________________________
>> Zope-Dev maillist  -  Zope-Dev at 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 maillist  -  Zope-Dev at 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 )
> 



More information about the Zope-Dev mailing list