[Checkins] SVN: megrok.rdb/trunk/ update to newer sqlalchemy versions

Christian Klinger cklinger at novareto.de
Tue Feb 22 15:06:16 EST 2011


Log message for revision 120519:
  update to newer sqlalchemy versions

Changed:
  U   megrok.rdb/trunk/CHANGES.txt
  U   megrok.rdb/trunk/buildout.cfg
  U   megrok.rdb/trunk/src/megrok/rdb/components.py

-=-
Modified: megrok.rdb/trunk/CHANGES.txt
===================================================================
--- megrok.rdb/trunk/CHANGES.txt	2011-02-22 19:14:47 UTC (rev 120518)
+++ megrok.rdb/trunk/CHANGES.txt	2011-02-22 20:06:15 UTC (rev 120519)
@@ -2,10 +2,11 @@
 CHANGES
 =======
 
-0.13 (unreleased)
+0.13 (2011-02-22)
 -----------------
 
-- Nothing changed yet.
+- Update dependencies sqlalchemy=0.6.6, zope.sqlalchemy=0.6.1, z3c.saconfig=0.12.
+- Fix a bug for getting primary keys.
 
 
 0.12 (2011-02-02)

Modified: megrok.rdb/trunk/buildout.cfg
===================================================================
--- megrok.rdb/trunk/buildout.cfg	2011-02-22 19:14:47 UTC (rev 120518)
+++ megrok.rdb/trunk/buildout.cfg	2011-02-22 20:06:15 UTC (rev 120519)
@@ -5,11 +5,11 @@
 parts = test releaser
 
 [versions]
-SQLAlchemy = 0.5.6
-z3c.saconfig = 0.9.1
+SQLAlchemy = 0.6.6
+z3c.saconfig = 0.12
 docutils = 0.5
 transaction = 1.0.0
-zope.sqlalchemy = 0.4
+zope.sqlalchemy = 0.6.1
 
 [test]
 recipe = zc.recipe.testrunner

Modified: megrok.rdb/trunk/src/megrok/rdb/components.py
===================================================================
--- megrok.rdb/trunk/src/megrok/rdb/components.py	2011-02-22 19:14:47 UTC (rev 120518)
+++ megrok.rdb/trunk/src/megrok/rdb/components.py	2011-02-22 20:06:15 UTC (rev 120519)
@@ -36,7 +36,7 @@
         return
     
 def default_keyfunc(node):
-    primary_keys = node.__table__.primary_key.keys()
+    primary_keys = node.__table__.primary_key.columns.keys()
     if len(primary_keys) == 1:
         return getattr(node, primary_keys[0])
     else:



More information about the checkins mailing list