Skip to content

SBI Dependency Arviz Introduced Breaking Changes #1816

@florianehmann

Description

@florianehmann

🐛 Bug Description

When you currently install the sbi package through one of the recommended ways, it will also install the dependency arviz. They recently had their 1.0.0. release and that seems to have introduced breaking changes. Notably, the arviz.data module can no longer be found.

🔄 Steps to Reproduce

  1. Follow instructions to install sbi with uv and Python3.12
  2. Minimal code example that triggers the bug: from sbi.inference import NPE
  3. Error message:
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ModuleNotFoundError: No module named 'arviz.data'
    

✅ Expected Behavior

Would have expected import to work without error.

📌 Additional Context

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions