-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Do not import spyder before install_repo in bootstrap.py #19838
Conversation
…not already installed. Also, do not assume repository name is "spyder".
/show binder |
@ccordoba12 @dalthviz, Spyder now launches in Binder, but there are still a few problems. The following missing dependencies are not installed in the environment and I'm not sure why. |
Okay, it seems that Binder behaves differently when built from the 5.x branch vs. the master branch. I'm not sure exactly why that is. The binder link above, in this PR, on 5.x, results in the repository copied to a "spyder" directory in the home directory and missing dependencies in the environment. The shortcut on the desktop is labeled with 5.x. I cherry-picked this PR's changes onto the master branch in my fork and built the binder from there and found that the repository is copied to the home directory and all dependencies are installed and Spyder launches and runs fine. The shortcut on the desktop is labeled with 4.x. So I suppose everything is okay if run from the master branch. But it seems that some idiosyncrasies should be cleaned up at some point. |
@mrclary, we've talked about this before but probably you forgot it. So, we create Binder links for PRs through an associated repo to avoid rebuilding the Binder instance on every PR commit, which is very inefficient: https://github.com/spyder-ide/binder-environments However, I haven't had time to update it in a long time, hence the missing dependencies. I propose to do the following to improve the situation regarding Binder:
This way we'd make sure that @mrclary, I think this would be a cool project for you to take on. Besides, it'd be great if you could work on it because I'm really busy with other things. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mrclary! I'm going to merge this because it also fixes an error where the Internal console is hidden at startup on DEV mode, which I use lot when debugging things in Spyder.
Issue(s) Resolved
Fixes #19832
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: @mrclary