dash-daq icon indicating copy to clipboard operation
dash-daq copied to clipboard

Next release/best way of using last version

Open InigoReizabal opened this issue 3 years ago • 6 comments

Hello. I'm currently using the last release of dash-daq repo but the release was done on 27 Apr 2020 and it does not contain some of bug fixes that I need. The question is:

  • Considering that the last release was done more than one year an a half ago, are you planning to do a release any time soon?

  • If not, how do you recommend me to install/use the latest available version?

Thank you very much for this great project.

InigoReizabal avatar Dec 13 '21 10:12 InigoReizabal

Right, we do have a bunch of bug fixes completed but not released. It's just waiting for us to review https://github.com/plotly/dash-daq/pull/160 and complete a little more QA before we're ready to release. Hopefully won't be too long but I can't promise any particular timeline.

If you want to use an unreleased version, in this repo we still commit the builds so you can install directly from GitHub without needing to build https://pip.pypa.io/en/stable/topics/vcs-support/:

pip install git+https://github.com/plotly/dash-daq.git#egg=dash_daq
# or to include the unmerged PR 160
pip install git+https://github.com/Karan-S-Mittal/dash-daq.git@bug-fix#egg=dash_daq

(note you can include those strings, ie everything after pip install, in a requirements file as well)

alexcjohnson avatar Dec 13 '21 17:12 alexcjohnson

Just to clarify a small detail, considering that the dash_daq/metadata.json is not commited to version control, doesn't an installation from git require that the npm run build step be done locally, in order to install that file also?

These are the steps that I followed to successfully install from git

$ npm install
$ npm run build
$ python -m pip install .

Otherwise I get a FileNotFoundError: [Errno 2] No such file or directory: 'lib/python3.9/site-packages/dash_daq/metadata.json' when importing dash_daq in a Python script. Am I missing something on this?

pmdias avatar Dec 15 '21 09:12 pmdias

Thanks @pmdias - you're right, looks like this project is in an old state that still requires the metadata file at runtime whereas our other projects have moved away from that pattern, instead using ._imports_. So until that's cleaned up npm i and npm run build are required. Let's keep this issue open until we've resolved that.

alexcjohnson avatar Dec 15 '21 14:12 alexcjohnson

I have created #167 which removes the use of metadata.json. To install using this method, use:

pip install git+https://github.com/plotly/dash-daq.git#egg=dash_daq

MrTeale avatar Mar 30 '22 04:03 MrTeale

Any update on this? When can we expect next release? Thanks!

Morganplant avatar Aug 04 '22 10:08 Morganplant

Nowadays, mobile first is the standard, but unfortunately the Dash Knob control cannot be used on touchscreen devices. It's a shame because the Knob looks great and adds a lot of value to the application. It would be great if it could be made touch-compatible.

beginner000001 avatar Jan 04 '23 17:01 beginner000001