﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
18358	Local Mac builds don't work due to Python 3.11.9 update	Tom Goddard	Zach Pearson	"On Arm Mac.

$ make build-from-scratch

/Library/Developer/CommandLineTools/usr/bin/make -C Python install
NO_LOCAL_SSL_CERT=1 /Library/Developer/CommandLineTools/usr/bin/make -f Makefile.macos
# Move the user's Python directory so we can build relocatable Python cleanly
if [ -d ~/Library/Python/3.11/ ]; then \
		mv ~/Library/Python/3.11 ~/Library/Python/3.11.backup; \
	fi
git clone https://www.github.com/gregneagle/relocatable-python.git
fatal: destination path 'relocatable-python' already exists and is not an empty directory.
make[5]: [python-3.11.9-mac.tar.bz2] Error 128 (ignored)
# Create requirements.txt to pip install certifi
cd relocatable-python && \
	echo certifi > requirements.txt
cd relocatable-python && \
	./make_relocatable_python_framework.py \
		   --python-version 3.11.9 \
		   --os-version 11 \
		   --pip-requirements requirements.txt \
		   --upgrade-pip
Destination ./Python.framework already exists!
# For Python ssl to find the certifi certificates need this symbolic link
cd relocatable-python && \
	ln -s ../../lib/python3.11/site-packages/certifi/cacert.pem Python.framework/Versions/3.11/etc/openssl/cert.pem
ln: Python.framework/Versions/3.11/etc/openssl/cert.pem: No such file or directory
make[5]: *** [python-3.11.9-mac.tar.bz2] Error 1
make[4]: *** [python-3.11.9-mac.tar.bz2] Error 2
make[3]: *** [Python.install] Error 2
make[2]: *** [install-prebuilt] Error 2
make[1]: *** [install] Error 2
make: *** [build-from-scratch] Error 2
"	defect	closed	high		Build System		fixed		chimerax-programmers				all	ChimeraX
