Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next release/best way of using last version #162

Open
InigoReizabal opened this issue Dec 13, 2021 · 6 comments
Open

Next release/best way of using last version #162

InigoReizabal opened this issue Dec 13, 2021 · 6 comments

Comments

@InigoReizabal
Copy link

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.

@alexcjohnson
Copy link
Collaborator

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)

@pmdias
Copy link

pmdias commented Dec 15, 2021

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?

@alexcjohnson
Copy link
Collaborator

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.

@MrTeale
Copy link

MrTeale commented Mar 30, 2022

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

@Morganplant
Copy link

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

@beginner000001
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants