[ 
https://issues.apache.org/jira/browse/AVRO-4309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18099290#comment-18099290
 ] 

ASF subversion and git services commented on AVRO-4309:
-------------------------------------------------------

Commit 07ac413eee65f493db899e0cb3caf67eea99006b in avro's branch 
refs/heads/dependabot/uv/lang/py/setuptools-83.0.0 from Ryan Skraba
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=07ac413eee ]

AVRO-4309: [Python][Build] Add uvx to path explicitly (#3879)

> [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
>            Assignee: Ryan Skraba
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to