Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Explicitely run the messagebus test with Python 3 #2569

Merged
merged 1 commit into from
May 6, 2020
Merged

Explicitely run the messagebus test with Python 3 #2569

merged 1 commit into from
May 6, 2020

Conversation

PureTryOut
Copy link
Contributor

@PureTryOut PureTryOut commented May 6, 2020

Description

/usr/bin/python might not always point to Python 3, and it might not even exist, depending on the distribution. For example Alpine Linux doesn't have /usr/bin/python pointing to /usr/bin/python3 yet and since I have no Python 2 installed, /usr/bin/python doesn't exist at all. To make sure we always run with Python 3, explicitely call /usr/bin/python3

This fixes #2570

How to test

Run the tests like before and see if the messagebus tests still pass.

Contributor license agreement signed?

CLA [x]

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label May 6, 2020
/usr/bin/python might not always point to Python 3, and it might not
even exist, depending on the distribution. To make sure we always run
with Python 3, explicitely call /usr/bin/python3

Also update the service start command and remove the outdated message
method tests
@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

@forslund
Copy link
Collaborator

forslund commented May 6, 2020

Thanks for updating this @PureTryOut, merging

@forslund forslund merged commit 685fbf6 into MycroftAI:dev May 6, 2020
@PureTryOut PureTryOut deleted the tests-python3 branch May 6, 2020 15:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

messagebus_test.py hangs forever
4 participants