Update Python build script and packaging bits to support Python 3.12; update Python requirements

This commit is contained in:
Greg Neagle
2024-02-23 11:18:58 -08:00
parent 36769cdbbc
commit 9e541a8e1a
4 changed files with 14 additions and 14 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/sh
# we're going to install version 3.10
# we're going to install version 3.12
# prevent installer from removing a version currently in use
# (must update this script when we move to a new Python version)
for OLDVERS in 3.7 3.8 3.9 ; do
for OLDVERS in 3.7 3.8 3.9 3.10 ; do
if [ -d "$3/usr/local/munki/Python.framework/Versions/$OLDVERS" ] ; then
/usr/bin/chflags -fR schg,uchg "$3/usr/local/munki/Python.framework/Versions/$OLDVERS"
fi