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

[RFC] Add-ons: towards fixing conda/pip issues #213

Open
3 tasks
markotoplak opened this issue Nov 15, 2021 · 1 comment
Open
3 tasks

[RFC] Add-ons: towards fixing conda/pip issues #213

markotoplak opened this issue Nov 15, 2021 · 1 comment

Comments

@markotoplak
Copy link
Member

There are problems with installing add-ons into Orange installed with conda.

Anaconda, where a lot of users find Orange for the first time, comes with an out-of-date Orange version. Also, the default Anaconda channels do not include conda-forge. Thus, whenever users install add-ons that require a newer version of Orange, or, god forbid, use the add-on dialog to actually update Orange, Orange installs from pip and wreaks havoc on the current environment. Examples: biolab/orange3#5693 and problem when testing biolab/orange3#5064.

Possible improvements:

  • Prevent pip installations into conda environment, except when explicitly allowed (perhaps a setting among the global settings).
  • A dialog suggesting adding the conda-forge environment into available channels and that would add if the user agrees.
  • Display (and install) versions as available on the current channels. After installation of the newest available version, perhaps show an indication that there exist newer versions on currently unavailable channels, and make some instructions on fixing that available.

@PrimozGodec already started preparing for this: he put most official add-ons onto conda-forge.

When the dialog is improved sufficiently, we could finally enable biolab/orange3#5064.

@markotoplak
Copy link
Member Author

I am adding the patch from biolab/orange3#5064 here as a backup.

0001-main-Open-Installer-previously-Add-ons-dialog-fr.patch.txt

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

1 participant