Several users have asked for this.
We discussed this in here: https://docs.google.com/document/d/1ppFhjmOwux2cnMVAXTKaH4VnClOMu0cVd3apMZv-Yxo/edit#heading=h.qkawnvthla8u on 2019-11-20
We should be able to add a package to conda-forge: https://conda-forge.org/docs/maintainer/adding_pkgs.html#step-by-step-instructions
https://discuss.streamlit.io/t/will-there-be-a-new-conda-version/1456
The way I see the problem is not that many users asked for this, but their motivation. My motivation to ask for a conda package is twofold:
2. Currently streamlit depends on tornado <6.0 while other packages require at least tornado v6.0. One example MLFlow - we would like to use both streamlit and MLFlow!
Hi @bozso11 ,
We'll be switching to the newer Tornado as soon as we deprecate Python2 support (very soon), which is the only reason we're still using Tornado 5.x. Hang tight! And thanks for letting us know about version conflicts that affect you.
Just wanted to add another vote for enabling installation via conda-forge! Not a demand, but would definitely make my life easier :)
Thanks!
I am also running into an issue with my organization wanting to shutdown installation from pypi. I am building the case that the anaconda repo is more secure, so I would like to see streamlit on anaconda, not just conda-forge.
Bump on this. If this is something that can't be prioritized right now, I could draft a gist for someone within Streamlit to put up as a PR on conda-forge/staged-recipes with them as recipe-maintainer.
Once up, https://github.com/regro/cf-scripts should make it so that there isn't actually much maintenance to do, but if anything goes wrong I figure it'd be in Streamlit's interest to make sure that a staff member is the maintainer.
- Currently streamlit depends on tornado <6.0 while other packages require at least tornado v6.0. One example MLFlow - we would like to use both streamlit and MLFlow!
Hi @bozso11 ,
We'll be switching to the newer Tornado as soon as we deprecate Python2 support (very soon), which is the only reason we're still using Tornado 5.x. Hang tight! And thanks for letting us know about version conflicts that affect you.
Hey nthmost, thanks for the answer.
I'm curious when we can expect the upgrade to Tornado >6? Python 2 support was dropped in Feb, so I'm hopeful :)
conda installation of streamlit from conda-forge would definitely be a plus!
I manage a complex environment in which I already have several packages with
conda env create from an environment.yml file.
Running pip install for streamlit manually not only breaks my ususal automation, but also seems to overwrite already installed packages such as numpy, and it may put my environment in an inconsistent state.
Streamlit is a remarkable package! It would be great if there was a conda install though.
yep I agree too - Tornado upgrade and conda installations would be incredibly useful!
Hey @svenrahmann
I manage a complex environment in which I already have several packages with
conda env createfrom anenvironment.ymlfile.
Did you know you can install pip packages with the environment.yml file as well? https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually (See the second example in the linked section)
But this way probably doesn't solve other issues with simultaneous use of pip and conda.
However I still would also like to see a conda package for streamlit. As someone mentioned above, the maintenance for the recipe should be rather lower as conda-forge provides so much infrastructure and support there.
Thanks everyone for highlighting how important a conda package is to the community. I assigned this to myself and will see what it takes to get this moving on our side
That's awesome! Just FYI I've found the conda-forge community super welcoming/helpful in the past and they've got a reasonably active gitter. https://gitter.im/conda-forge/conda-forge.github.io
In the past, we've had issues maintaining a streamlit conda package and have removed it. However, given the interest for it, our engineering team has dedicated time to researching how we can release and maintain a conda package as part of our release process. While we don't have an idea on timeline, we are committed to investigating and will report back with our findings.
Thanks for the insight and patience!
Had a quick stab at this here
https://github.com/conda-forge/staged-recipes/pull/13192
I used grayskull developed by @marcelotrevisani (https://www.marcelotrevisani.com/grayskull)
Hi @raybellwaves, thanks for trying this out. Can you add me as a maintainer on the recipe, so that Streamlit will be able to make changes?
Hi @raybellwaves, thanks for trying this out. Can you add me as a maintainer on the recipe, so that Streamlit will be able to make changes?
Added. I'll remove myself when it merges.
I'm so excited about this. Thanks, @raybellwaves and @randyzwitch 馃槂
Had a quick stab at this here
conda-forge/staged-recipes#13192
I used grayskull developed by @marcelotrevisani (https://www.marcelotrevisani.com/grayskull)
I already merged that, in a hour or so you will have the feedstock and after that the package on the conda-forge channel!
Thanks for contributing! :)
Can be closed. Feedstock here: https://github.com/conda-forge/streamlit-feedstock
Thanks for contributing this @raybellwaves! We're still thinking internally how we will support this (or leave it purely as a community-supported package), but you've done a majority of the leg-work here to make it a reality :+1:
Most helpful comment
Just wanted to add another vote for enabling installation via conda-forge! Not a demand, but would definitely make my life easier :)
Thanks!