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

fix: no module named 'psycopg2' #3526

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: revert quick fix
italojohnny committed Aug 23, 2024
commit c84fb3d54ec697469b18388e2d612cf50fa8d7ec
3 changes: 1 addition & 2 deletions docker/build_and_push.Dockerfile
Original file line number Diff line number Diff line change
@@ -65,8 +65,7 @@ RUN $POETRY_HOME/bin/poetry lock --no-update \
# do not install dev dependencies \
&& $POETRY_HOME/bin/poetry install --without dev --sync -E deploy -E couchbase -E cassio \
&& $POETRY_HOME/bin/poetry build -f wheel \
&& $POETRY_HOME/bin/poetry run pip install dist/*.whl \
&& $POETRY_HOME/bin/poetry add psycopg2-binary
&& $POETRY_HOME/bin/poetry run pip install dist/*.whl

################################
# RUNTIME
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ huggingface-hub = { version = "^0.22.0", extras = ["inference"] }
llama-cpp-python = { version = "~0.2.0", optional = true }
networkx = "^3.1"
fake-useragent = "^1.5.0"
psycopg2-binary = "^2.9.6"
pyarrow = "^14.0.0"
wikipedia = "^1.4.0"
qdrant-client = "^1.9.0"