Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing streamlit-mermaid using poetry adds unnecessary dependencies #10

Open
cwilson opened this issue Jan 21, 2025 · 0 comments
Open

Comments

@cwilson
Copy link

cwilson commented Jan 21, 2025

Nice plugin, thanks for creating it!

I noticed that poetry add [email protected] will also add dependencies on setuptools and altair. Here's a snippet from my poetry.lock file after installation:

[[package]]
name = "streamlit-mermaid"
version = "0.3.0"
description = ""
optional = false
python-versions = ">=3.9,<4.0"
files = [
    {file = "streamlit_mermaid-0.3.0-py3-none-any.whl", hash = "sha256:1b7bb7d60e672430edb501f120ab157069b0cf9176fa6c44821710c3aa02cc89"},
    {file = "streamlit_mermaid-0.3.0.tar.gz", hash = "sha256:f4247fc4c063b7c406f3546c843572b0d7a89ddabfd04dface4a8abb70ba9b19"},
]

[package.dependencies]
altair = "<5"
setuptools = ">=75.6.0,<76.0.0"
streamlit = ">=1.0.0,<2.0.0"

altair and setuptools don't appear to be required unless you're building and publishing the project. I'd expect the only dependency to be on streamlit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant