toncli icon indicating copy to clipboard operation
toncli copied to clipboard

bitstring library removed BitString class in the 4.x.x version

Open liketurbo opened this issue 3 years ago • 4 comments

Bug Type

Functional

Reproduction steps

  1. Install toncli
  2. Try to run it

Actual result

You will get "import error"

Expected result

Not to get an error ☺️

Suggested Severity

Low

Device

Desktop (please complete the following information):

  • OS: Linux Mint 21 x86_64

Additional Context

I see you specified in the requirements.txt 3.x.x version. Not sure how my OS or Python bin chose to use 4.x.x version or it was there before, not much of Python guy 😅, but I had to by hand replace 4.x.x with 3.x.x in the ~/.local/lib/... dir

I set severity as Low, cause I'm not sure if others have the same problem and it's not because of my Python installation 🤔

liketurbo avatar Dec 06 '22 18:12 liketurbo

Thanks for issue, duplication of #96

tvorogme avatar Dec 07 '22 08:12 tvorogme

Ah, I see, but the issue is still coming up, did you update package from PyPI? Cause I installed it from there, not from .tar.gz

liketurbo avatar Dec 07 '22 10:12 liketurbo

Not yet 😿 Want to add some more features&fixes before. I'll close this issue when new PyPi version will be live

tvorogme avatar Dec 07 '22 14:12 tvorogme

Temporary solution: On clean environment

echo "bitstring==3.*" > constraints.txt
pip install -c constraints.txt toncli

psydvl avatar Dec 07 '22 23:12 psydvl