changed "construct" dependency to 2.10.64 and adapt to the changes
This commit is contained in:
parent
2b67e07d79
commit
7f88357562
5 changed files with 6 additions and 8 deletions
|
|
@ -29,9 +29,8 @@ __all__ = [
|
|||
'integer2bytes',
|
||||
'integers2bytes',
|
||||
'integertypes',
|
||||
'iteratebytes',
|
||||
'iterateints',
|
||||
'ListContainer',
|
||||
'ONWINDOWS',
|
||||
'PY',
|
||||
'PY2',
|
||||
'PY3',
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
def integer2bits(number: int, width: int) -> bytes: ...
|
||||
def integer2bytes(number: int, width: int) -> bytes: ...
|
||||
def integer2bits(number: int, width: int, signed: bool = ...) -> bytes: ...
|
||||
def integer2bytes(number: int, width: int, signed: bool = ...) -> bytes: ...
|
||||
def bits2integer(data: bytes, signed: bool = ...) -> int: ...
|
||||
def bytes2integer(data: bytes, signed: bool = ...) -> int: ...
|
||||
def bytes2bits(data: bytes) -> bytes: ...
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import typing as t
|
|||
PY2: bool
|
||||
PY3: bool
|
||||
PYPY: bool
|
||||
ONWINDOWS: bool
|
||||
|
||||
stringtypes: t.Tuple[t.Type[bytes], t.Type[str]]
|
||||
integertypes: t.Tuple[t.Type[int]]
|
||||
|
|
@ -13,8 +14,6 @@ def int2byte(character: int) -> bytes: ...
|
|||
def byte2int(character: bytes) -> int: ...
|
||||
def str2bytes(string: str) -> bytes: ...
|
||||
def bytes2str(string: bytes) -> str: ...
|
||||
def iteratebytes(data: bytes) -> t.Iterator[bytes]: ...
|
||||
def iterateints(data: bytes) -> t.Iterator[int]: ...
|
||||
def reprstring(data: t.Union[bytes, str]) -> str: ...
|
||||
def trimstring(data: t.Union[bytes, str]) -> str: ...
|
||||
def integers2bytes(ints: t.Iterable[int]) -> bytes: ...
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
construct==2.10.61
|
||||
construct==2.10.64
|
||||
pytest>=6.2.0
|
||||
numpy>=1.20.*
|
||||
arrow
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -20,7 +20,7 @@ setup(
|
|||
url="https://github.com/timrid/construct-typing",
|
||||
author="Tim Riddermann",
|
||||
python_requires=">=3.7",
|
||||
install_requires=["construct==2.10.61"],
|
||||
install_requires=["construct==2.10.64"],
|
||||
keywords=[
|
||||
"construct",
|
||||
"kaitai",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue