bluesky / databroker-pack

Pack and unpack Bluesky Runs to/from a portable storage format.
http://blueskyproject.io/databroker-pack
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Import error when using the databroker 2.0.0b #35

Open st3107 opened 2 years ago

st3107 commented 2 years ago

The databroker-pack raised import error when used in databroker 2.0.0b. This is because there is no core module in the databroker 2.0.0b. There is only _core.

Traceback (most recent call last):
  File "/Users/sst/anaconda3/envs/latest_databroker/bin/databroker-pack", line 6, in <module>
    from databroker_pack.commandline.pack import main
  File "/Users/sst/anaconda3/envs/latest_databroker/lib/python3.10/site-packages/databroker_pack/__init__.py", line 6, in <module>
    from ._pack import *  # noqa
  File "/Users/sst/anaconda3/envs/latest_databroker/lib/python3.10/site-packages/databroker_pack/_pack.py", line 10, in <module>
    import databroker.core
ModuleNotFoundError: No module named 'databroker.core'

I wonder if this package will be updated to be compatible with databroker 2.0.0.