conda-forge / plotly-feedstock

A conda-smithy repository for plotly.
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

plotly v3.1.0 #41

Closed regro-cf-autotick-bot closed 6 years ago

regro-cf-autotick-bot commented 6 years ago

It is very likely that the current package version for this feedstock is out of date. Notes and instructions for merging this PR:

  1. Please check that the dependencies have not changed.
  2. Please merge the PR only after the tests have passed.
  3. Feel free to push to the bot's branch to update this PR if needed.
  4. The bot will almost always only open one PR per version.

This PR was created by the cf-regro-autotick-bot. The cf-regro-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (conda install -c conda-forge rever) and pip (pip install re-ver) installable. Finally, feel free to drop us a line if there are any issues!

conda-forge-linter commented 6 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

moorepants commented 6 years ago

Looks like there may be a number of jupyter extension related dependencies that need to be incorporated: https://github.com/plotly/plotly.py/compare/v3.0.2...master

moorepants commented 6 years ago

These are the current instructions in the 3.1.0 readme where notebook, ipywigdets, and jupyterlab are listed a dependencies:

Installation of plotly.py Version 3

To install plotly.py and enable Jupyter or Jupyter Lab support, run:

pip install plotly==3.1.0
pip install "notebook>=5.3" "ipywidgets>=7.2"  # only necessary for Jupyter Notebook environments

If you're using older versions of notebook or ipywidgets you may need to manually activate the widget extensions (this should not be needed for notebook>=5.3 and ipywidgets>=7.2)

jupyter nbextension enable --py widgetsnbextension --sys-prefix
jupyter nbextension enable --py plotlywidget --sys-prefix

In addition, to add JupyterLab support run the following commands


pip install jupyterlab==0.32.1
export NODE_OPTIONS=--max-old-space-size=4096
jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.35 # install the Jupyter widgets extension
jupyter labextension install plotlywidget@0.2  # FigureWidget support
jupyter labextension install @jupyterlab/plotly-extension@0.16  # offline iplot support
moorepants commented 6 years ago

There are also a number of optional dependencies listed here:

https://github.com/plotly/plotly.py/blob/master/optional-requirements.txt

That we should possibly add.

moorepants commented 6 years ago

The tox.ini file shows the optional dependencies more clearly: https://github.com/plotly/plotly.py/blob/master/tox.ini#L53

ocefpaf commented 6 years ago

Let's go with the minimum dependencies instead of listing all possible optional ones.

moorepants commented 6 years ago

Ok, but one of the big updates for plotly 3 was the jupyter(lab) integration. So users will have to figure out how to get that all setup themselves. That's why I brought up these dependencies.