[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-11-23 Thread Petr Viktorin
Petr Viktorin added the comment: Yes. This is a minor bug in the deprecated distutils module. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-21 Thread STINNER Victor
STINNER Victor added the comment: Should we simply close the issue and leave distutils as it is? -- ___ Python tracker ___ ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: (Sorry for the extra `and`; I hit Submit too soon) -- ___ Python tracker ___ ___ Python-bugs-list

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: AFAICS: this is a bug, but in deprecated code. Not worth fixing in 3.11, and definitely not worth fixing in a RC, and . People should stop using distutils, and those who can't won't be happy with changes to it. Consider that existing distutils issues on bpo

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm doing the release of 3.10.0rc2 as we speak. Please, review this ASAP or otherwise this PR will not be backported to 3.10.0 and will have to wait to 3.10.1 as per the devguide. -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I wrote the PR 28204 to change the unix_home used by the distutils install command. Previous code: if sys.version_info >= (3, 9) and key == "platlib": # platlibdir is available since 3.9: bpo-1294959 value =

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: See also the email on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/5UU6V2B3KBS4Z7OG5T7D6YQZASFNSBJM/ -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +26628 pull_request: https://github.com/python/cpython/pull/28204 ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 97b754d4b46ad9dd63f68906484f805931578c81 by Pablo Galindo Salgado in branch 'main': Revert "bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011)" (GH-28201)

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ok, I am reverting PR 28011. Someone should check it again and decide what to do, but this won't enter 3.10 -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +26626 pull_request: https://github.com/python/cpython/pull/28201 ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: The use case is a "personal stash of Python modules", described here: https://docs.python.org/3/install/#alternate-installation-the-home-scheme We don't need the lib/lib64 distinction here. I'd revert the 3.11 change and go with /lib/ only. --

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Miro, Petr, do you think then that we should revert PR 28011 -- ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Miro Hrončok
Miro Hrončok added the comment: > I don't think we need to match the `/usr/` scheme here. For Python software > that's not part of a distro, I think just `lib/` is fine. I agree. -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Hum, I reviewed PR 38011 and the change made sense to me, but If you think we should reconsider PR 28011, please say so ASAP because the 3.10 backport is close to be merged -- ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: Here, I'm not sure. What do people use --home for? I don't think we need to match the `/usr/` scheme here. For Python software that's not part of a distro, I think just `lib/` is fine. -- nosy: +petr.viktorin ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 4f88161f07538dfb24a43189fd59bf966cb40817 by Tzu-ping Chung in branch 'main': bpo-45035: Make sysconfig posix_home depend on platlibdir (GH-28011) https://github.com/python/cpython/commit/4f88161f07538dfb24a43189fd59bf966cb40817

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26621 pull_request: https://github.com/python/cpython/pull/28196 ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-08-28 Thread Tzu-ping Chung
Change by Tzu-ping Chung : -- keywords: +patch pull_requests: +26454 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28011 ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-08-28 Thread Tzu-ping Chung
New submission from Tzu-ping Chung : This is similar to bpo-44860, but in the other direction: $ docker run -it --rm -h=p fedora:34 bash ... [root@p /]# yum install python3 -y ... [root@p /]# type python3 python3 is hashed (/usr/bin/python3) [root@p /]# python3 -V