Re: Help needed with running tests in mock chroot

2022-10-11 Thread Sandro
On 11-10-2022 16:20, Ben Beasley wrote: This is the classic issue where the “un-built” package gets imported instead of the “built” one in the buildroot that you are trying to test. I had some luck executing the tests, but ran into a BLAS linking issue that I did not have time to investigate full

Re: Help needed with running tests in mock chroot

2022-10-11 Thread Ben Beasley
This is the classic issue where the “un-built” package gets imported instead of the “built” one in the buildroot that you are trying to test. I had some luck executing the tests, but ran into a BLAS linking issue that I did not have time to investigate fully. Please see https://bugzilla.redhat.

Re: Python 3.12 pathfix.py removal

2022-10-11 Thread Victor Stinner
Hi, Some background on pathfix.py. On Fedora, pathfix.py is available as /usr/bin/pathfix.py but also /usr/bin/pathfixX.Y.py where X.Y is the Python version (ex: pathfix3.10.py). So it's an executable program (implemented in Python). Yep, I just removed pathfix.py from Python 3.12, as part of the

Re: Python 3.12 pathfix.py removal

2022-10-11 Thread Miro Hrončok
On 11. 10. 22 11:47, Miro Hrončok wrote: Hello Pythonistas, The pathfix.py script has been removed from future Python 3.12: https://discuss.python.org/t/remove-outdated-tools-scripts-scripts/19571 https://github.com/python/cpython/pull/98167 In Fedora, we package it to python3-devel as /usr/bi

Help needed with running tests in mock chroot

2022-10-11 Thread Sandro
Hi, I'm stuck at trying to get tests to run for a Python package I submitted for review [1]. During build the package generates skmisc/__config__.py, which is needed by pytest. I copied it over from %pyproject_build_lib/skmisc only to hit another ImportError: E ModuleNotFoundError: No mo

Python 3.12 pathfix.py removal

2022-10-11 Thread Miro Hrončok
Hello Pythonistas, The pathfix.py script has been removed from future Python 3.12: https://discuss.python.org/t/remove-outdated-tools-scripts-scripts/19571 https://github.com/python/cpython/pull/98167 In Fedora, we package it to python3-devel as /usr/bin/pathfix.py and we use it in: %py3_sh