Re: pulllicenses fails while building

2021-01-12 Thread Kyle Weaver
FYI Emily fixed the bug with unintended license pulling. So bugs like the one Reuven originally reported should be bypassed by default. On Fri, Jan 8, 2021 at 5:01 PM Kyle Weaver wrote: > > $0.02 can we make it a separate target rather than an existing target > with flags? > > Something like

Re: pulllicenses fails while building

2021-01-08 Thread Kyle Weaver
> $0.02 can we make it a separate target rather than an existing target with flags? Something like :sdks:java:container:java8:dockerWithLicenses? I think that would make sense, but it's orthogonal to this bug. Can you file a feature request Kenn? On Fri, Jan 8, 2021 at 4:50 PM Kenneth Knowles

Re: pulllicenses fails while building

2021-01-08 Thread Kenneth Knowles
$0.02 can we make it a separate target rather than an existing target with flags? On Fri, Jan 8, 2021 at 11:06 AM Kyle Weaver wrote: > ./gradlew :sdks:java:container:build runs the pullLicenses task. > https://issues.apache.org/jira/browse/BEAM-11586 > > On Fri, Jan 8, 2021 at 10:59 AM Kyle

Re: pulllicenses fails while building

2021-01-08 Thread Kyle Weaver
./gradlew :sdks:java:container:build runs the pullLicenses task. https://issues.apache.org/jira/browse/BEAM-11586 On Fri, Jan 8, 2021 at 10:59 AM Kyle Weaver wrote: > Which Gradle command are you running Reuven? And which Gradle task is > failing? > > > Also, I am not sure why licenses are

Re: pulllicenses fails while building

2021-01-08 Thread Kyle Weaver
Which Gradle command are you running Reuven? And which Gradle task is failing? > Also, I am not sure why licenses are pulled for regular development case. I thought it was not meant to run by default. +1 this seems like a bug. IIRC you are supposed to pass "-Pdocker-pull-licenses" to Gradle to

Re: pulllicenses fails while building

2021-01-07 Thread Reuven Lax
Unfortunately, setting that env variable didn't change anything. On Thu, Jan 7, 2021 at 7:09 PM Ahmet Altay wrote: > Googled this a bit. Setting this env variable might fix the problem by > bypassing the check: > export PYTHONHTTPSVERIFY=0 > > Could you try that? If it works we can make that

Re: pulllicenses fails while building

2021-01-07 Thread Ahmet Altay
Googled this a bit. Setting this env variable might fix the problem by bypassing the check: export PYTHONHTTPSVERIFY=0 Could you try that? If it works we can make that part of the script. Also, I am not sure why licenses are pulled for regular development case. I thought it was not meant to run

pulllicenses fails while building

2021-01-07 Thread Reuven Lax
I recently upgraded to Python 3 on my build machine. Now all attempts to build Beam fail with the following. Anyone know how to ix this? urllib.error.URLError: ERROR:root:Invalid url for paranamer-2.7: https://raw.githubusercontent.com/paul-hammant/paranamer/master/LICENSE.txt.