python
autoreconfbreaks build- Depends on 
libgcov.afromgcc - Use bundled 
mpdecimal? - Add 
gdbmas a build-time dependency: https://docs.python.org/3/using/configure.html - Test suite for Berkeley DB requires 
tcl --with-pymallocprovides better performance- Remove the 
pipsymlinks in install if it is not being installed - Check 
--disable-test-modules - Alpine and Arch provide “Externally Managed” python
 --enable-optimizationsruns a suite of tests, and then uses collected profiling data to improve the performance of the installation itself, and some tests might hang in cross which is why a native rebuild is better with optimizations, once the system is complete; these sometimes fail on musl- Unable to use upstream binaries
 - Alpine uses stack size patches to avoid segfaults with 
sys.getrecursionlimit() - Adelie patches 
posixmodule.hto defineint login_tty(int);as musl supports it --with-system-ffihas been deprecated- No need to provide an 
EXTERNALLY-MANAGEDfile as we want users to usepipto manage python packages - Should we create symlinks for 
idle,pipandpydocto their3versions? - Should we allow 
pipand other programming languages package managers to run as root alongsiderad?;cp externally-managed /usr/lib/python3.13/EXTERNALLY-MANAGED - Do we need to explicitly pass 
--with-openssl=/usr? - Do we need to specify these?
 
ac_cv_header_bluetooth_bluetooth_h=noac_cv_header_bluetooth_h=no- Consider adding 
-DLIBEDIT_SUPPORTtoEXTRA_CFLAGS - For 
libeditsupport, sabotage also does: 
# Apple is not the only platform where libedit is usedsed -i 's/__APPLE__/LIBEDIT_SUPPORT/g' Modules/readline.c# workaround readline bug by removing unnecessary strdup/setlocale callssed -i 's/HAVE_SETLOCALE/HAVE_SETLOCALE) \&\& !defined(LIBEDIT_SUPPORT/g' Modules/readline.csed -i 's@return readline@return feedline@' configureReferences
Section titled “References”- https://github.com/clearlinux-pkgs/python3/blob/main/README.clear
 - https://packaging.python.org/en/latest/specifications/externally-managed-environments/
 - https://peps.python.org/pep-0668/
 - https://rfc.archlinux.page/0010-adopt-pep517-tooling/
 - https://rfc.archlinux.page/0020-sources-for-python-packaging/