Last year I got a PortJump packet from Codeweavers for an open source Windows software, not knowing that it uses Python 2.7 supplied by macOS < 12.3 only (Python 2.7 was marked deprecated by 2020 and Apple even announced that it wouldn't be included in the future anymore back in 2019.)
Termination Reason: Namespace DYLD, Code 1 Library missing. Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Pyt
Referenced from: /Applications/EasyCash&Tax.app/Contents/MacOS/EasyCash&Tax
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
(terminated at launch; ignore backtrace)
This means that every user updating to 12.3 won't be able to start the software any longer. What is the best approach to make the software run again on macOS (other than to pay Codeweavers some thousands of $$ again, just to move from the underlying Crossover 20 to 21 -- given that Codeweavers have replaced the Python 2.7 reference already in 21)?
To be more precise, any of these questions answered would help me:
- Is there a chance to quickly replace the missing Python interpreter on OS level so the built-in Crossover would work again?
- What steps need to be taken to include a Python 2.7 in the app packet, e.g. where is it referenced?
- Is there an easy way to move to Python 3?
- As I understand, Python is just used for the Crossover GUI, which isn't needed by my software. Maybe the Python reference can be removed alltogether?
(I'm not a Mac-native, so bear with me, if I'm missing the point.)
Got a patch from Codeweavers but the the difference is hard to spot as they just updated the Crossover version from 20.0 to 20.4, including a completely new wine version.
But I stumbled upon a note in the credits file about "the site module from python.org, modified to ignore /Library/Python". There seems to be an issue with python paths in MacOS as mentioned here btw.
Even if this answer may be not fully satisfying, maybe it helps someone. If you discover further details, please leave a comment.