macadmins / nudge-python

A tool to help users with pre-existing devices upgrade their OS version.
Apache License 2.0
212 stars 45 forks source link

build_python_framework uses python 3.8 which does not work with Big Sur #51

Closed GuillaumeRoss closed 3 years ago

GuillaumeRoss commented 3 years ago

When following instructions from https://github.com/macadmins/nudge/blob/master/README.md - if you run build_python_framework - it does so using 3.8.

By packaging up the results of that and installing it on Big Sur, you get the following error in nudge logs:

[Nudge] Detected Big Sur running version 10.16. Nudge cannot be reliably enforced. To fix this, create a Python.framework file on a machine running Big Sur or higher.

Then if I install https://github.com/macadmins/python and do managed_python3 /Library/nudge/Resources/nudge this error does not occur.

So either the python build script should get a newer version, or documented should be updated to deprecate it and point to macadmins/python IMO.

Thanks!

erikng commented 3 years ago

I will be addressing this in a README change momentarily