Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for psycopg3 #121

Closed
c-w opened this issue Apr 4, 2023 · 3 comments
Closed

Support for psycopg3 #121

c-w opened this issue Apr 4, 2023 · 3 comments

Comments

@c-w
Copy link
Contributor

c-w commented Apr 4, 2023

With the release of Django 4.2, there's now official support for psycopg3 in Django and psycopg2 will eventually be deprecated (see release notes).

The use of psycopg2 seems pretty well encapsulated in this library so I wonder if there's a desire to also support the new psycopg3? I can work on a pull request for this if required.

@jimfunk
Copy link
Owner

jimfunk commented Apr 6, 2023

Yes, psycopg 3.x is probably a good idea. I have been using it in other, non-Django projects.

If you wanted to take a stab at it, go ahead. I should be able to get it going myself, but it probably won't be in the next couple of weeks.

@c-w
Copy link
Contributor Author

c-w commented Apr 6, 2023

Great, thank you. As a conversation starter, I opened a pull request which passes the tests on my machine. Looking forward to your inputs!

@jimfunk
Copy link
Owner

jimfunk commented Apr 8, 2023

Thanks for the PR.

@jimfunk jimfunk closed this as completed Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants