Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(python): fix docs build #1996

Merged
merged 1 commit into from
Jul 31, 2024
Merged

chore(python): fix docs build #1996

merged 1 commit into from
Jul 31, 2024

Conversation

parthea
Copy link
Contributor

@parthea parthea commented Jul 31, 2024

This PR fixes b/356444150, specifically the error below which started as of #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:

  1. I ran docker build -f docker/owlbot/python/Dockerfile -t docs . in branch fix-docs-build-python in the synthtool repository
  2. I ran docker run --user $(id -u):$(id -g) --rm -v $(pwd):/repo -w /repo docs in branch v3.11.0 in the python-logging repository
  3. I triggered docs build manually with the changes from 2

parthea added a commit to googleapis/google-cloud-python that referenced this pull request Jul 31, 2024
This PR fixes the docs build which started failing as of
#12634 and
#12881.

I tested these changes by re-triggering a docs build which previously
failed, with the changes from this PR.

See related PR googleapis/synthtool#1996 and
related issue b/356444150
@parthea parthea merged commit bef813d into master Jul 31, 2024
11 checks passed
@parthea parthea deleted the fix-docs-build-python branch July 31, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants