python-fire icon indicating copy to clipboard operation
python-fire copied to clipboard

Python 3.13 experimental support?

Open luss opened this issue 1 year ago • 5 comments

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?

luss avatar Nov 01 '24 11:11 luss

I got the same error here and I am moving down to 3.12 for now.

georgettica avatar Nov 03 '24 15:11 georgettica

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

vtta avatar Nov 07 '24 06:11 vtta

I guess drafting a PR with this would make this issue flow forward.

Although this seems like a great patch :))

georgettica avatar Nov 16 '24 12:11 georgettica

I'm inspired to submit a simple PR...

luss avatar Nov 24 '24 12:11 luss

Updated to 0.7.0,Look at this #447

Morgan-earl avatar Dec 18 '24 15:12 Morgan-earl