Re: [RESEND v7 00/37] Device Tree support for SH7751 based board

Konstantin Ryabitsev <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <20240408-colossal-rugged-ferret-fba6f6@lemur>
On Fri, Apr 05, 2024 at 01:57:32PM -0500, Rob Landley wrote:
> Let's see, google says it's a random python3 tool, probably wants a newer
> python3 version than I've got because everything that uses python3 does, it says
> "you can run it directly from the git repository"...
> 
> $ ./b4.sh
> Traceback (most recent call last):
>   File "/home/landley/b4/src/b4/command.py", line 10, in <module>
>     import b4
>   File "/home/landley/b4/src/b4/__init__.py", line 37, in <module>
>     from typing import Optional, Tuple, Set, List, BinaryIO, Union, Sequence,
> Literal, Iterator, Dict
> ImportError: cannot import name 'Literal' from 'typing'
> (/usr/lib/python3.7/typing.py)

Python 3.7 is EOL as of last June, which is why you're seeing this error
trying to run the latest master branch.

To be able to use a EOL version of Python, you will need to run a contemporary
release of b4, which is 0.11. To do so, you may check out the stable-0.11.y
branch and repeat this operation.

-K
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.