Skip to content

Remove suggestion to upgrade lsdb within notebooks #1333

@olivialynn

Description

@olivialynn

Problem
Raised by this thread on the LSST forum: https://community.lsst.org/t/lsdb-version-for-use-in-notebooks/11847/3

Following along with the Rubin DP1 notebook caused one user the following problem:

%pip install -U lsdb fails to install a functioning version of lsdb and also appears to break the rest of the environment such that packages like astropy no longer work.

I tried to recreate the issue (on the Recommended RSP build, on vanilla RSP at data.lsst.cloud) and couldn't; however, I got a different error:

  • ran %pip install -U lsdb
    • did see a few deps also upgrading (including numpy)
  • restarted the kernel
  • ran import lsdb
  • got: AttributeError: module 'numpy' has no attribute 'in1d'

RSP Builds
Neven has noted that Rubin builds on RSP really should be picking up newer versions of lsdb, but the Recommended build is fairly old.

I recreated a fresh environment pointing to the latest weekly release, and get lsdb version 0.9.0, and am able to import it just fine.

Proposed Solution
So, all that is to say, we should:

  • remove the cell recommending the manual lsdb upgrade, and
  • instead recommend users use more recent RSP builds.
  • Additionally, look at the other RSP notebooks to see if they also have such manual upgrade shells.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions