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

Requirements-ui.txt specifies version of holoviews incompatible with default panels installation #158

Open
mattgebert opened this issue Oct 4, 2024 · 1 comment · May be fixed by #177

Comments

@mattgebert
Copy link

The requirements-ui.txt file specifies a particular version (1.16.2) of holoviews. However, since that version, panel has updated and has removed param_value_if_widget (deprecated) from it's instruction set, which holoviews.core.utils still requires in v1.16.2. This throws an error when trying to use PyHyperScattering.IntegrationUtils.DrawMask;

ImportError: cannot import name 'param_value_if_widget' from 'panel.depends' (d:\Github\pyhyperscattering\venv\Lib\site-packages\panel\depends.py)

Holoviews is now up to v1.19.1. The default panel that installed when I setup the repository was 1.5.2, i.e. the latest build. The change for the panel.depends file can be found here, with the removal being since v1.4.5.

I guess the solutions are to force an earlier version of panel<=1.4.5 alongside holoviews, or use updated version of both repositories.

@pbeaucage
Copy link
Collaborator

Thanks @mattgebert for this report, and sorry it took so long to look at. I think this pin is no longer relevant so it's being relaxed in #177.

@pbeaucage pbeaucage linked a pull request Jan 27, 2025 that will close this issue
@pbeaucage pbeaucage linked a pull request Jan 27, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants