Hi,

I've just made a fairly change to sqlalchemy ActiveMapper and turbogears 
to remove the deprecation warnings. This has a bit more impact than I'd 
really like, but I think almost everything will still work.

TG uses the SA session handling defined in ActiveMapper. Previously on 
SA0.4, ActiveMapper used the old style assignmapper and SessionContext. 
I've changed ActiveMapper so it now uses scoped_session and 
sessionmaker, in line with other 0.4 users (e.g. Elixir got a similar 
change).

The upshot of this though is that TG is now using SA 0.4 fully, which 
has meant some changes to database.py. I've made these, and they should 
be fully compatible with both SA 0.3.10 and 0.4 (all the unit tests pass 
with both).

Let me know if you have any problems. Of course, remember apps need to 
be recoded to work with SA 0.4, sa the SA interface has changed.

Paul

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to