You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for this awesome package, it's a huge help to me. But I wanted to let you know that the latest 4.0.0 release of bitstring seems to have broken 3.7 support. Looks like SupportsIndex doesn't exist in the typing module for python 3.7, and thus errors out on import. I tried bitstring 3.1.9 and had no issues. Example below:
>>> import bitstring
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/mnt/d/Alex/Documents/repos/bitstring/bitstring.py", line 75, in <module>
from typing import Generator, SupportsIndex, Tuple, Union, List, Iterable, Any, Optional, Iterator, Pattern, Dict,\
ImportError: cannot import name 'SupportsIndex' from 'typing' (/home/alex/.pyenv/versions/3.7.15/lib/python3.7/typing.py)
>>>
First off, thanks for this awesome package, it's a huge help to me. But I wanted to let you know that the latest 4.0.0 release of bitstring seems to have broken 3.7 support. Looks like
SupportsIndex
doesn't exist in the typing module for python 3.7, and thus errors out on import. I tried bitstring 3.1.9 and had no issues. Example below:Looks like
SupportsIndex
was added in python 3.8: https://docs.python.org/3.8/library/typing.html#typing.SupportsIndexThe text was updated successfully, but these errors were encountered: