Hi all,
I have worked on SA 0.4 support for TG and here is the result:
* 1.0 branch still works with SQLAlchemy 0.3.10 and all old
applications developed with 0.3 code should still work. This
includes ActiveMapper based applications. People who want to use
SA 0.4 can use it with the 1.0 branch and it works, but there is
still some Deprecation Warnings.
* 1.1 branch works with SQLAlchemy 0.3.10 & 0.4 but old applications
developed with 0.3 code should be upgraded because the mappers
used in this branch do not provide the .get() methods on the
mapped classes. The mappers used in this branch are the brand new
mappers from sqlalchemy.orm instead of the old and deprecated
ActiveMapper that were still in use internally in database.py.
(the breaking changes occured in r3491)
I removed all reference to ActiveMapper in the TG 1.1 code and replaced
it with normal mappers from SA.
I rewrote the sa tests to have some control. One rollback test is
failing at the moment and one is passing. I am too tired to understand
why, so I'll just commit as it is and continue tomorrow...
If anyone could test, comment, amend or enhance this would be appreciated :)
Cheers,
Florent.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---