Re: Can't use psycopg2 2.7b1 with django

2017-02-13 Thread notsqrt
Hi Tim, Ticket created at https://code.djangoproject.com/ticket/27830, with some additional info, and other potential places needed to be fixed. Thanks, Le vendredi 10 février 2017 20:40:42 UTC+1, Tim Graham a écrit : > > I think distutils.version.LooseVersion should be safe to use (django-cms

Re: Can't use psycopg2 2.7b1 with django

2017-02-10 Thread Tim Graham
I think distutils.version.LooseVersion should be safe to use (django-cms is using it, for example). Not sure about "packaging". Do you want to create a Trac ticket for this issue? Probably the same technique could also be used in other places. On Friday, February 10, 2017 at 5:58:29 AM UTC-5, n

Re: Can't use psycopg2 2.7b1 with django

2017-02-10 Thread notsqrt
packaging is a dependency of setuptools (previously included in its vendor libs), so very probably installed everywhere ! Le vendredi 10 février 2017 11:58:29 UTC+1, not...@gmail.com a écrit : > > Hi ! > > psycopg2 is preparing a new release, and currently the git project uses PEP > 440

Can't use psycopg2 2.7b1 with django

2017-02-10 Thread notsqrt
Hi ! psycopg2 is preparing a new release, and currently the git project uses PEP 440 -compatible version numbers : 2.7b1, 2.7b2.dev0 (see https://github.com/psycopg/psycopg2/blob/master/setup.py#L67) In https://github.com/django/django/blob/master/