Skip to content

Commit

Permalink
Change instructions to use psycopg2-binary (LineaLabs#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
andycui97 authored Nov 21, 2022
1 parent a570181 commit 5d5e5cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ is a Python package called ``psycopg2``, which can be installed as follows:

.. code:: bash
$ pip install psycopg2
$ pip install psycopg2-binary
Connect LineaPy with PostgreSQL
-------------------------------
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pdbpp==0.10.3
pg==0.1
Pillow==9.1.1
pre-commit==2.18.1
psycopg2==2.9.3
psycopg2-binary==2.9.3
pydantic==1.9.0
pytest==6.2.5
pytest-alembic==0.8.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def version(path):
]

postgres_libs = [
"psycopg2",
"psycopg2-binary",
]

s3_libs = ["boto3", "s3fs", "botocore"]
Expand Down
2 changes: 1 addition & 1 deletion tests/tools/requirements_txt_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
# DBs
##
"pg",
"psycopg2",
"psycopg2-binary",
"pytest-xdist",
"sphinx-autobuild",
]
Expand Down

0 comments on commit 5d5e5cf

Please sign in to comment.