-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix github action #104
Comments
Looks like this may be a workaround: Alternatively, one would need to Mock the Controller (or potentially avoid pynput). |
I found a workaround by using xvfb to have a virtual x11 display. Lmk if that's an ok solution to this. The action has some stuff in it for windows/macos but never tests on those platforms. I'm not sure if this project even works on those platforms? I don't think the xvfb thing will work on windows or macos but it does fix the github actions run. Another thing, why are we also running on travis? Is travis used for more than running the same tests? Looking at the travis config (which is also currently broken) we can probably just drop travis. |
@tylerjw Would you (or anyone else) have a moment to review the github actions? I'm really not familiar with it and some time ago they all started failing. I think it's because the action is using an old pip version - with known vulnerabilities and failing. Any help would be appreciated. |
@dodgyrabbit In looking at your latest run, it appears there's an issue with your lint.sh script - specifically with some dependencies/imports. The github action looks fine overall, as far as I can tell. |
Yea there are some lint items to fix - however - even with those fixed the issue that is left is the lint will fail while doing a security check. Somehow the container/image that is used for the test itself needs to be updated since it's using an old version of pip. |
You can upgrade pip with something akin to:
|
That's what I tried a while ago |
Hmmm. Can you do a run and include a deeper debug on the install lines?
I.e. add -vvv for the pip and poetry lines. I tried looking at the older
run but it got archived out.
…On Thu, Mar 17, 2022, 6:58 PM Pieter Venter ***@***.***> wrote:
That's what I tried a while ago
7aa28ff
<7aa28ff>
—
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB3UICKH3HFVEHNII4EBBDVAO2JRANCNFSM4ZXYPEEA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Ooooooooh also, that only upgrades pip2 not pip3. There's a way to do that:
sudo -H pip3 install --upgrade pip
https://stackoverflow.com/questions/38613316/how-to-upgrade-pip3
On Thu, Mar 17, 2022, 7:35 PM Alex Meadows <
***@***.***> wrote:
… Hmmm. Can you do a run and include a deeper debug on the install lines?
I.e. add -vvv for the pip and poetry lines. I tried looking at the older
run but it got archived out.
On Thu, Mar 17, 2022, 6:58 PM Pieter Venter ***@***.***>
wrote:
> That's what I tried a while ago
> 7aa28ff
> <7aa28ff>
>
> —
> Reply to this email directly, view it on GitHub
> <#104 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAB3UICKH3HFVEHNII4EBBDVAO2JRANCNFSM4ZXYPEEA>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
The root cause here was a little tricky so writing here for posterity sake. I knew the problem was during the lint.sh stage the Here is what I did to find root cause:
|
If anyone has experience to help here that would be appreciated.
Looks like the test requires there to be a display attached but the tests are running headless.
Any ideas how to work around this?
The text was updated successfully, but these errors were encountered: