Skip to content

Commit

Permalink
fix(deps): remove pydruid sqlalchemy dependency (#9092)
Browse files Browse the repository at this point in the history
Bump pydruid to get rid of its transitive sqlalchemy dependency
  • Loading branch information
cpcloud committed May 1, 2024
1 parent 3d5ae89 commit a0df103
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions poetry.lock

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

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ fsspec = { version = "<2024.3.0", optional = true }
polars = { version = ">=0.20.17,<1", optional = true }
psycopg2 = { version = ">=2.8.4,<3", optional = true }
pydata-google-auth = { version = ">=1.4.0,<2", optional = true }
# we don't use sqlalchemy, but pydruid inadvertently requires it,
# see https://github.com/druid-io/pydruid/issues/313
pydruid = { version = ">=0.6.5,<1", optional = true, extras = ["sqlalchemy"] }
pydruid = { version = ">=0.6.7,<1", optional = true }
pyexasol = { version = ">=0.25.2,<1", optional = true, extras = ["pandas"] }
pymysql = { version = ">=1,<2", optional = true }
pyodbc = { version = ">=4.0.39,<6", optional = true }
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ google-crc32c==1.5.0 ; python_version >= "3.9" and python_version < "4.0"
google-resumable-media==2.7.0 ; python_version >= "3.9" and python_version < "4.0"
googleapis-common-protos==1.63.0 ; python_version >= "3.9" and python_version < "4.0"
graphviz==0.20.3 ; python_version >= "3.9" and python_version < "4.0"
greenlet==3.0.3 ; python_version >= "3.9" and python_version < "4.0" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32")
greenlet==3.0.3 ; python_version >= "3.10" and python_version < "3.13" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32")
griffe==0.44.0 ; python_version >= "3.10" and python_version < "3.13"
grpcio-status==1.62.2 ; python_version >= "3.9" and python_version < "4.0"
grpcio==1.62.2 ; python_version >= "3.9" and python_version < "4.0"
Expand Down Expand Up @@ -209,7 +209,7 @@ pydantic-core==2.18.2 ; python_version >= "3.10" and python_version < "3.13"
pydantic==2.7.1 ; python_version >= "3.10" and python_version < "3.13"
pydata-google-auth==1.8.2 ; python_version >= "3.9" and python_version < "4.0"
pydeps==1.12.20 ; python_version >= "3.9" and python_version < "4.0"
pydruid[sqlalchemy]==0.6.8 ; python_version >= "3.9" and python_version < "4.0"
pydruid==0.6.8 ; python_version >= "3.9" and python_version < "4.0"
pyexasol[pandas]==0.25.2 ; python_version >= "3.9" and python_version < "4.0"
pygments==2.17.2 ; python_version >= "3.9" and python_version < "4.0"
pyinstrument==4.6.2 ; python_version >= "3.9" and python_version < "4.0"
Expand Down Expand Up @@ -274,7 +274,7 @@ snowflake-connector-python==3.10.0 ; python_version >= "3.9" and python_version
sortedcontainers==2.4.0 ; python_version >= "3.9" and python_version < "4.0"
soupsieve==2.5 ; python_version >= "3.10" and python_version < "3.13"
sphobjinv==2.3.1 ; python_version >= "3.10" and python_version < "3.13"
sqlalchemy==2.0.29 ; python_version >= "3.9" and python_version < "4.0"
sqlalchemy==2.0.29 ; python_version >= "3.10" and python_version < "3.13"
sqlglot==23.12.2 ; python_version >= "3.9" and python_version < "4.0"
stack-data==0.6.3 ; python_version >= "3.9" and python_version < "4.0"
statsmodels==0.14.2 ; python_version >= "3.10" and python_version < "3.13"
Expand Down

0 comments on commit a0df103

Please sign in to comment.