amazon-ion / ion-hash-python

A Python implementation of Amazon Ion Hash.
https://amazon-ion.github.io/ion-hash/
Apache License 2.0
10 stars 7 forks source link

Broken with latest amazon.ion #36

Closed schlarpc closed 11 months ago

schlarpc commented 11 months ago

https://github.com/amazon-ion/ion-python/commit/7a201c050c1b2a8ea3598d55731692a95321a37c removed amazon.ion.simple_types._IonNature which is imported by ionhash in __init__.py, rendering this module unusable.

cheqianh commented 11 months ago

We dropped the Ion Nature for the performance improvement,

As a short term solution, Did you get a chance to run pip install -r requirements.txt to install a recommended version of ion-python? You could find more details in the develop section

I opened an issue to track the long-term solution - https://github.com/amazon-ion/ion-hash-python/issues/37

schlarpc commented 11 months ago

Yeah, old versions work fine as a short term solution.