sorry, no success
test1:
====
%check
mv pyliblo3 pyliblo3_dont
%{py3_test_envvars} %{python3} -m unittest discover
...
+ PYTHONDONTWRITEBYTECODE=1
+ PYTEST_ADDOPTS='
--ignore=/home/martin/rpmbuild/BUILD/pyliblo3-91d17815b911ccc2c1d1408412e7885c32f2d460/.pyproject-builddir'
+ PYTEST_XDIST_AUTO_NUM_WORKERS=2
+ /usr/bin/python3 -P -m unittest discover
E
======================================================================
ERROR: pyliblo3 (unittest.loader._FailedTest.pyliblo3)
----------------------------------------------------------------------
ImportError: Failed to import test module: pyliblo3
Traceback (most recent call last):
File "/usr/lib64/python3.12/unittest/loader.py", line 429, in _find_test_path
package = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/unittest/loader.py", line 339, in
_get_module_from_name
__import__(name)
File
"/home/martin/rpmbuild/BUILD/pyliblo3-91d17815b911ccc2c1d1408412e7885c32f2d460/pyliblo3/__init__.py",
line 18, in <module>
from ._liblo import *
ModuleNotFoundError: No module named 'pyliblo3._liblo'
----------------------------------------------------------------------
Ran 1 test in 0.002s
FAILED (errors=1)
test2:
====
%check
%{py3_test_envvars} %{python3} -P -m unittest discover
...
+ mv pyliblo3 pyliblo3_dont
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
-fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1
-specs=/usr/lib/rpm/redhat/redhat-package-notes '
+
PATH=/home/martin/rpmbuild/BUILDROOT/pyliblo3-0.16.2-0.3.git91d1781.fc40.x86_64/usr/bin:/usr/local/cuda/bin:/usr/local/cuda/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/martin/.local/bin:/home/martin/bin
+
PYTHONPATH=/home/martin/rpmbuild/BUILDROOT/pyliblo3-0.16.2-0.3.git91d1781.fc40.x86_64/usr/lib64/python3.12/site-packages:/home/martin/rpmbuild/BUILDROOT/pyliblo3-0.16.2-0.3.git91d1781.fc40.x86_64/usr/lib/python3.12/site-packages
+ PYTHONDONTWRITEBYTECODE=1
+ PYTEST_ADDOPTS='
--ignore=/home/martin/rpmbuild/BUILD/pyliblo3-91d17815b911ccc2c1d1408412e7885c32f2d460/.pyproject-builddir'
+ PYTEST_XDIST_AUTO_NUM_WORKERS=2
+ /usr/bin/python3 -m unittest
E
======================================================================
ERROR: pyliblo3_dont (unittest.loader._FailedTest.pyliblo3_dont)
----------------------------------------------------------------------
ImportError: Failed to import test module: pyliblo3_dont
Traceback (most recent call last):
File "/usr/lib64/python3.12/unittest/loader.py", line 429, in _find_test_path
package = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/unittest/loader.py", line 339, in
_get_module_from_name
__import__(name)
File
"/home/martin/rpmbuild/BUILD/pyliblo3-91d17815b911ccc2c1d1408412e7885c32f2d460/pyliblo3_dont/__init__.py",
line 18, in <module>
from ._liblo import *
ModuleNotFoundError: No module named 'pyliblo3_dont._liblo'
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (errors=1)
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue