pin all criticall pacakages in plugin installer#139
Conversation
|
@psobolewskiPhD please see this as an alternative to #138. |
| CRITICAL_PACKAGES_PIN_CONDA = [ | ||
| f"{pkg}={parse_version(package_version(pkg)).base_version}" | ||
| for pkg in CRITICAL_PACKAGES | ||
| ] # + QT_BACKENDS_PIN |
There was a problem hiding this comment.
I do not know how to prevent installing additional backend on conda.
|
@Czaki yeah i dont see anything easy. i think there would need to be a Qtbackend virtual package. Edit: |
|
I think such an approach will be simpler to debug in bundled napari than "I have installed plugin and napari do not start" |
|
Bundled napari is a different beast IMO. |
|
I almost wonder if we should split this in two:
|
|
It may be a good idea. |
This is my proposition for pining of dependency.
Instead of adding lower/upper bound for packages, Pin all packages that are critical to napari (list is currently incomplete)
We may not know about problematic versions, and maybe we should not allow for that without using external tools for environment management