Skip to content

Commit

Permalink
fix: Pin snowflake-sqlalchemy to 1.2.4 (#16515)
Browse files Browse the repository at this point in the history
* Pin snowflake-sqlalchemy to 1.2.4

* lint files
  • Loading branch information
danielewood committed Aug 31, 2021
1 parent e246916 commit ad8336a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/docs/Connecting to Databases/snowflake.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 1
## Snowflake

The recommended connector library for Snowflake is
[snowflake-sqlalchemy](https://pypi.org/project/snowflake-sqlalchemy/).
[snowflake-sqlalchemy](https://pypi.org/project/snowflake-sqlalchemy/1.2.4/)<=1.2.4. (This version is required until Superset migrates to sqlalchemy>=1.4.0)

The connection string for Snowflake looks like this:

Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ def get_git_sha() -> str:
"shillelagh": [
"shillelagh[datasetteapi,gsheetsapi,socrata,weatherapi]>=1.0.3, <2"
],
"snowflake": ["snowflake-sqlalchemy>=1.2.3, <1.3"],
"snowflake": [
"snowflake-sqlalchemy>=1.2.4"
], # PINNED! 1.2.5 introduced breaking changes requiring sqlalchemy>=1.4.0
"teradata": ["sqlalchemy-teradata==0.9.0.dev0"],
"thumbnails": ["Pillow>=7.0.0, <8.0.0"],
"vertica": ["sqlalchemy-vertica-python>=0.5.9, < 0.6"],
Expand Down

0 comments on commit ad8336a

Please sign in to comment.