Benji York wrote:
On Thu, Aug 12, 2010 at 1:22 PM, Fred Drake
wrote: On Thu, Aug 12, 2010 at 11:01 AM, Chris Withers
wrote: As such, I'd expect buildout's version pinning to be case agnostic as well. What do other people feel about this?
I've seen very few cases where case-insensitivity in package names is tolerated (once, I think). There's no reason to spread the case-senseless disease any further.
+1 Case-insensitivity usually hurts more than it helps.
Indeed, but sadly, setuptools is case insensitive as far as distributions go, which means that buildout ends up doing bizarre things when different casings of the same package name are used, particularly when it comes to pinning versions. Yes, the "correct" thing to do would be for buildout to kick out requirements where the case of the distribution name specified didn't match that returned by the distribution that setuptools decided would satisfy that requirement. However, that would mean you'd suddenly have distributions that would work with easy_install and pip but not with buildout. I guess my point is that, by way of being based on setuptools, buildout already *is* case insensitive w.r.t. distribution names and the fact that *only* version pinning *is* case sensitive ends up being a bug... cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk