[issue25] Prefer release versions of projects
![](https://secure.gravatar.com/avatar/b6b8d66de135cfb887e5e02b543cf3d7.jpg?s=120&d=mm&r=g)
New submission from Chris Galvan <cgalvan@mail.utexas.edu>: Currently there is no ability to declare a preference for a release of a project. For example, I'd like to say my project requires "a release of foo >= 2.0, <3.0". I'd then like easy_install/setuptools to only pick releases (no qualifiers of any kind alpha, beta, dev, etc.) of 2.0, 2.1, 2.2, 2.3, 2.4, .... As a further example, it should totally ignore '2.5a1' and '2.6_r15669' and instead would fetch '2.2' if it existed in the same repository. It would be nice if this was the default behavior unless the user specified an additional flag to accept qualifiers(which would return the behavior to its previous state). Also, it would fall back on eggs with qualifiers if no releases were found. ---------- messages: 48 nosy: cgalvan priority: feature status: chatting title: Prefer release versions of projects _______________________________________________ Setuptools tracker <setuptools@bugs.python.org> <http://bugs.python.org/setuptools/issue25> _______________________________________________
![](https://secure.gravatar.com/avatar/5682b7ab18fdbe1c0c01085a1d3ce618.jpg?s=120&d=mm&r=g)
I have attached a proposed patch for this feature request to the tracker issue, which implements the feature as described in the tracker. Passing an '--allow-dev' flag to easy_install will tell setuptools to accept qualifiers in the versions of the projects(returns the behavior to its previous state). Chris Galvan wrote:
<pre wrap> New submission from Chris Galvan <cgalvan@mail.utexas.edu>:
Currently there is no ability to declare a preference for a release of a project. For example, I'd like to say my project requires "a release of foo >= 2.0, <3.0". I'd then like easy_install/setuptools to only pick releases (no qualifiers of any kind alpha, beta, dev, etc.) of 2.0, 2.1, 2.2, 2.3, 2.4, .... As a further example, it should totally ignore '2.5a1' and '2.6_r15669' and instead would fetch '2.2' if it existed in the same repository.
It would be nice if this was the default behavior unless the user specified an additional flag to accept qualifiers(which would return the behavior to its previous state). Also, it would fall back on eggs with qualifiers if no releases were found.
---------- messages: 48 nosy: cgalvan priority: feature status: chatting title: Prefer release versions of projects
_______________________________________________ Setuptools tracker <setuptools@bugs.python.org> <http://bugs.python.org/setuptools/issue25> _______________________________________________ _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
</pre></body> </html> </html>
participants (2)
-
Chris Galvan
-
Chris Galvan