Closed kloczek closed 8 months ago
You have to first run
pip install -r tests/requirements.txt
This will install the package from source (which is located within the tests folder).
--ignore tests/issue_134/issue_134_test.py
Clearly this isn't the only test that uses the sphinx_immaterial_pybind11_issue_134
package. Your error output indicates that tests/python_apigen_test.py
includes a test named test_pybind11_property
that relies on this package as well.
I first time see such thing like installing anything before test from source tree (and I have already packages +12.kl modules as rpm packages). If that module is needed for test suite why it is not located in tests/ tree? 🤔
Looks like everything else is already installed in my build env.
That C-extension module is located within the tests folder, but you have to compile/install it first before running the tests. Thus, my first response on this thread.
I feel like we're starting to repeat the conversation in #242 (which is the reason why I created the tests/README instructions).
IMO that procedure is a bit to complicated to I've added temporary tests/issue_134/issue_134_test.py to --ignore list. Simple in prod build env I have blocked installing python modules even in build user home directory. How important is that test? 🤔
It literally exists to prevent a regression that was reported in #134 (thus the name).
OK I'll close this ticket because for now seem it is not per se bug and finding some solution for this failing unit wold be to to complicated. Thank you for your time and expertise 👍 😄 FYI: I've migrated to python 3.9 and latest pytest 8.1.1 and except tis unit everything else is perfectly fine.
Looks like something is wrong wit test suite. I cannot find
sphinx_immaterial_pybind11_issue_134
in source tree