Skip to content

importing rpy2.robjects leaks LD_LIBRARY_PATH to kernels #337

@mlucool

Description

@mlucool

https://github.com/ryantam626/jupyterlab_code_formatter/blob/master/jupyterlab_code_formatter/formatters.py#L13 has a side effect of modifying the environment to include R_LD_LIBRARY_PATH and R_JAVA_LD_LIBRARY_PATH . Since this is in the parent process, it means all kernels also have this set unintentionally. While explicit clearing of this is possible on a per kernel basis, it's not always easy to do. Can we somehow isolate this change?

P. S. @ryantam626 I see ed91624, maybe we can move this to jupyterlab-contrib?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions