disintar/toncli

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

Opened this issue · 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 🤔

Thanks for issue, duplication of #96

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

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

Temporary solution:
On clean environment

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