tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* b4-am SyntaxError on Python 3.5
@ 2020-09-02  8:55 Krzysztof Kozlowski
  2020-09-02 13:29 ` [tools] " Kyle Meyer
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-02  8:55 UTC (permalink / raw)
  To: tools; +Cc: mricon

Hi,

I tried now b4 v0.5.2 on my Ubuntu 16.04 with Python 3.5 and:

  $ b4
  Traceback (most recent call last):
    File "/home/krzk/.local/bin/b4", line 7, in <module>
      from b4.command import cmd
    File "/home/krzk/.local/lib/python3.5/site-packages/b4/__init__.py", line 625
      ecode, out = git_run_command(gitdir, ['show', f'{when}:{fn}'])
                                                                 ^
  SyntaxError: invalid syntax

Is Python v3.5 not supported by b4?

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [tools] b4-am SyntaxError on Python 3.5
  2020-09-02  8:55 b4-am SyntaxError on Python 3.5 Krzysztof Kozlowski
@ 2020-09-02 13:29 ` Kyle Meyer
  2020-09-02 13:34   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Kyle Meyer @ 2020-09-02 13:29 UTC (permalink / raw)
  To: krzk; +Cc: mricon, tools

Krzysztof Kozlowski writes:

> Hi,
>
> I tried now b4 v0.5.2 on my Ubuntu 16.04 with Python 3.5 and:
>
>   $ b4
>   Traceback (most recent call last):
>     File "/home/krzk/.local/bin/b4", line 7, in <module>
>       from b4.command import cmd
>     File "/home/krzk/.local/lib/python3.5/site-packages/b4/__init__.py", line 625
>       ecode, out = git_run_command(gitdir, ['show', f'{when}:{fn}'])
>                                                                  ^
>   SyntaxError: invalid syntax
>
> Is Python v3.5 not supported by b4?

setup.py specifies that Python 3.6 or above is required.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [tools] b4-am SyntaxError on Python 3.5
  2020-09-02 13:29 ` [tools] " Kyle Meyer
@ 2020-09-02 13:34   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-02 13:34 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: mricon, tools

On Wed, 2 Sep 2020 at 15:33, Kyle Meyer <kyle@kyleam.com> wrote:
>
> Krzysztof Kozlowski writes:
>
> > Hi,
> >
> > I tried now b4 v0.5.2 on my Ubuntu 16.04 with Python 3.5 and:
> >
> >   $ b4
> >   Traceback (most recent call last):
> >     File "/home/krzk/.local/bin/b4", line 7, in <module>
> >       from b4.command import cmd
> >     File "/home/krzk/.local/lib/python3.5/site-packages/b4/__init__.py", line 625
> >       ecode, out = git_run_command(gitdir, ['show', f'{when}:{fn}'])
> >                                                                  ^
> >   SyntaxError: invalid syntax
> >
> > Is Python v3.5 not supported by b4?
>
> setup.py specifies that Python 3.6 or above is required.

Somehow I missed this information. Thanks for the explanation.

Best Regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-02 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02  8:55 b4-am SyntaxError on Python 3.5 Krzysztof Kozlowski
2020-09-02 13:29 ` [tools] " Kyle Meyer
2020-09-02 13:34   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).