Skip to content

Commit

Permalink
Declare pip dependency for cli extras
Browse files Browse the repository at this point in the history
The `pipdeptree` package includes references
to `pip` but does not explicitly require it.
To ensure `pip` is installed in the environment,
declare it as a dependency.
  • Loading branch information
jonbiemond committed Jan 13, 2025
1 parent cbcff92 commit 496dfff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ botocore = {version = ">=1.28", optional = true}
snowflake-connector-python = {version = ">=3.5.0", optional = true}
cron-descriptor = {version = ">=1.2.32", optional = true}
pipdeptree = {version = ">=2.9.0,<2.10", optional = true}
# pip is used by pipdeptree but not listed in its dependencies
pip = {version = ">=24.0.0", optional = true}
pyathena = {version = ">=2.9.6", optional = true}
weaviate-client = {version = ">=3.22", optional = true}
adlfs = {version = ">=2024.7.0", optional = true}
Expand Down Expand Up @@ -126,7 +128,7 @@ az = ["adlfs"]
sftp = ["paramiko"]
snowflake = ["snowflake-connector-python"]
motherduck = ["duckdb", "pyarrow"]
cli = ["pipdeptree", "cron-descriptor"]
cli = ["pipdeptree", "cron-descriptor", "pip"]
athena = ["pyathena", "pyarrow", "s3fs", "botocore"]
weaviate = ["weaviate-client"]
mssql = ["pyodbc"]
Expand Down

0 comments on commit 496dfff

Please sign in to comment.