forked from catherinedevlin/ipython-sql
-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
What happens?
Documentation about PostgreSQL integration suggests using psycopg2, which is an outdated version of the project.
It recommends installing psycopg2-binary
and "pgspecial<2"
together, but that just won't work, because
"pgspecial<2"
depends onpsycopg2
, andpsycopg2-binary
does not "provide"psycopg2
in terms of a package management, and- installing
psycopg2
from source requires some config in$PATH
and possibly other weirdness.
It also states: "JupySQL supports the following connectors.", but that's a link to an outdated version of sqlalchemy
1.4, while the relevant and actually installed/used one is 2.0.x! The new link would be https://docs.sqlalchemy.org/en/20/dialects/postgresql.html which lists "psycopg (a.k.a. psycopg 3)" amongst the options.
According to the devs of pgspecial
, the answer to all those issue at once would be to just use psycopg 3 instead or 2.
To Reproduce
Follow the docs for PostgreSQL integration.
OS:
Linux
JupySQL Version:
0.11.1
Full Name:
Ivan Tkachenko
Affiliation:
None
Metadata
Metadata
Assignees
Labels
No labels