Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1488 (closed defect: duplicate)

Opened 12 years ago

Last modified 12 years ago

SAContext deprecated in SA 0.4

Reported by: n-org Owned by: anonymous
Priority: high Milestone: 2.0
Component: SQLAlchemy Version: trunk
Severity: blocker Keywords: sqlalchemy sa
Cc:

Description

I created a default TG 2.0 quickstart project and get the following:

/opt/local/lib/python2.5/site-packages/SQLAlchemy-0.4.0beta4-py2.5.egg/sqlalchemy/ext/activemapper.py:24: SADeprecationWarning: SessionContext? is deprecated. Use scoped_session().

self.context = SessionContext?(*args, kwargs)

It looks like SA has deprecated SAContext. Take a look at:

 http://www.mail-archive.com/pylons-discuss@googlegroups.com/msg05095.html  http://cheeseshop.python.org/pypi/SAContext/0.3.5

and

 http://wiki.pylonshq.com/display/pylonscookbook/SQLAlchemy+0.4+for+people+in+a+hurry

for more information on the correct way to integrate SQLAlchemy into a Pylons project

Change History

comment:1 Changed 12 years ago by paj

  • Status changed from new to closed
  • Resolution set to duplicate

This is covered by ticket #1483

Note: See TracTickets for help on using tickets.