Skip to content

Commit

Permalink
create sql_database extra
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Sep 3, 2024
1 parent 1ac5bf0 commit c497a2b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_local_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

# TODO: which deps should we enable?
- name: Install dependencies
run: poetry install --no-interaction -E postgres -E duckdb -E parquet -E filesystem -E cli -E weaviate -E qdrant --with sentry-sdk --with pipeline -E deltalake
run: poetry install --no-interaction -E postgres -E duckdb -E parquet -E filesystem -E cli -E sql_database --with sentry-sdk --with pipeline

# we need sqlalchemy 2 for the sql_database tests
- name: Upgrade sql alchemy
Expand Down
3 changes: 2 additions & 1 deletion poetry.lock

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

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ lancedb = { version = ">=0.8.2", optional = true, markers = "python_version >= '
tantivy = { version = ">= 0.22.0", optional = true }
deltalake = { version = ">=0.19.0", optional = true }
graphlib-backport = {version = "*", python = "<3.9"}
sqlalchemy = { version = ">=1.4", optional = true }
pymysql = { version = "^1.0.3", optional = true }
connectorx = { version = ">=0.3.1", optional = true }


[tool.poetry.extras]
gcp = ["grpcio", "google-cloud-bigquery", "db-dtypes", "gcsfs"]
Expand All @@ -109,6 +113,7 @@ clickhouse = ["clickhouse-driver", "clickhouse-connect", "s3fs", "gcsfs", "adlfs
dremio = ["pyarrow"]
lancedb = ["lancedb", "pyarrow", "tantivy"]
deltalake = ["deltalake", "pyarrow"]
sql_database = ["sqlalchemy", "pymysql", "connectorx"]


[tool.poetry.scripts]
Expand Down Expand Up @@ -159,11 +164,6 @@ types-regex = "^2024.5.15.20240519"
flake8-print = "^5.0.0"
mimesis = "^7.0.0"

[tool.poetry.group.sql_database.dependencies]
sqlalchemy = ">=1.4"
pymysql = "^1.0.3"
connectorx = ">=0.3.1"

[tool.poetry.group.pipeline]
optional = true

Expand Down

0 comments on commit c497a2b

Please sign in to comment.