Pylons DeprecationWarnings

95 views
Skip to first unread message

NoPyGod

unread,
May 14, 2013, 11:44:57 PM5/14/13
to pylons-...@googlegroups.com
Whenever I run my pylons app I am seeing a couple of warnings

I know the warnings aren't hurting my application, but I'd prefer they didn't appear at all. Pylons is in maintenance only mode now, and this seems like something which needs to be "maintained".. is there any plans to fix this?

spaz@devbox:~/spaz$ ~/env/bin/paster serve development.ini --reload
Starting subprocess with file monitor
Starting server in PID 6920.
/home/spaz/env/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/request.py:122: DeprecationWarning: You unicode_errors='replace' to the Request constructor.  Passing a ``unicode_errors`` value to the Request is no longer supported in WebOb 1.2+.  This value has been ignored
/home/spaz/env/lib/python2.6/site-packages/WebOb-1.2.3-py2.6.egg/webob/request.py:130: DeprecationWarning: You passed decode_param_names=False to the Request constructor. Passing a ``decode_param_names`` value to the Request is no longer supported in WebOb 1.2+.  This value has been ignored

Jonathan Vanasco

unread,
May 15, 2013, 6:02:00 PM5/15/13
to pylons-...@googlegroups.com
what version of of pylons are you using ?  

there are some yet-to-be documented compatibility issues with newer versions of WebHelpers and other external libraries against the 1.0.1 branch.

I'm not sure what the 'max supported version' is, but i would suggest dropping down to the lowest specified in the install_requires.  i think that is 1.1.1 

the problem you're seeing is that WebHelpers changed a lot since Pylons was last released.  I've had many other issues come up as well with the 1.2x or higher branches.  i strongly suggest you drop down.

there's some info in this thread - https://groups.google.com/forum/?fromgroups=#!topic/pylons-discuss/J8Azw0yGISU - and a few others.

pin...@vvidiacom.com

unread,
May 15, 2013, 11:16:37 PM5/15/13
to pylons-...@googlegroups.com
Hi Jonathan,

I had also reported similar issue earlier and got down to 1.1.1. But saw similar warnings with 1.1.1 as well. I think 1.0.7 suits best but then pylons 1.0.1 requires 1.1.1 or above.

Regards,
Pinakee
Sent from BlackBerry® on Airtel

From: Jonathan Vanasco <jona...@findmeon.com>
Date: Wed, 15 May 2013 15:02:00 -0700 (PDT)
Subject: Re: Pylons DeprecationWarnings
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages