Closed kloczek closed 2 years ago
It depends on the protobuf
module - google
is a namespace used by multiple packages from google.
https://github.com/borntyping/python-riemann-client/blob/master/setup.py#L8
There is another issue after installing protobuf
in build env
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-riemann-client-6.5.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-riemann-client-6.5.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network'
ImportError while loading conftest '/home/tkloczko/rpmbuild/BUILD/python-riemann-client-6.5.0/tests/conftest.py'.
tests/conftest.py:5: in <module>
import py.test
E ModuleNotFoundError: No module named 'py.test'; 'py' is not a package
I think that instead py.test
should be pytest
🤔
After apply below patch
and install click
in build env now pytest shows
I belive pytest and click have made some breaking changes since this library was written, and it's not been updated to keep things compatible. I don't maintain this library any more — it's been almost a decade since I last used it.
Howwever looks like it is not https://pypi.org/project/google/ so question is where it is that
google
module?