On Dec 3, 2007 9:13 PM, Carlo Sogono <[EMAIL PROTECTED]> wrote:
>
> Many pylons dependencies use >= checks but this causes a simple problem.
> If at any time, later versions of these dependencies are incompatible
> with that pylons projects then the whole installation goes kaput.
>
> I have a project on 0.9.5 and the same project won't run on a new
> installation using easy_install Pylons==0.9.5 because some of the latest
> versions of its dependencies aren't working properly with 0.9.5.
>
> Does anyone have a quick solution to this?

There's no solution to it.  It happens with all Python packages and
other versioning systems.  The person who wrote 'Pylons>=0.9.6"
doesn't know whether 0.9.7 or 0.9.6.2 will be compatible because they
haven't been written yet.  So he can either be inclusive (>=) and run
the risk of breakage, or exclusive (==) and cause a headache when they
refuse to work with his upgrade.  I guess you'll have to manually
change the dependencies from >= to == in setup.py or
pkg_resources.require() in the affected packages, and keep track of
your changes in case you have to do them again.

Or you can bite the bullet and upgrade your app to 0.9.6 now.

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

Reply via email to