theoremlp / rules_uv

Bazel rules for running uv
Apache License 2.0
32 stars 16 forks source link

pip_compile fails on buildbarn RBE #91

Closed jsharpe closed 2 months ago

jsharpe commented 3 months ago

Buildbarn RBE makes the inputs read-only - it looks like rules_uv is trying to write to the input files when running the diff_test.

exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //python:deps_diff_test
-----------------------------------------------------------------------------
error: failed to create file `__updated__`
  Caused by: Permission denied (os error 13)

Adding tags=["no-remote"] allows this test to complete so its an issue with the permissions on the input files.

mark-thm commented 2 months ago

The test creates a new file called __updated__ -- I'm not familiar with buildbarn RBE and don't really have a way to debug this, but the test needs to be able to make a new file.