[3.13] gh-121103: Put free-threaded libraries in lib/python3.14t (GH-121293) (#121631)

On POSIX systems, excluding macOS framework installs, the lib directory
for the free-threaded build now includes a "t" suffix to avoid conflicts
with a co-located default build installation.
(cherry picked from commit e8c91d90ba)

Co-authored-by: Sam Gross <colesbury@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-07-11 23:00:28 +02:00 committed by GitHub
parent c6dbfbbe3c
commit 35f7155bc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 77 additions and 40 deletions

View file

@ -157,7 +157,7 @@ class TestSysConfig(unittest.TestCase):
binpath = 'bin'
incpath = 'include'
libpath = os.path.join('lib',
'python%d.%d' % sys.version_info[:2],
f'python{sysconfig._get_python_version_abi()}',
'site-packages')
# Resolve the paths in an imaginary venv/ directory