chore: Remove postgres group from pyproject.toml install postgres dependencies through extras
To be uniform with how we install optional dependencies a change has been made so that postgres optional dependencies are installed through extras Chore #COG-170
This commit is contained in:
parent
6b9a14270d
commit
c78627f926
2 changed files with 5 additions and 8 deletions
5
poetry.lock
generated
5
poetry.lock
generated
|
|
@ -4932,7 +4932,7 @@ test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"]
|
|||
name = "psycopg2"
|
||||
version = "2.9.10"
|
||||
description = "psycopg2 - Python-PostgreSQL Database Adapter"
|
||||
optional = false
|
||||
optional = true
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "psycopg2-2.9.10-cp310-cp310-win32.whl", hash = "sha256:5df2b672140f95adb453af93a7d669d7a7bf0a56bcd26f1502329166f4a61716"},
|
||||
|
|
@ -7759,10 +7759,11 @@ cli = []
|
|||
filesystem = []
|
||||
neo4j = ["neo4j"]
|
||||
notebook = ["overrides"]
|
||||
postgres = ["psycopg2"]
|
||||
qdrant = ["qdrant-client"]
|
||||
weaviate = ["weaviate-client"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.9.0,<3.12"
|
||||
content-hash = "4daa7346dc90750bb6b82ef353f321da2370b60515396d2e1390a3f35510ce55"
|
||||
content-hash = "70a0072dce8de95d64b862f9a9df48aaec84c8d8515ae018fce4426a0dcacf88"
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ fastapi-users = { version = "*", extras = ["sqlalchemy"] }
|
|||
asyncpg = "^0.29.0"
|
||||
alembic = "^1.13.3"
|
||||
pgvector = "^0.3.5"
|
||||
psycopg2 = {version = "^2.9.10", optional = true}
|
||||
|
||||
[tool.poetry.extras]
|
||||
filesystem = ["s3fs", "botocore"]
|
||||
|
|
@ -78,6 +79,7 @@ cli = ["pipdeptree", "cron-descriptor"]
|
|||
weaviate = ["weaviate-client"]
|
||||
qdrant = ["qdrant-client"]
|
||||
neo4j = ["neo4j"]
|
||||
postgres = ["psycopg2"]
|
||||
notebook = ["ipykernel", "overrides", "ipywidgets", "jupyterlab", "jupyterlab_widgets", "jupyterlab-server", "jupyterlab-git"]
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
|
|
@ -103,12 +105,6 @@ diskcache = "^5.6.3"
|
|||
pandas = "2.0.3"
|
||||
tabulate = "^0.9.0"
|
||||
|
||||
[tool.poetry.group.postgres]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.postgres.dependencies]
|
||||
psycopg2 = "^2.9.10"
|
||||
|
||||
[tool.ruff] # https://beta.ruff.rs/docs/
|
||||
line-length = 100
|
||||
ignore = ["F401"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue