WebOb 1.2.3

59 views
Skip to first unread message

Biswas, Pinakee

unread,
May 6, 2013, 11:44:09 AM5/6/13
to pylons-...@googlegroups.com

Hi,

 

We have been using WebOb 1.0.7 but planning to migrate to 1.2.3. Could you please let us know if there are any changes or any migration documents?

 

We faced some deprecated warnings/errors when we just installed 1.2.3 and tried using it.

 

Looking forward to your response and help…

 

Thanks,

 

Pinakee Biswas

Director & CTO

 

cid:E95B8D36-1F36-4B11-B91A-CF8977B83894

7E- Mail: pin...@vvidiacom.com I 8Web: http://www.vvidia.tv

 

image001.jpg
image002.png

Biswas, Pinakee

unread,
May 6, 2013, 12:15:53 PM5/6/13
to pylons-...@googlegroups.com

Hi,

 

Further to add to the query, we are using python 2.6 and Pylons 1.0.1.

 

Thanks,

Pinakee Biswas

Director & CTO

 

cid:E95B8D36-1F36-4B11-B91A-CF8977B83894

 

7E- Mail: pin...@vvidiacom.com I 8Web: http://www.vvidia.tv

 

P Please don't print this e-mail unless you really need to, this will preserve trees on planet earth.

image001.jpg
image003.png

Mike Orr

unread,
May 6, 2013, 12:35:56 PM5/6/13
to pylons-...@googlegroups.com
There is a change in WebOb that breaks Pylons. I've had to set "WebOb==1.0.7" in my setup.py. I'm planning to migrate the apps to Pyramid as soon as I can, so I haven't looked in WebOb to see what the difference is. If somebody did, a patch for Pylons could probably be made.

There's a similar issue with WebTest.

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



--
Mike Orr <slugg...@gmail.com>
image003.png
image001.jpg

pin...@vvidiacom.com

unread,
May 6, 2013, 1:20:09 PM5/6/13
to pylons-...@googlegroups.com
Hi Mike,

Thanks for the response.

We would stick to 1.0.7 then till there is a patch or we migrate to pyramid.

Thanks,
Pinakee
Sent from BlackBerry® on Airtel

From: Mike Orr <slugg...@gmail.com>
Date: Mon, 6 May 2013 09:35:56 -0700
Subject: Re: WebOb 1.2.3
image003.png
image001.jpg

Mike Orr

unread,
May 6, 2013, 5:01:38 PM5/6/13
to pylons-...@googlegroups.com
I checked my Pylons applications, and they are all pinned at WebOb==1.0.7. I also had to pin one application at WebTest==1.4.3. (It's also using WebError==0.10.3, but I think it was Webtest that made the difference.)

The Pylons 1.0.1 changelog says, "Updated dependencies to latest versions of Paste, PasteDeploy, and
  compatibility for the latest WebOb 1.2 betas." I can't say whether that's fully true, however.

I'm also sometimes getting install-order errors on Paste/PasteDeploy/PasteScript. When that happens, I install those three explicitly ("pip install Paste PasteDeploy PasteScript"), then rerun the Pylons install.
image001.jpg
image003.png

Biswas, Pinakee

unread,
May 7, 2013, 1:19:19 AM5/7/13
to pylons-...@googlegroups.com

Hi Mike,

 

Thanks for your mail.

 

I am having trouble with installing WebOb 1.0.7 with Pylons 1.0.1. I am not sure where I am going wrong.

 

I have configured ‘WebOb==1.0.7’ in setup.py and ran the setup. But its throwing following error:

 

error: Installed distribution  WebOb (1.0.7) conflicts with requirement WebOb (>=1.2).

 

I am not sure where the conflict is arising.

 

I did a dependency check on the packages and found Pylons, Toscawidgets, WebTest require WebOb.

 

Would appreciate if you could give me some pointers on the above issue.

 

Looking forward to your response…

 

Thanks,

 

Pinakee Biswas

Director & CTO

 

cid:E95B8D36-1F36-4B11-B91A-CF8977B83894

 

7E- Mail: pin...@vvidiacom.com I 8Web: http://www.vvidia.tv

 

P Please don't print this e-mail unless you really need to, this will preserve trees on planet earth.

 

image001.jpg
image002.png
image003.png

Mike Orr

unread,
May 7, 2013, 3:07:32 AM5/7/13
to pylons-...@googlegroups.com
Do something like this:

$ grep -r 'WebOb>=1.2' site-packages/*.egg-info/requires.txt
.site-packages/fanstatic-0.16-py2.7.egg-info/requires.txt:WebOb >= 1.2
site-packages/pyramid-1.4-py2.7.egg-info/requires.txt:WebOb >= 1.2b3
image002.png
image003.png
image001.jpg

Biswas, Pinakee

unread,
May 7, 2013, 4:40:37 AM5/7/13
to pylons-...@googlegroups.com

Hi Mike,

 

Thanks for your mail.

 

I got the following:

 

./Pylons-1.0.1-py2.6.egg/EGG-INFO/requires.txt:WebOb>=1.1.1

 

So, I think WebOb 1.0.7 won’t work then. Need to install 1.1.1.

image001.jpg
image003.png
image004.png
Reply all
Reply to author
Forward
0 new messages