Skip to content

[BUG] ImportError: cannot import name 'MontySnapshot' from 'pydantic_monty' #7012

@Clara-liu

Description

@Clara-liu

Flyte & Flytekit version

Sandbox with monty now crashes due to import error since monty v.0.0.8 at this line: https://github.com/flyteorg/flyte-sdk/blob/main/src/flyte/sandbox/_bridge.py#L99

Describe the bug

When using monty sandbox using sandbox.orchestrator, this import error occurs with the new release of monty.

Expected behavior

No import error.

Additional context to reproduce

No response

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguntriagedThis issues has not yet been looked at by the Maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions