[BangPypers] Do you pin your requirements.txt ?

Abdul Muneer abdulmuneer at gmail.com
Thu Sep 12 15:00:19 CEST 2013


I also pin requirements. But when I do 'pip freeze', I remove the packages
that are installed as a dependency to main libraries which were explicitly
installed.

Packages from pypi may specify dependency as ">=" and it will fetch the
latest. But if you had pinned those too, it can cause conflicts especially
if you upgrade the main component. Had run into issues because of this
while working on a pylons project.

Regards,
Abdul Muneer

--
Follow me on Twitter: @abdulmuneer <http://twitter.com/#%21/abdulmuneer>


On Thu, Sep 12, 2013 at 6:16 PM, Aditya Laghate <aditya at thinrhino.net.in>wrote:

> On Thu, Sep 12, 2013 at 05:50:27PM +0530, Vineet Naik wrote:
> > I always pin requirements. Here is a related article on the topic -
> > http://nvie.com/posts/pin-your-packages/
>
> Interesting blog link.
>
> I did like the idea of using '==' instead of '>='
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list