jolly-midnight-72759
08/24/2020, 8:30 PMjupyter
goal that launches a Jupyter Notebook that has access to our pants codebase. The version 1.18 of the plugin has code like the following:
class JupyterRepl(ReplTaskMixin, PythonExecutionTaskBase):
""" Run a pants aware jupyter notebook """
Am I correct that this plugin is not able to register in versions of pants <2.0.0?hundreds-father-404
08/24/2020, 8:36 PMjolly-midnight-72759
08/24/2020, 8:37 PMException message: Failed to load the jupyter.register backend: ModuleNotFoundError("No module named 'pants.backend.python.python_requirement'",)
go away.hundreds-father-404
08/24/2020, 8:40 PMjolly-midnight-72759
08/24/2020, 8:43 PMReplTaskMixin
and PythonExecutionTaskBase
. I think this plugin is not registering correctly.hundreds-father-404
08/24/2020, 8:44 PMjolly-midnight-72759
08/24/2020, 8:46 PMpants.backend.python.tasks.python_execution_task_base
pants.backend.python.targets.python_requirement_library
pants.backend.python.targets.python_requirement_library
hundreds-father-404
08/24/2020, 8:59 PMjolly-midnight-72759
08/24/2020, 8:59 PMhundreds-father-404
08/24/2020, 9:00 PMjolly-midnight-72759
08/24/2020, 9:00 PMhundreds-father-404
08/24/2020, 9:02 PMjolly-midnight-72759
08/24/2020, 9:02 PMhappy-kitchen-89482
08/24/2020, 9:16 PM