Skip to content

Commit

Permalink
[BUGFIX]: argilla server: install default psycopy2 driver used by a…
Browse files Browse the repository at this point in the history
…lembic (#5672)

# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->

Alembic will use psycopy2 driver by default. We still need to install it
to avoid startup errors.

**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->

- Bug fix (non-breaking change which fixes an issue)

**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->

**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->

- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
  • Loading branch information
frascuchon authored Nov 6, 2024
1 parent d43501e commit 74ec465
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
28 changes: 15 additions & 13 deletions argilla-server/pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion argilla-server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies = [

[project.optional-dependencies]
postgresql = [
"psycopg ~= 3.2.0",
"psycopg2 ~= 2.9.0",
# Async PostgreSQL
"asyncpg ~= 0.30.0",
]
Expand Down

0 comments on commit 74ec465

Please sign in to comment.