Tox is running different python version to the one installed by Github Actions #188
-
Describe the bug When tox first upgraded to version 4, we pinned this to version 3 as To Reproduce While all tests pass, this hides the fact that they're all running py310. Take a look at the python 3.11 job - tox is called in "Run Tests" section. Expected behavior Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 Could you try the following instead? sudo pip -q install meson PyGObject
pip -q install tox tox-gh-actions |
Beta Was this translation helpful? Give feedback.
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.
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 byactions/setup-python
.Could you try the following instead?