Linux maintainer tooling and workflows
 help / color / 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, back to index

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

Linux maintainer tooling and workflows

Archives are clonable:
	git clone --mirror https://lore.kernel.org/tools/0 tools/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 tools tools/ https://lore.kernel.org/tools \
		tools@linux.kernel.org
	public-inbox-index tools

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.linux.tools


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git