
When following: cd common ./configure && make make test I'm getting ModuleNotFoundError: No module named '_dbus_bindings' in all 15 tests. I have both python3-dbus and python3-dbus.mainloop.pyqt5 dependecies satisfied.

On 2023-08-12 10:15 jnk.gregorczyk@gmail.com wrote:
I'm getting ModuleNotFoundError: No module named '_dbus_bindings' in all 15 tests.
Mhm... Can you show us more of the output. It is not clear which one of the tests did cause that problem. There are more then just "15 tests". You can also try to do "pytest -vx". What GNU Linux version you are using? Maybe it would be better if you open an Issue on Microsoft GitHub when sending us the output.

I have multiple versions of python on installed my system. My python3 version is 3.10.12 and my python3-dbus is actually python3.10-dbus. When I run "make tests" other version - python3.11 runs. And I think i don't have dbus for that version. Is there a way for make tests to force python3.10? $ python3 -m pytest -vx PASSED sob., 12 sie 2023 o 13:49 <c.buhtz@posteo.jp> napisał(a):

IDK why but now 3.10 runs and everything is ok. Maybe because I installed pytest for it...

On 2023-08-12 14:30 Jan Gregorczyk <jnk.gregorczyk@gmail.com> wrote:
Will make install work properly with both python3.10 and python3.11 installed?
Thanks for reporting back. The "make" script will use the operating systems default Python instance. E.g. in Debian it is /usr/bin/python3, on other systems (not supporting Python2 anymore) it might be /usr/bin/python
I have multiple versions of python on installed my system.
This isn't a good idea. If you have a good reason to use multiple Python versions you should isolate them in a virtual environment, a Virtual Machine or Docker container. It might be the case that you have installed the BIT build dependencies for a Python version/instance different from that used by the "make" script.

On 2023-08-12 10:15 jnk.gregorczyk@gmail.com wrote:
I'm getting ModuleNotFoundError: No module named '_dbus_bindings' in all 15 tests.
Mhm... Can you show us more of the output. It is not clear which one of the tests did cause that problem. There are more then just "15 tests". You can also try to do "pytest -vx". What GNU Linux version you are using? Maybe it would be better if you open an Issue on Microsoft GitHub when sending us the output.

I have multiple versions of python on installed my system. My python3 version is 3.10.12 and my python3-dbus is actually python3.10-dbus. When I run "make tests" other version - python3.11 runs. And I think i don't have dbus for that version. Is there a way for make tests to force python3.10? $ python3 -m pytest -vx PASSED sob., 12 sie 2023 o 13:49 <c.buhtz@posteo.jp> napisał(a):

IDK why but now 3.10 runs and everything is ok. Maybe because I installed pytest for it...

On 2023-08-12 14:30 Jan Gregorczyk <jnk.gregorczyk@gmail.com> wrote:
Will make install work properly with both python3.10 and python3.11 installed?
Thanks for reporting back. The "make" script will use the operating systems default Python instance. E.g. in Debian it is /usr/bin/python3, on other systems (not supporting Python2 anymore) it might be /usr/bin/python
I have multiple versions of python on installed my system.
This isn't a good idea. If you have a good reason to use multiple Python versions you should isolate them in a virtual environment, a Virtual Machine or Docker container. It might be the case that you have installed the BIT build dependencies for a Python version/instance different from that used by the "make" script.
participants (3)
-
c.buhtz@posteo.jp
-
Jan Gregorczyk
-
jnk.gregorczyk@gmail.com