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
Use python3 to run MakeMacBundleRelocatable.py #6784
Conversation
awesome i'll take a look at this in a few. |
okay finally got around to testing this PR locally on my vm mojave build box, and im seeing the below error running
|
Whatever with python3.10.2 method keys work fine. I think you used python3.9.7. I replace keys with list. See the new commit. Please test it again. // edit: The views returned by dict.keys(), dict.values() and dict.items() ... |
rebuilding now with your updates, will let you know in a few. |
Have you had a chance to check it? |
working on it now. hopefully ill have something of meaning to share before COB CST 🤞 working with broken wrist so im down to one hand for typing 🤕 |
Best wishes for a speedy recovery. No sweat! |
i'm pretty sure we should be good to go on this 👍 there was issue where this only worked with python ≥ 3.10 but has since been amended to work with python ≥ 3.9. 👍 ive been testing this PR on my movaje build box and with this PR python3 provided by homebrew is able to produce a and i just got access to an m1 box again the other so will test again on m1 shortly. (hopefully later today). something non related however, is when the python script is but once again, i consider this working, and should be merged ✅ |
Thanks for the feedback. If the App do not start, please start it with lldb:
The prime suspect is shiboken. In the MacAppBundle CMake copy some libs like numpy to the bundle. But Homebrew do not allow keg_only formula to write the .pth in the lib path. So, the script do not find the dependencies. |
thanks for sharing that. 🙏 next time i run into an app bundle that won't launch ill give this a go. |
In the forum looooo wrote, that conda do not use this script. So for my part it is possible to merge this PR. |
@donovaly ping |
* To use this script with python 3, fix the incompatible types text and bytes.
* To use this script with python 3, fix the incompatible types text and bytes.
* To use this script with python 3, fix the incompatible types text and bytes.
Python 2.7 was removed from macOS in update Monterey 12.3.
Feature request in the forum upgrade MakeMacBundleRelocatable.py to work with python 3.
Closes #6773