From 21b1b1f02a6293f9b62c26c9b7ec2d2e3246ce89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Tue, 7 Apr 2026 01:27:05 +0100 Subject: [PATCH] PEP 739: specify how to handle conflicting installs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe Laíns --- peps/pep-0739.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/peps/pep-0739.rst b/peps/pep-0739.rst index 2bf5039bcec..cb79720ebc6 100644 --- a/peps/pep-0739.rst +++ b/peps/pep-0739.rst @@ -52,6 +52,14 @@ platform-independent standard library directory (``stdlib``, eg. ``/usr/lib/python3.14/build-details.json``), **UNLESS** unfeasible due to technical limitations. +When multiple Python installations share the same prefix, to resolve conflicts, +distributors should prepend an extension to the file — eg. +``build-details.XXX.json``, ``build-details.YYY.json``, etc. +The extension text is determined by the distributor, but it **SHOULD** indicate +the difference(s) between the installations — eg. +``build-details.x86_64-free-threading.json``, +``build-details.arm64_v8a-free-threading.json``, +``build-details.x86_64.json``, etc. .. attention::