You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Wenchen Fan <cl...@gmail.com> on 2018/10/31 12:43:29 UTC

python lint is broken on master branch

The Jenkins job spark-master-lint keeps failing. The error message is
flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin
"pycodestyle.break_after_binary_operator" due to 'module' object has no
attribute 'break_after_binary_operator'.
flake8 checks failed.

As an example please see
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9080/console

Any ideas?

Re: python lint is broken on master branch

Posted by Wenchen Fan <cl...@gmail.com>.
Cool! Thanks Shane!

On Wed, Oct 31, 2018 at 11:24 PM shane knapp <sk...@berkeley.edu> wrote:

> flake8 was at 3.6.0 on amp-jenkins-staging-worker-01, so i downgraded to
> 3.5.0 and we're green:
>
> https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9082/console
>
> checked the rest of the ubuntu workers and they were fine.
>
> On Wed, Oct 31, 2018 at 7:59 AM shane knapp <sk...@berkeley.edu> wrote:
>
>> yeah, that's what it is.  thought i'd fixed that.  looking now.
>>
>> On Wed, Oct 31, 2018 at 6:09 AM Sean Owen <sr...@gmail.com> wrote:
>>
>>> Maybe a pycodestyle or flake8 version issue?
>>> On Wed, Oct 31, 2018 at 7:43 AM Wenchen Fan <cl...@gmail.com> wrote:
>>> >
>>> > The Jenkins job spark-master-lint keeps failing. The error message is
>>> > flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin
>>> "pycodestyle.break_after_binary_operator" due to 'module' object has no
>>> attribute 'break_after_binary_operator'.
>>> > flake8 checks failed.
>>> >
>>> > As an example please see
>>> https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9080/console
>>> >
>>> > Any ideas?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>>>
>>>
>>
>> --
>> Shane Knapp
>> UC Berkeley EECS Research / RISELab Staff Technical Lead
>> https://rise.cs.berkeley.edu
>>
>
>
> --
> Shane Knapp
> UC Berkeley EECS Research / RISELab Staff Technical Lead
> https://rise.cs.berkeley.edu
>

Re: python lint is broken on master branch

Posted by shane knapp <sk...@berkeley.edu>.
flake8 was at 3.6.0 on amp-jenkins-staging-worker-01, so i downgraded to
3.5.0 and we're green:
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9082/console

checked the rest of the ubuntu workers and they were fine.

On Wed, Oct 31, 2018 at 7:59 AM shane knapp <sk...@berkeley.edu> wrote:

> yeah, that's what it is.  thought i'd fixed that.  looking now.
>
> On Wed, Oct 31, 2018 at 6:09 AM Sean Owen <sr...@gmail.com> wrote:
>
>> Maybe a pycodestyle or flake8 version issue?
>> On Wed, Oct 31, 2018 at 7:43 AM Wenchen Fan <cl...@gmail.com> wrote:
>> >
>> > The Jenkins job spark-master-lint keeps failing. The error message is
>> > flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin
>> "pycodestyle.break_after_binary_operator" due to 'module' object has no
>> attribute 'break_after_binary_operator'.
>> > flake8 checks failed.
>> >
>> > As an example please see
>> https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9080/console
>> >
>> > Any ideas?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>>
>>
>
> --
> Shane Knapp
> UC Berkeley EECS Research / RISELab Staff Technical Lead
> https://rise.cs.berkeley.edu
>


-- 
Shane Knapp
UC Berkeley EECS Research / RISELab Staff Technical Lead
https://rise.cs.berkeley.edu

Re: python lint is broken on master branch

Posted by shane knapp <sk...@berkeley.edu>.
yeah, that's what it is.  thought i'd fixed that.  looking now.

On Wed, Oct 31, 2018 at 6:09 AM Sean Owen <sr...@gmail.com> wrote:

> Maybe a pycodestyle or flake8 version issue?
> On Wed, Oct 31, 2018 at 7:43 AM Wenchen Fan <cl...@gmail.com> wrote:
> >
> > The Jenkins job spark-master-lint keeps failing. The error message is
> > flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin
> "pycodestyle.break_after_binary_operator" due to 'module' object has no
> attribute 'break_after_binary_operator'.
> > flake8 checks failed.
> >
> > As an example please see
> https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9080/console
> >
> > Any ideas?
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>
>

-- 
Shane Knapp
UC Berkeley EECS Research / RISELab Staff Technical Lead
https://rise.cs.berkeley.edu

Re: python lint is broken on master branch

Posted by Sean Owen <sr...@gmail.com>.
Maybe a pycodestyle or flake8 version issue?
On Wed, Oct 31, 2018 at 7:43 AM Wenchen Fan <cl...@gmail.com> wrote:
>
> The Jenkins job spark-master-lint keeps failing. The error message is
> flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin "pycodestyle.break_after_binary_operator" due to 'module' object has no attribute 'break_after_binary_operator'.
> flake8 checks failed.
>
> As an example please see https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-lint/9080/console
>
> Any ideas?

---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscribe@spark.apache.org