Ryan Skraba created AVRO-4309:
---------------------------------
Summary: [python] Local build sometimes fails to find uvx
Key: AVRO-4309
URL: https://issues.apache.org/jira/browse/AVRO-4309
Project: Apache Avro
Issue Type: Bug
Components: build, python
Affects Versions: 1.13.0
Reporter: Ryan Skraba
When ./build.sh is run with a DOCKER_RUN_ENTRYPOINT that isn't bash, it fails
to find `uvx`:
Unfortunately, this makes it difficult to build with one-liners, but it doesn't
block the build:
{code}
$ DOCKER_IMAGE_NAME="avro-build-ryanskraba:remote-main-v1.13.0-SNAPSHOT" \
DOCKER_RUN_ENTRYPOINT="./build.sh clean test dist" \
./build.sh docker
<---JAVA BUILD ENSUES-->
[INFO] Apache Avro gRPC ................................... SUCCESS [ 0.055 s]
[INFO] Avro Integration Tests ............................. SUCCESS [ 0.007 s]
[INFO] Apache Avro Codegen Test dependencies .............. SUCCESS [ 0.011 s]
[INFO] Apache Avro Codegen Test ........................... SUCCESS [ 0.016 s]
[INFO] Apache Avro Performance Test Suite ................. SUCCESS [ 0.068 s]
[INFO] Apache Avro interop-data-test ...................... SUCCESS [ 0.024 s]
[INFO] Avro Java 17 Tests ................................. SUCCESS [ 0.010 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.120 s
[INFO] Finished at: 2026-07-19T11:33:42Z
[INFO] ------------------------------------------------------------------------
+ cd lang/py
+ ./build.sh lint test
./build.sh: line 61: uvx: command not found
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)