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

Add a refresh button (or similar) to the Optional Dependencies dialog in the 'help' menu #1921

Open
spyder-bot opened this issue Feb 17, 2015 · 4 comments

Comments

@spyder-bot
Copy link
Collaborator

From goanp...@gmail.com on 2014-08-01T08:19:21Z

Now that the conda package manager plugin (CPMP) is "running" the optional dependencies dialog should be able to update on opening, or if not possible, at least add the ability to refresh it in case you actually installed the dependencies using the CPMP

What steps will reproduce the problem?

  1. Click the dependencies item in the help menu

What is the expected output? What do you see instead?

I would expect to see an updated version and not just a fixed version calculated on spyder startup.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1921

@spyder-bot
Copy link
Collaborator Author

From contrebasse on 2014-08-02T10:47:16Z

Mmmh, what if a module is updated while spyder is running ? Spyder uses the old version while the new version would show up.
Also I think that spyder does lots of checks at startup, for pylint for example. A user seeing pylint in the dependencies but having the corresponding widget not working would have a hard time to understand what's going on.
Maybe add a label like "Please restart sypder to update the dependency list".

Having dynamic loading of all optional modules would be great, but it would require to update the core of spyder. Maybe for a version 3 ?

@spyder-bot spyder-bot added this to the v2.4 milestone Feb 17, 2015
@spyder-bot
Copy link
Collaborator Author

From goanp...@gmail.com on 2014-08-02T12:05:42Z

Sure, that is a possibility, but that could be somehow checked...

Then again why would a module under normal conditions update by itself when running spyder... I knoq it can happen but the idea is to use the package manager for those things, no?

I really like the idea of having dynamic loading of many things in spyder, I mean if at somepoint we keep adding features and just assume that at startup everything is perfectly setup for an user, we might have a long waiting time, maybe it would be nice to startup with a minimum load and leave the rest for when spyder is already loaded?

@goanpeca
Copy link
Member

@Nodd

With the restart PR now we can offer this restart button/dialog here.

Also for the dynamic loading of modules, you had in mind something like this?

@Nodd
Copy link
Contributor

Nodd commented Apr 12, 2015

reload() can have many side-effects, I don't know if it would be reliable enough for plugins. I think I was more thinking at how IEP manages plugins, you can load an unload them dynamically without restarting the UI. I Have no idea how it works behind the scenes.

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

No branches or pull requests

4 participants