You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/17 18:07:23 UTC

[GitHub] [superset] EamonKeane commented on issue #20863: Snowflake-sqlalchemy connector no longer working.

EamonKeane commented on issue #20863:
URL: https://github.com/apache/superset/issues/20863#issuecomment-1218338872

   Thanks a lot @wiktor2200 ! I struggled through this issue. It appears that it's been partially fixed in 2.7.11.
   
   https://github.com/snowflakedb/snowflake-connector-python/issues/1206#issuecomment-1213487028
   
   Like you mention, it looks like the pinning for typing-extensions could be relaxed since it appears to work above v4. This script works for me. Is there a more elegant/maintainable way of creating a production image?
   
   ```
   #!/usr/bin/env bash
   cd /tmp || exit
   git clone https://github.com/apache/superset.git --branch=2.0.0
   echo "snowflake-sqlalchemy==1.2.4" > superset/requirements/requirements-local.txt
   cd superset || exit
   # linux sed
   sed -i 's/typing-extensions>=3.10, <4/typing-extensions>=4.3, <5/' setup.py
   sed -i 's/typing-extensions==3.10.0.0/typing-extensions==4.3.0/' requirements/base.txt
   docker build --tag apache-superset:2.0.0-dev --target dev .
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org