EamonKeane commented on issue #20863:
URL: https://github.com/apache/superset/issues/20863#issuecomment-1252238140
@ggmblr fwiw, this is what I have working, just extending the Dockerfile
wasn't working for me. Putting this in a Makefile and then doing a docker build
should work and lets you use the latest snowflkae-sqlalchemy version which has
additional datatypes like Geography.
```
SHELL := /bin/bash
SUPERSET_COMMIT_HASH ?= c3f841713989634ef4ba522b6a89e04ff89e2c0d
SUPERSET_FOLDER ?= my_superset
.PHONY: superset
superset:
rm -rf ${SUPERSET_FOLDER}
git clone --single-branch https://github.com/apache/superset.git
${SUPERSET_FOLDER}
cd ${SUPERSET_FOLDER} && \
git checkout ${SUPERSET_COMMIT_HASH} && \
echo "snowflake-sqlalchemy==1.4.1" >
requirements/requirements-local.txt && \
sed 's/typing-extensions>=3.10, <4/typing-extensions>=4.3, <5/'
setup.py > /tmp/file.$$ && mv /tmp/file.$$ setup.py && \
sed 's/typing-extensions==3.10.0.0/typing-extensions==4.3.0/'
requirements/base.txt > /tmp/file.$$ && mv /tmp/file.$$ requirements/base.txt
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]