Bug#998739: python3.9: sysconfig should return /dist-packages as platlib

2022-06-20 Thread Julian Gilbey
On Tue, Jun 21, 2022 at 07:05:17AM +0100, Julian Gilbey wrote: > 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('p

Bug#998739:

2022-06-20 Thread Julian Gilbey
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 pr

Bug#998739:

2022-04-11 Thread Ievgen Popovych
On Mon, 11 Apr 2022 22:18:26 +0300 Ievgen Popovych wrote: > Hello, > > I had the same issue when building a package with a system interpreter: > sysconfig module reports incorrect paths (pointing to `site-packages` > instead of `dist-packages`). > The culprit seems to be that it thinks that > > Cu

Bug#998739:

2022-04-11 Thread Ievgen Popovych
Hello, I had the same issue when building a package with a system interpreter: sysconfig module reports incorrect paths (pointing to `site-packages` instead of `dist-packages`). The culprit seems to be that it thinks that > Current installation scheme: "posix_prefix" instead of `deb_system`. That,

Bug#998739:

2022-04-04 Thread Rich
I was just going to report a similar bug to this, after attempting to migrate a package from using distutils.sysconfig to sysconfig (due to 3.10 now screaming about distutils being removed Soon(tm)), and discovering that distutils.sysconfig does report dist-packages, while sysconfig reports site-pa

Bug#998739: python3.9: In sys.path, /usr/local should use site-packages, not dist-packages

2021-11-11 Thread Samuel Thibault
control: retitle -1 python3.9: sysconfig should return /dist-packages as platlib Hello, Matthias Klose, le mer. 10 nov. 2021 14:53:38 +0100, a ecrit: > On 11/7/21 13:53, Samuel Thibault wrote: > sys.path > > ['', '/usr/lib/python39.zip', '/usr/lib/python3.9', > > '/usr/lib/python3.9/lib-dyn

Bug#998739: python3.9: In sys.path, /usr/local should use site-packages, not dist-packages

2021-11-10 Thread Matthias Klose
On 11/7/21 13:53, Samuel Thibault wrote: > Package: python3.9 > Version: 3.9.7-4 > Severity: normal > > Hello, > > In sys.path: > sys.path > ['', '/usr/lib/python39.zip', '/usr/lib/python3.9', > '/usr/lib/python3.9/lib-dynload', > '/home/samy/.local/lib/python3.9/site-packages', > '/usr/

Bug#998739: python3.9: In sys.path, /usr/local should use site-packages, not dist-packages

2021-11-07 Thread Samuel Thibault
Package: python3.9 Version: 3.9.7-4 Severity: normal Hello, In sys.path: >>> sys.path ['', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/home/samy/.local/lib/python3.9/site-packages', '/usr/local/lib/python3.9/dist-packages', '/usr/lib/python3/dist-package