Closed parthea closed 1 month ago
This PR fixes b/356444150, specifically the error below which started as of https://github.com/googleapis/synthtool/pull/1989:
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/venv/lib/python3.10/site-packages/pyperclip'
I tested this by running through these steps:
docker build -f docker/owlbot/python/Dockerfile -t docs .
fix-docs-build-python
docker run --user $(id -u):$(id -g) --rm -v $(pwd):/repo -w /repo docs
This PR fixes b/356444150, specifically the error below which started as of https://github.com/googleapis/synthtool/pull/1989:
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/venv/lib/python3.10/site-packages/pyperclip'
I tested this by running through these steps:
docker build -f docker/owlbot/python/Dockerfile -t docs .
in branchfix-docs-build-python
in the synthtool repositorydocker run --user $(id -u):$(id -g) --rm -v $(pwd):/repo -w /repo docs
in branch v3.11.0 in the python-logging repository