On Thu, Mar 11, 2010 at 8:41 PM, Mike Orr <[email protected]> wrote:
> On Thu, Mar 11, 2010 at 10:59 AM, Gael Pasgrimaud <[email protected]> wrote:
>> Hi,
>>
>> On Thu, Mar 11, 2010 at 7:35 PM, gazza <[email protected]> wrote:
>>> Hiya,
>>>
>>> I am installing on the production server and hit the below:
>>>
>>> "Installed distribution Webhelpers 1.0b4 conflicts with requirement
>>> WebHelpers>=0.6.1,<0.6.99"
>>>
>>> I guess others have seen this problem. What was the workaround?
>>>
>>
>> Try to remove the conflicted version from your file sytem and install
>> the correct one with easy_install
>>
>> Btw I think that fixing eggs versions in setup.py is a bad idea.
>> Pylons should have a pip's requirement file or something like that (I
>> also know Zope's Known Good Set aka KGS) for each releases to get the
>> correct dependencies versions.
>> Then if you have a fix in a dependency you can change the required
>> version without releasing a new Pylons versions
>
> The problem is Paste uses entry points and 'pkg_resources.require',
> which blows up if any requirements are in conflict.
>

That's why a requirement file can fix the problem if you only have
Dep==X.X in this file.
This assume that you can have a *stable* Pylons X.X environment even
if a broken dependency is released on pypi.

And again, buildout can help:
http://pypi.python.org/pypi/buildout.dumppickedversions

May be that's something I can do and maintain. I'll try.

> Where does the requirement occur?  The Pylons WebHelpers dependency
> does not have a maximum bound precisely to avoid this problem. If
> you've changed it in your application's setup.py, you'll have to
> change it again (and reinstall the app to update the egg-info files).
>
> Of course, it doesn't help that the error messages often give no clue
> where the requirement is.
>
> --
> Mike Orr <[email protected]>
>
> --
> 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.
>
>

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

Reply via email to