beam-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Knowles <>
Subject Re: Python postcommit and precommit
Date Wed, 04 Apr 2018 18:10:45 GMT
Was this resolved off list? I think it makes sense to have a
dependency-driven build tool as the entry point to these processes. So in
our case, Gradle. If setting it up in Gradle/Groovy is a pain, having it
shell out seems fine as an implementation detail, but you need to set up
inputs/outputs of the Gradle tasks properly.


On Fri, Mar 30, 2018 at 3:30 PM Udi Meiri <> wrote:

> Hi,
> I noticed that Python precommit runs using this command:
>   mvn clean install -pl sdks/python -am -amd
> while postcommit invocation is simply a bash script:
>   bash sdks/python/
> Both run unit tests via Tox, however since the runtime environment setup
> is configured in different files (pom.xml vs shell script), they don't
> always agree in their results (precommit is currently succeeded while
> postcommit is failing).
> So my naive question is: why does Python precommit run via Maven/Gradle?
> Could we not just use a script like
> (Side note: there's a lot of code/config duplication, such as: pypi
> package versions, *.c, *.so, etc. cleanup)

View raw message