Am 27.05.20 um 00:17 schrieb andythe_great:
I am trying to package openNCEM to openSUSE TW.
This is my repo to build python-ncempy.
I could not get it to pass the test. I have been asking the dev, but we still currently
not able to fix it.
We guess that the test failed because genfire is importing GUI element in to OBS headless
server which cause it to fail.
You can use Xvfb if you have to test GUI elements in OBS.
I sent you an SR for the package using the pytest-xvfb plugin. Another
option is to use xvfb-run with nosetests, but ncempy does not seem to
rely on nose vs pytest. setup.py test is deprecated by setuptools.
With that out of the way you will have to fix the next problem:
- test_io looks for a Windows filepath. Obviously not suitable for a
Linux package in OBS
- The README in the test dir says you need a big chunk of real data. I
don't think you can upload that to OBS.
To unsubscribe, e-mail: opensuse-python+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-python+owner(a)opensuse.org