Skip to content

Conversation

ElishaKay
Copy link

@ElishaKay ElishaKay commented Sep 10, 2025

There's an error when trying to deploy to cloud run:

Step 9/13 : RUN uv sync --frozen
 ---> Running in 45f309245317
error: Querying Python at `/app/.venv/bin/python3` failed with exit status exit status: 127

[stderr]
/app/.venv/bin/python3: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
The command '/bin/sh -c uv sync --frozen' returned a non-zero code: 2
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 2

The changes in this branch successfully deploy the data science project to Cloud Run.

Copy link

google-cla bot commented Sep 10, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ElishaKay ElishaKay marked this pull request as draft September 10, 2025 18:50
@ElishaKay ElishaKay marked this pull request as ready for review September 10, 2025 20:10
@ElishaKay ElishaKay changed the title fix libexpat docker build error fix docker build error on Cloud Run Sep 10, 2025
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.

1 participant