-
Notifications
You must be signed in to change notification settings - Fork 294
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
Universal dependency installer (and universal debugger code evaluator) #10638
Comments
personally think a universal installer is over kill, best to walk through the user workflow and figure this out. |
Closing this issue as I don't think we need this |
This issue tracks the progress towards a more universal installer. To close this issue, we should end satisfying the following considerations:
DebuggerEvaluator
, with anevaluate
function that would allow the execution of code on the debugger.DebugLocationTrackerFactory
.IInstaller
that supports installing dependencies given anIKernel
and aDebuggerSession
.To achieve the above, I will focus on making the following PRs in order.
IDataViewerDependencyService
to receive anIKernel
besides thePythonEnvironment
that it receives today.dataViewerDependencyService
that would only work ifIKernel
is provided and throw otherwise an error sayingInstallation of "pandas" not supported while debugging. Please ensure you have "pandas" installed.
dataViewerDependencyService
that would extract the interpreter from theIKernel
if theIKernel
is provided.dataViewerDependencyService
is registered on the web service registry, and removing the conditional that disables the Data Frame on the web.DebugLocationTrackerFactory
retrieves the frame ID.DebugLocationTrackerFactory
in the same PR.PythonEnvironment
(the interpreter) from the parameters of thedataViewerDependencyService
methods and use theDebugEvaluator
instead.pandas
on the Debugger version of thedataViewerDependencyService
by using the code underneath%pip
and%conda
in iPython.dataViewerDependencyService
.pandas
needs to be installed (either because it's not yet installed or because the version is inadequate), show a prompt message saying thatYou may need to restart the debugger
after the installation is complete.dataViewerDependencyService
into theIInstaller
to provide a universal installer experience that could be used to install any package with either a Kernel or the active debugger.Feedback always appreciated!
The text was updated successfully, but these errors were encountered: