[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: bpo-1294959 added sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE to Python 3.9. The problem is that msg370655 use case seems to be a regression compared to Python 3.9. I now consider to backport the commit

[issue40854] [Patch] Allow overriding sys.platlibdir: add PYTHONPLATLIBDIR env var

2020-06-08 Thread STINNER Victor
Change by STINNER Victor : -- title: [Patch] Allow overriding sys.platlibdir -> [Patch] Allow overriding sys.platlibdir: add PYTHONPLATLIBDIR env var ___ Python tracker ___

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19935 pull_request: https://github.com/python/cpython/pull/20725 ___ Python tracker ___

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-08 Thread Sandro Mani
Sandro Mani added the comment: Many thanks! - I'll ask downstream to carry the patch for the 3.9 cycle, so I'm ok with closing. -- ___ Python tracker ___

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: I merged the patch in master, future Python 3.10. I would prefer to leave Python 3.9 unchanged, if possible. Can we close this issue? -- ___ Python tracker

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae by Sandro Mani in branch 'master': bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var (GH-20605) https://github.com/python/cpython/commit/8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-05 Thread Sandro Mani
Sandro Mani added the comment: I'm on Fedora. My use case is for the mingw-python package I maintain there, see [1] for the full details. I believe (though I haven't investigated) that the previous downstream lib64 patch behaved slightly differently, or that something else between

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-05 Thread STINNER Victor
STINNER Victor added the comment: Fedora and OpenSUSE Linux distributions were using a downstream patch which replaced /lib/ with /lib64/ for like 15 years. Is this issue a new issue? Or did Fedora always had the issue for example? Which Linux distribution are you using? -- nosy:

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-03 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +19832 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20605 ___ Python tracker

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-03 Thread Sandro Mani
New submission from Sandro Mani : You can currently point the python interpreter to a different install say via export PYTHONHOME= export PYTHONPATH=/lib/python3.9 python3 With the newly added platlibdir [1], if python was configured with platlibdir=lib64, this will break because