[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: > Can we clarify the wording to clearly indicate it's to be used only for > Python modules/extensions and not system dynamic libs? Sure. Can you please propose a different wording? English is not my first language. --

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread Michał Górny
Michał Górny added the comment: Can we clarify the wording to clearly indicate it's to be used only for Python modules/extensions and not system dynamic libs? -- ___ Python tracker

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: If you don't use the new --with-platlibdir configuration option, Python 3.9 behaves exactly as Python 3.8: there is zero change. Python 3.9 only builds a different sys.path if sys.platlibdir is different than "lib". --

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread Michał Górny
Michał Górny added the comment: > Not at all. This means that it is possible to do so. It remains optional. ...but then sys.platlibdir is going to incorrectly list 'lib', isn't it? According to https://docs.python.org/3.9/library/sys.html#sys.platlibdir it's used 'to build the path of

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread Miro Hrončok
Miro Hrončok added the comment: > Does this mean that platforms using /usr/lib64 for shared libraries are now > forced to install Python into /usr/lib64/python*? Not at all. This means that it is possible to do so. It remains optional. -- ___

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread Michał Górny
Michał Górny added the comment: Does this mean that platforms using /usr/lib64 for shared libraries are now forced to install Python into /usr/lib64/python*? -- nosy: +mgorny ___ Python tracker

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-13 Thread STINNER Victor
STINNER Victor added the comment: I close this very old issue (15 years old!). Thank you *very much* to everybody who was involved in helping to get it fixed! If I forgot someone, comment this issue or open a new one. There is one last minor issue, but there is already a dedicated issue:

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-13 Thread STINNER Victor
STINNER Victor added the comment: Miro Hrončok ran rpmdiff to compare the Fedora with the old downstream patches and with the new upstream commit 8510f430781118d9b603c3a2f06945d6ebc5fe42: compare the Python package with and without setup.py changes.

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-12 Thread miss-islington
miss-islington added the comment: New changeset 3c29675d8736cb1860f342d872ae41e342c6d383 by Raúl Cumplido in branch 'master': bpo-1294959: Fix typo for new attribute platlibdir. (GH-18960) https://github.com/python/cpython/commit/3c29675d8736cb1860f342d872ae41e342c6d383 --

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-12 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 24.0 -> 25.0 pull_requests: +18310 pull_request: https://github.com/python/cpython/pull/18960 ___ Python tracker

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18268 pull_request: https://github.com/python/cpython/pull/18917 ___ Python tracker ___

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: > Another related issue is bpo-34058: "Default Python 3.7 install broken on > openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to > $PYTHONHOME/lib/python3.7/lib-dynload/". I marked bpo-34058 as a duplicate of this issue. --

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: Another related issue is bpo-34058: "Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/". -- ___ Python tracker

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-11 Thread STINNER Victor
STINNER Victor added the comment: I chose to exclude setup.py changes from my commit 8510f430781118d9b603c3a2f06945d6ebc5fe42, whereas the Fedora downstream patch has a few changes: https://src.fedoraproject.org/rpms/python39/blob/master/f/00102-lib64.patch See also bpo-14791: "setup.py

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8510f430781118d9b603c3a2f06945d6ebc5fe42 by Victor Stinner in branch 'master': bpo-1294959: Add sys.platlibdir attribute (GH-18381) https://github.com/python/cpython/commit/8510f430781118d9b603c3a2f06945d6ebc5fe42 --

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-10 Thread STINNER Victor
STINNER Victor added the comment: lib64_tests-3.py: Updated script to handle different ABI flags (release vs debug mode). -- Added file: https://bugs.python.org/file48966/lib64_tests-3.py ___ Python tracker

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-09 Thread STINNER Victor
Change by STINNER Victor : -- versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-03-09 Thread STINNER Victor
Change by STINNER Victor : -- title: Problems with /usr/lib64 builds. -> Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE ___ Python tracker ___