jdaviz icon indicating copy to clipboard operation
jdaviz copied to clipboard

[BUG] developer install now requires non-editable install first

Open bmorris3 opened this issue 3 months ago • 0 comments

Jdaviz component

Other (explain in Description below)

Description

In the dev docs, we had once said:

https://github.com/spacetelescope/jdaviz/blob/5e78640398f1b3ea27a86819f3671af3dff19a8b/docs/installation.rst?plain=1#L232-L241

I'm not sure if something changed, but lately I must pip install . before pip install -e . will work.

How to Reproduce

  1. Create a clean env
  2. build from source with pip install -e .
  3. try from jdaviz import Imviz

I get:

ImportError: cannot import name 'Imviz' from 'jdaviz' (unknown location)

Expected behavior

The package should be available.

Browser

No response

Jupyter

IPython : 9.2.0 ipykernel : 6.29.5 ipywidgets : 8.1.7 jupyter_client : 8.6.3 jupyter_core : 5.7.2 jupyter_server : 2.16.0 jupyterlab : 4.4.3 nbclient : 0.10.2 nbconvert : 7.16.6 nbformat : 5.10.4 notebook : 7.4.2 qtconsole : not installed traitlets : 5.14.3

Software versions

macOS-15.6-arm64-arm-64bit Python 3.12.9 | packaged by Anaconda, Inc. | (main, Feb 6 2025, 12:55:12) [Clang 14.0.6 ] Numpy 1.26.4 astropy 7.0.2 matplotlib 3.10.3 scipy 1.15.3 scikit-image 0.25.2 asdf 4.1.0 stdatamodels 3.0.2 gwcs 0.24.0 regions 0.10 specutils 2.0.0 specreduce 1.6.0 photutils 2.2.0 astroquery 0.4.10 pyyaml 6.0.2 asteval 1.0.6 idna 3.10 traitlets 5.14.3 bqplot 0.12.45 bqplot-image-gl 1.6.1 glue-core 1.23.1.dev5+gbc77491aa.d20250829 glue-jupyter 0.24.0 glue-astronomy 0.12.0 echo 0.11.0 ipyvue 1.11.2 ipyvuetify 1.11.1 ipysplitpanes 0.2.0 ipygoldenlayout 0.4.0 ipypopout 2.0.0 Jinja2 3.1.6 solara 1.49.0 vispy 0.15.1 sidecar 0.7.0 Jdaviz 4.4.dev5+gd6d0a9418

bmorris3 avatar Aug 29 '25 14:08 bmorris3