You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Right, we do have a bunch of bug fixes completed but not released. It's just waiting for us to review #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)
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
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?
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.
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.
Activity
alexcjohnson commentedon Dec 13, 2021
Right, we do have a bunch of bug fixes completed but not released. It's just waiting for us to review #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/:
(note you can include those strings, ie everything after
pip install, in a requirements file as well)pmdias commentedon Dec 15, 2021
Just to clarify a small detail, considering that the
dash_daq/metadata.jsonis not commited to version control, doesn't an installation from git require that thenpm run buildstep 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 importingdash_daqin a Python script. Am I missing something on this?alexcjohnson commentedon Dec 15, 2021
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 upnpm iandnpm run buildare required. Let's keep this issue open until we've resolved that.Fixes plotly#131 and plotly#162
MrTeale commentedon Mar 30, 2022
I have created #167 which removes the use of
metadata.json. To install using this method, use:Merge pull request #167 from MrTeale/fix/131-imports
Andris73 commentedon Aug 4, 2022
Any update on this?
When can we expect next release?
Thanks!
beginner000001 commentedon Jan 4, 2023
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.