On Mon, Apr 11, 2022 at 11:00:24PM +0300, Ievgen Popovych wrote: > [...] > I was just playing a bit more and it turns out that > `/usr/lib/python3.9/sysconfig.py` does not include changes from > `patches/sysconfig-debian-schemes.diff` at all! > I've verified I do have Debian Bullseye :), file is proided by > `libpython3.9-minimal:amd64:`. sysconfig-debian-schemes.diff is also > in `patches/series`. > I do not know what to think at this point..
Here's a data point: $ python3.9 Python 3.9.13 (main, Jun 8 2022, 09:45:57) [GCC 11.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sysconfig >>> sysconfig.get_path('purelib') '/usr/lib/python3.9/site-packages' >>> sysconfig.get_path('platlib') '/usr/lib/python3.9/site-packages' >>> $ python3.10 Python 3.10.5 (main, Jun 8 2022, 09:26:22) [GCC 11.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sysconfig >>> sysconfig.get_path('purelib') '/usr/local/lib/python3.10/dist-packages' >>> sysconfig.get_path('platlib') '/usr/local/lib/python3.10/dist-packages' >>> So this issue has been resolved in the Debian python3.10 package but not in python3.9. (I ran into this issue as it broke a package test...) Best wishes, Julian