Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def _get_path(userbase):
if sys.platform == 'darwin' and sys._framework:
return f'{userbase}/lib/{implementation_lower}/site-packages'

return f'{userbase}/lib/python{version[0]}.{version[1]}{abi_thread}/site-packages'
return f'{userbase}/lib/{implementation_lower}{version[0]}.{version[1]}{abi_thread}/site-packages'


def getuserbase():
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
:mod:`site`: correctly synchronize the ``purelib`` installation scheme with
the one defined in :mod:`sysconfig`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some thoughts, what I wrote is a bit too obscure. Let's mention the public API:

Suggested change
:mod:`site`: correctly synchronize the ``purelib`` installation scheme with
the one defined in :mod:`sysconfig`.
:mod:`site`: correctly synchronize the ``purelib`` installation scheme with
the one defined in :mod:`sysconfig`. This affects the default user-specific
site-packages directory path (see :func:`site.getusersitepackages`).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following the maintainer's feedback, you can remove the NEWS entry.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any actual user-facing downstream issues? If so, we can keep the NEWS entry (with @picnixz's proposed change), otherwise I think we should just drop it.

cc @ShaharNaveh

Loading