Skip to content

Workaround py_test in bazel sandbox read only restriction #2991

Closed as not planned
@gfrankliu

Description

@gfrankliu

The issue was also reported in bazel project over a year ago bazelbuild/bazel#21601 but I am wondering if there a way from rules_python side to workaround this limitation.

We are using huggingface-hub python package and py_test gives:

OSError: [Errno 30] Read-only file system: '/home/gfrankliu/.cache/huggingface'

huggingface-hub wants a writable cache directory and read-only would fail: huggingface/huggingface_hub#2797

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