python-fire
python-fire copied to clipboard
Python 3.13 experimental support?
Prelim testing of my app on python3.13 threw this error from core.py for u folks to consider:
ModuleNotFoundError: No module named 'pipes'
I haven't researched it further. Has anyone tinkered with FIRE in 3.13 yet?
I got the same error here and I am moving down to 3.12 for now.
Replacing pipes with shlex should fix this, see https://github.com/ansible/ansible-runner/pull/1102/commits/72dd9ce3f5da01eb807a58a36adcbd323f85530c.
A dirty fix would be:
sed -i 's/pipes/shlex/g' <your-lib-folder>/python3.13/site-packages/fire/*.py
I guess drafting a PR with this would make this issue flow forward.
Although this seems like a great patch :))
I'm inspired to submit a simple PR...
Updated to 0.7.0,Look at this #447