Skip to content

Update to Python 3.12 and add support for Psycopg3 #211

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

Closed
wants to merge 1 commit into from

Conversation

wlorenzetti
Copy link

Update pipenv to Python 3.12.
Add support for Psycopg3.

@thorntonedgar
Copy link

@palewire can we get this merged?

@davidszotten
Copy link
Contributor

unfortunately i don't think this pr would work as is, it's still importing from e.g. psycopg2.extensions

@palewire
Copy link
Owner

I'm open to merging and releasing this change. Sorry for having been MIA.

Assuming it works with the new version, my main concern is backwards compatibility. Would this introduce any issues there?

I'd also like to see the try/except logic in the current draft swapped for something more Pythonic, like a hasattr check for the methods that indicate what version is in operation.

@palewire
Copy link
Owner

And, not to be a pain, but would there be a way to introduce a test that verifies both versions are working?

@davidszotten
Copy link
Contributor

i pushed my stab at this from a few weeks ago in #213

@palewire
Copy link
Owner

This got handled in #213

@palewire palewire closed this Jun 22, 2025
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 this pull request may close these issues.

4 participants