Open AronsonDan opened 4 months ago
I have drilled down a bit into the installation and discovered that it is happening only when trying to install snowflake-sqlalchemy
Looks like there's an issue with the cryptography lib. Try pip install -r requirements/docker.txt
. That should get all the required libs.
I have found an ugly solution to the issue:
After installing snowflake-sqlalchemy
i have installed the required version of cryptography
FROM apache/superset:3.1.0-py310
USER root
RUN apt-get update && \
apt-get install --no-install-recommends -y firefox-esr && \
apt-get install wget
ENV GECKODRIVER_VERSION=0.33.0
RUN wget -q https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && \
tar -x geckodriver -zf geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz -O > /usr/bin/geckodriver && \
chmod 755 /usr/bin/geckodriver && \
rm geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz
RUN pip install --no-cache gevent snowflake-sqlalchemy cryptography==41.0.2
USER superset
@craig-rueda isnt the apache/superset:3.1.0-py310
include these requirements in the first place?
I guess one of the superset dependencies is conflicting with one of the snowflake-sqlalchemy
dependencies which can prevent users from integrating snowflake with superset
Bug description
While trying to deploy on kubernetes:
Im getting the following error in
finaloop-superset-init-db
pod:Im using my own docker image. Docker file:
Would love to hear if you guys have any solution for it :-)
How to reproduce the bug
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist