Skip to content

Tox is running different python version to the one installed by Github Actions #188

Answered by ymyzk
elParaguayo asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, @elParaguayo.

I'm having a look at your PR: https://github.com/qtile/qtile/pull/4364/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449L20

I haven't verified by myself, but one hypothesis I have is that this change in the GitHub Actions configuration is causing the issue.

-               sudo pip -q install meson PyGObject
+               pip -q install "tox<4" tox-gh-actions 
+               sudo pip -q install meson PyGObject tox tox-gh-actions

I think sudo pip -q install meson PyGObject tox tox-gh-actions installs tox and tox-gh-actions to the system level's Python, not Python installed by actions/setup-python.

Could you try the following instead?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@elParaguayo
Comment options

Answer selected by elParaguayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #186 on August 05, 2023 06:27.