mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
gh-121103: Put free-threaded libraries in lib/python3.14t (#121293)
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.
This commit is contained in:
parent
5250a03133
commit
e8c91d90ba
13 changed files with 77 additions and 40 deletions
|
|
@ -328,13 +328,13 @@ class HelperFunctionsTests(unittest.TestCase):
|
|||
if sys.platlibdir != "lib":
|
||||
self.assertEqual(len(dirs), 2)
|
||||
wanted = os.path.join('xoxo', sys.platlibdir,
|
||||
'python%d.%d' % sys.version_info[:2],
|
||||
f'python{sysconfig._get_python_version_abi()}',
|
||||
'site-packages')
|
||||
self.assertEqual(dirs[0], wanted)
|
||||
else:
|
||||
self.assertEqual(len(dirs), 1)
|
||||
wanted = os.path.join('xoxo', 'lib',
|
||||
'python%d.%d' % sys.version_info[:2],
|
||||
f'python{sysconfig._get_python_version_abi()}',
|
||||
'site-packages')
|
||||
self.assertEqual(dirs[-1], wanted)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue