On Fri, May 18, 2012 at 03:01:26AM +0200, Vlad K. wrote:
>
> Hi.
>
>
> Just upgraded a 1.2 app to 1.3, with clean new virtualenv, all is
> working fine (with changes to config for waitress) except those
> pesky DeprecationWarning messages caused by Transaction, Chameleon,
> SQLA and even the configurator.
>
> It is in line with the changelog in docs stating it would raise
> these warnings (and this is on 2.6.6), but how do I shut it up?
> Tried raising logging level from warn to error, it still complains,
> and in my case it is a problem because I've got cron scripts running
> parts of the app and I need the stderr to catch real errors. Gah, I
> get an email from cron every 5 minutes from three application
> machines.
>
> Help? (yes, I did pipe to devnull for now)
Try sticking to zope.interface 3.8.x for now:
http://pypi.python.org/pypi/zope.interface
>
>
> /home/rm/virtualenv/lib/python2.6/site-packages/transaction-1.2.0-py2.6.egg/transaction/_transaction.py:140:
> DeprecationWarning: The implements API is deprecated, and will not
> work in Python3 Use the @implementer class decorator instead.
> interfaces.ITransactionDeprecated)
> /home/rm/virtualenv/lib/python2.6/site-packages/transaction-1.2.0-py2.6.egg/transaction/_transaction.py:681:
> DeprecationWarning: The implements API is deprecated, and will not
> work in Python3 Use the @implementer class decorator instead.
> interface.implements(interfaces.ISavepoint)
> /home/rm/virtualenv/lib/python2.6/site-packages/Chameleon-2.8.5-py2.6.egg/chameleon/tal.py:227:
> DeprecationWarning: The implements API is deprecated, and will not
> work in Python3 Use the @implementer class decorator instead.
> zope.interface.implements(interfaces.ITALESIterator)
> /home/rm/virtualenv/lib/python2.6/site-packages/Chameleon-2.8.5-py2.6.egg/chameleon/tal.py:467:
> DeprecationWarning: The implements API is deprecated, and will not
> work in Python3 Use the @implementer class decorator instead.
> zope.interface.implements(interfaces.ITALExpressionErrorInfo)
> /home/rm/virtualenv/lib/python2.6/site-packages/pyramid-1.3-py2.6.egg/pyramid/config/views.py:389:
> DeprecationWarning: The classProvides API is deprecated, and will
> not work in Python3 Use the @provider class decorator instead.
> classProvides(IViewMapperFactory)
> /home/rm/virtualenv/lib/python2.6/site-packages/zope.sqlalchemy-0.7-py2.6.egg/zope/sqlalchemy/datamanager.py:63:
> DeprecationWarning: The implements API is deprecated, and will not
> work in Python3 Use the @implementer class decorator instead.
> implements(ISavepointDataManager)
> /home/rm/virtualenv/lib/python2.6/site-packages/zope.sqlalchemy-0.7-py2.6.egg/zope/sqlalchemy/datamanager.py:169:
> DeprecationWarning: The implements API is deprecated, and will not
> work in Python3 Use the @implementer class decorator instead.
> implements(IDataManagerSavepoint)
>
>
> Thanks,
>
> --
>
> .oO V Oo.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" 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/pylons-discuss?hl=en.
>
--
Brian Sutherland
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.