Re: Gregor Riepl
> This is caused by a change in cmake 3.27.
>
> In 3.26.4-4, Python_SITELIB is /usr/lib/python3/dist-packages.
> In 3.27.1-1, it's /usr/local/lib/python3.11/dist-packages
>
> The documentation for 3.26 states:
> > Information returned by
> > distutils.sysconfig.get_python_lib(plat_specific=False,standard_lib=False)
> > or else sysconfig.get_path('purelib').
>
> And for 3.27:
> > Information returned by sysconfig.get_path('purelib').
>
> I'm not sure if Debian overrides this in any way, but it's certainly a
> regression.
purelib: directory for site-specific, non-platform-specific files
(https://docs.python.org/3/library/sysconfig.html)
"site-specific" doesn't sound like packages should install anything
there.
Perhaps the bug is that Python_SITELIB is used and it should be
something else?
Christoph