[issue1294959] Problems with /usr/lib64 builds.

STINNER Victor report at bugs.python.org
Wed Feb 12 12:50:19 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

lib64_tests.py: test suite hardcoded for Fedora, SuSE and PR 18381 with --with-python-libdir=lib64. I wrote it to help me to understand differences between Fedora, SuSE and PR 18381.

On Fedora, the test fails because we have an additional patch on distutils to install packages in /usr/local instead of /usr when using pip:

======================================================================
FAIL: test_distutils_install (__main__.Lib64Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib64_tests.py", line 81, in test_distutils_install
    self.assertEqual(cmd.install_platlib, PLATLIB)
AssertionError: '/usr/local/lib64/python3.7/site-packages' != '/usr/lib64/python3.7/site-packages'
- /usr/local/lib64/python3.7/site-packages
?     ------
+ /usr/lib64/python3.7/site-packages

----------
Added file: https://bugs.python.org/file48892/lib64_tests.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1294959>
_______________________________________


More information about the Python-bugs-list mailing list