question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conda recipe: should we install any front-ends automatically?

See original GitHub issue

Given that Altair now works on several different front-ends, we need to make some choices for the conda forge recipe.

In particular, when someone types conda install altair -c conda-forge, should it also install jupyter notebook and/or jupyterlab?

On one hand, it would be nice to have a single install command that works for new users, and we could direct people who don’t want one of these renderers to be installed to use pip instead.

On the other hand, it might be annoying to people who might not expect optional dependencies to be installed and/or updated when they conda install altair.

Any thoughts?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
xhochycommented, Apr 15, 2018

Using Altair outside of the Notebook environment as a plotting backend for web apps is my main use case. In that environment it is annoying to depend on jupyter as it pulls in a huge set of requirements. The more lightweight the default dependencies are, the better for my specific use case. I can understand the current situation to make it simple for new users but it might be good to keep in mind that not all Altair users will be using it using inside notebook.

0reactions
jakevdpcommented, May 8, 2018

In the end, we chose not to depend on any frontends, which I think was the right choice.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conda-build recipes
To enable building conda packages, install and update conda and conda-build. Building a conda package requires a recipe. A conda-build recipe is a...
Read more >
`setup.py` `install_requirements` in Conda environment
1 Answer 1 ... No, there is no way to use pip to install packages during the conda build process. Conda insists on...
Read more >
The Joy of Packaging Documentation
Write a conda recipe for the sample package from previous exercises ... In a broad sense, anything you install using your package manager....
Read more >
Custom build steps / Moving Bokeh off setup.py
An “install-js” build should move a pre-buit BokehJS into the Python ... the frontend/backend thing, so other tools can call setup.py ?
Read more >
Using PyInstaller to Easily Distribute Python Applications
Are you jealous of Go developers building an executable and easily shipping ... conda , or any other environment that can access your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found