specifying dependencies to latest major/minor

Hello, I've got some issues with dependency specification; this seems to apply both to setuptools and distribute. Let's suppose I want to have a dependency on a certain library major.minor , because I want to depend on a certain API - which is supposed to be stable for that lib unless at least the minor changes - but I want to pick in any bugfix release they might end up with. I'd like to do something like "pick up the latest 1.1 release of mylib" The only way to do it seems to be this: install_requires = [ "mylib>=1.1, <1.1.999" ] if I use just == 1.1 , it picks 1.1.0 . If I use >= 1.1 and <1.2.0, it will pick beta releases for 1.2 as well. That's quite clumsy, since it's something I do often and it's quite a common practice (I suppose); isn't there any regex/wildcald character support? Would any patch about that be accepted? -- Alan Franzoni -- contact me at public@[mysurname].eu
participants (1)
-
Alan Franzoni