django-lms icon indicating copy to clipboard operation
django-lms copied to clipboard

Requirements: psycopg2-binary to psycopg-binary

Open catbyte-io opened this issue 9 months ago • 5 comments

Hello. As Psycopg2 will soon be deprecated, should we switch to using Psycopg3 (AKA Psycopg)?

https://pypi.org/project/psycopg-binary/

catbyte-io avatar Apr 28 '24 19:04 catbyte-io

Hi, we're now using psycopg2 instead of psycopg-binary on both development and production environment

adilmohak avatar May 05 '24 11:05 adilmohak

Can you provide a link related to the deprecation of psycopg2

adilmohak avatar May 05 '24 19:05 adilmohak

Yes, the mention of psycopg2 to be most likely deprecated soon is mentioned on this page of Django release notes. https://django.readthedocs.io/en/stable/releases/4.2.html

catbyte-io avatar May 08 '24 02:05 catbyte-io

I see, thanks and we'll consider upgrading to Psycopg-3

adilmohak avatar May 08 '24 06:05 adilmohak

I would be happy to work on changing this if this is something you would like to do. I am new to contributing, so I am trying to learn with projects like Django that I am familiar with. Thank you for considering!

catbyte-io avatar May 18 '24 16:05 catbyte-io

For the project to run at first glance we don't need psycopg2 anymore

adilmohak avatar Aug 31 '24 12:08 adilmohak