Skip to content

Tests fail with rosetta-soil>=0.3: SoilData.from_array no longer exists #154

@nirsun

Description

@nirsun

Hi team,

I faced the following issue with recent WW installation.

Environment

  • macOS (osx-arm64, M2)
  • Python: 3.12.x (conda env)
  • watershed-workflow: 1.5.0.post145+gc45097e (master, March 3, 2026)
  • rosetta-soil: 0.3.2

Reproduction

  1. Create env and install watershed-workflow from master
  2. pytest watershed_workflow/test

Observed
FAILED watershed_workflow/test/test_12_soil_properties.py::test_vgm
FAILED watershed_workflow/test/test_12_soil_properties.py::test_vgm2
AttributeError: type object 'SoilData' has no attribute 'from_array'

Notes
rosetta-soil 0.3.2 provides SoilData.{from_iter,from_dicts,to_array,to_dicts}, but not from_array.
The rosetta-soil docs indicate rosetta() accepts array-like soil data directly.

Has anybody experienced this?

Thanks,

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