-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken on system with python 3.13 - no module named 'pipes' #292
Comments
Thanks for reporting this, @mickyabir . I could be wrong but it's possible that ikos/analyzer/python/ikos/analyzer.py Lines 556 to 559 in 026c409
The documentation of If this is a protection to make ikos compatible with older versions of Python, I think it's not needed: since we are already requiring Python >= 3.3 (as per #243, part of IKOS 3.2), I think it's safe to assume that @arthaud Does removing that use of |
Yeah, I think we don't need this anymore. Feel free to submit a PR! |
@mickyabir if you want, it'd be great to have you contribute the change to IKOS :) Would you like to submit a PR to remove the import of FYI, we'll ask that you sign one of the two CLAs: https://github.com/NASA-SW-VnV/ikos/tree/master/doc/contribute and send it to [email protected], CC-ing [email protected]. I hate to do this for such a small change, but I have to, especially because we are in the process of changing licenses (to one that will be more permissive). |
Hello everyone, I’ve just encountered the same issue while using Python 3.13, and I noticed that a related issue has already been opened. I’ve fixed the problem in the "analyzer.py" file and tested it, and everything is now working smoothly. I’ve submitted a pull request, but if you'd prefer the original reporter of the issue to handle it and/or to give them credit, I completely understand. I wish everyone a nice weekend! tarikgta2 |
Bumping, and referring #293 here! |
). The analyzer currently uses pipes in older versions of python, and shlex only when it's available. A prior commit to IKOS required Python 3.3, where shlex was introduced, so it is safe to assume that it's available unconditionally. Additionally, the module pipes was deprecated in python 3.11 and finally removed in python 3.13. This is making ikos not work with modern versions of Python. This commit replaces uses of pipes' quote method with shlex's quote.
I tried installing ikos using homebrew on MacOS Sonoma (M3 MBP) and after installing and trying to run ikos, I got:
error: could not find ikos python module error: see TROUBLESHOOTING.md
Upon further investigation, I found the root problem:
Apparently this module has been removed in python3 3.13 (https://docs.python.org/3/whatsnew/3.13.html)
The text was updated successfully, but these errors were encountered: