GitHub user maederm created a discussion: pypi installation vs. dependencies

Hi

I'm using Superset using the [pypi installation 
method](https://superset.apache.org/admin-docs/installation/pypi). It makes it 
easier to add DB drivers and other dependencies.

However, it seems that some workarounds are needed for it to work, which I 
wouldn’t need with the Docker method. As of 6.1.0, I needed to add these extra 
dependencies which I assume should live in the project's 
[pyproject.toml](https://github.com/apache/superset/blob/master/pyproject.toml).

Additional entries required for 6.1.0:

```toml
# Workaround for https://github.com/apache/superset/issues/40962
cachetools = ">=5.3.0,<7"
# Workaround for missing apache-superset dependency (didn't find an issue)
rich = "^15.0.0"
# Workaround for 
https://github.com/apache/superset/discussions/40172#discussioncomment-16980371
flask-sqlalchemy = "^2.5.1"
```

It seems that I can't expect the dependencies in `pyproject.toml` to be up to 
date. Is that assumption correct?
Should I use something like `uv pip compile` with the 
[base.txt](https://github.com/apache/superset/blob/master/requirements/base.txt)
 instead?
Or is this something that should work, and could I contribute a fix

GitHub link: https://github.com/apache/superset/discussions/41902

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to