PEP 771: Default Extras for Python Software Packages

I just wanted to chime in that this would be valuable to the Bokeh project. Bokeh currently has a server component that depends on tornado which makes it difficult for users to install in WebAssembly environments. [1] It would be great to be able to have our users be able to:

pip install bokeh    # same as today, no breakage for current users
pip install bokeh[]  # does not include tornado, works for webassembly

or whatever syntax gets decided for “minimal”.

Summarizing: we’d be happy to have any solution that recognizes sometimes the minimal case is the special case, and provides a path to achieve that.


  1. AFAIK tornado will probably never be available in WebAssembly. ↩︎

2 Likes