disintar / toncli

TON Command Line Interface - easy smart contract manipulation
https://disintar.io/
Apache License 2.0
168 stars 34 forks source link

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

Open liketurbo opened 1 year ago

liketurbo commented 1 year ago

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):

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 πŸ€”

tvorogme commented 1 year ago

Thanks for issue, duplication of #96

liketurbo commented 1 year ago

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

tvorogme commented 1 year ago

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

psydvl commented 1 year ago

Temporary solution: On clean environment

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