Skip to content

Pandas in Snakemake environment can leak into Conda environments #102

@mfansler

Description

@mfansler

In a recent run on scUTRquant-demo, we observed Snakemake leaking its own site-packages into the Conda environment that runs the scripts for H5AD object generation. The Snakemake environment had pandas v3.0.0, whereas the script is only tested on v2.2, and this switch led to the error:

TypeError: StringDtype.__init__() takes from 1 to 2 positional arguments but 3 were given

To avoid this for now, we recommend that only pandas v2 be installed in the Snakemake environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    user supportSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions