Debian Patches

Status for python3.12/3.12.3-1

Patch Description Author Forwarded Bugs Origin Last update
deb-locations.diff Debian: Adjust locations of directories to debian policy not-needed
distutils-install-layout.diff Debian: Add a distutils option --install-layout=deb This option:
- installs into $prefix/dist-packages instead of $prefix/site-packages.
- doesn't encode the python version into the egg name.
.
We install modules into dist-packages so that a local admin can build their
own cpython from source, and they won't see each others' installed modules.
This keeps Debian packaged applications working correctly, isolated from the
local cpython.
.
Customize site.py to import from Debian's dist-packages layout.
not-needed
locale-module.diff Use glibc's name for the UTF-8 locale FIXME: back story? no
sysconfig-debian-schemes.diff =================================================================== no
tkinter-import.diff Suggest installation of python3-tk package We split Tk out into a separate binary package. Help users who try to import
it, without it installed.
not-needed
gdbm-import.diff Debian: Suggest installation of python3-gdbm package We split gdbm out into a separate binary package. Help users who try to import
it, without it installed.
not-needed
link-opt.diff Call the linker with -O1 -Bsymbolic-functions FIXME: Why? Why -O1? no
setup-modules.diff Configure linking for C-library wrapping modules Use the system C libraries, rather than sources bundled with cPython, or
anything from /usr/local.


===================================================================
not-needed
profiled-build.diff Ignore errors in the profile task. FIXME: Back story? no
langpack-gettext.diff Ubuntu: Support separate langpack packages Support alternative gettext tree in /usr/share/locale-langpack; if a file is
present in both trees, prefer the newer one.
Ubuntu collates gettext from packages on the DVD into language packs, to
reduce disk-space on the image.
This is Ubuntu-Specific.
not-needed
disable-sem-check.diff Debian: Don't autodetect whether semephores are present Assume working semaphores, don't rely on running kernel for the check.
Build machine != Target machine.
not-needed
lib-argparse.diff Debian: Degrade argparse gracefully without gettext python3.X-minimal includes argparse but not gettext. Use a fallback noop
gettext, if it can't be imported.
not-needed
ctypes-arm.diff Arch: Workaround the presence of hard-float in ldconfig -p output. Also, handle the wide variety of ARM unames. Loïc Minier invalid
multiarch.diff Debian: Configure multiarch tuple. 1. Expose multiarchsubdir in sysconfig.
2. Return the multiarch include dir in distutils.
3. Install the .pc file into the multiarch path.
no
test-no-random-order.diff Don't run the test suite in random order. Can be dropped in 3.13. no
tempfile-minimal.diff Debian: Degrade tempfile gracefully without shutil python3.X-minimal includes tempfile but not shutil. Use a fallback racy
rmtree, if shutil can't be imported.
not-needed
ensurepip-disabled.diff Disable ensurepip for the system installation We have a python3-pip package, for users who want pip.
We just need ensurepip to seed pip in virtual environments.
not-needed
reproducible-buildinfo.diff Build reproduceable date and time into build info Build information is encoded into getbuildinfo.o at build time.
Use the date and time from the debian changelog, to make this reproduceable.
no
pydoc-use-pager.diff pydoc: use the pager command if available Debian file pagers register the "pager" alternative, so if any pager is
available, /usr/bin/pager will exist, and point to the best pager available.
no
local-doc-references.diff Debian: Reference the local path to the documentation not-needed
argparse-no-shutil.diff Debian: Degrade argparse gracefully without shutil python3.X-minimal includes argparse but not shutil. Use a fixed terminal
width, if shutil can't be imported.
not-needed
sysconfigdata-name.diff Don't encode the MACHDEP into the _sysconfigdata file name. Unfortunately on KFreeBSD MACHDEP includes the kernel version, so you end up
with a changing MACHDEP.
no
sphinx3.diff Allow building with Sphinx >= 3.2 Additionally: Disable sphinx warnings no upstream, https://github.com/python/cpython/commit/423e77d6de497931585d1883805a9e3fa4096b0b
destshared-location.diff Keep the lib-dynload dir in the same place when configuring with --libdir=/usr/bin/$(DEB_HOST_MULTIARCH)
FIXME: Expand?
no
fix-py_compile.diff Fix regression byte-compiling filenames from stdin yes
ntpath-import.diff # ntpath not in python-minimal no
python3.12-updates.diff no
issue108447.diff no
makefile-bootstrap.diff # DP: needs forwarding. bootstrap python fails with a compiler defaulting to -fPIE,
# DP: then setting CFLAGS_NODIST and LDFLAGS_NODIST to -fno-PIE.
no

All known versions for source package 'python3.12'

Links