Closed TonySherman closed 9 months ago
For whatever reason, JSII is outputting Python modules that use non-compliant naming schemes. Ideally that should be fixed, but here's a workaround:
import importlib
mbonig_state_machine = importlib.import_module("mbonig.state-machine")
You'll have access to everything in the library by referencing mbonig_state_machine
.
I've pushed an update that should fixing the naming. Can you try again with version 0.0.10?
Thanks for the quick response!
Updated to mbonig.state-machine 0.0.33
from PyPI and things are working again! Just noting that the import name is now mbonig_state_machine
rather than mbonig.state_machine
. Easy to switch that. Just noting it here for visibility.
After upgrading the python
aws-cdk-lib
andmbonig.state-machine
, I am unable to importmbonig.state_machine
I get the following error:
I installed only
mbonig.state-machine
in a clean venv withpip install mbonig.state-machine
. The following packages are installed as a result: