-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Windows Action Runs Wrong Version of Locust #2796
Comments
Hey @andrewbaldwin44 I'll push something to replicate this, would be good to see the logs from the failing action 🧑💻 |
I think this is because...
So, in terms of what to do with this, the best way is probably to find the editable install location on the Windows runner, and add this to the We could of course skip the pre-build on Windows, meaning no front end is built, but I suppose the main issue here is that the |
Definitely fixable I'll just need to run this on my Windows machine to check the commands work |
Hey @mquinnfd, sorry about that I should have sent this link as well https://github.com/andrewbaldwin44/locust/actions/runs/9840186826/job/27163841986. The logs from the actions could have been seen on my fork but no matter :) I think no frontend being built on Windows is not really an issue since we don't need the frontend for |
Yeah I was also thinking that activating the venv could have something to do with it, but I was thinking that if it was an issue with venv, then we should see an error such as |
Hey @andrewbaldwin44 to follow up on this: I tested this code change on my Windows machine this morning - interestingly I cannot actually get the fail-fast ( Do you know which tests you expect to break on this change? I note that 21 tests are skipped on the I tried a few ways of getting |
Yeah so that's actually exactly the problem :) The fact that the tests should fail and they are not failing indicates that the Locust version being used is incorrect. We were actually able to reproduce this in several ways, here's another example: master...test-tests in this example the Windows tests are failing even when they should be passing https://github.com/locustio/locust/actions/runs/9840237867 |
Yeah the Windows shell is quite horrible I really don't understand how anyone is able to use Windows without WSL haha. I have a Windows VM on my side as well, I don't know as much about poetry as yourself but I will try to help if I can! |
Should be fixed in #2803 @andrewbaldwin44 might be OK to close |
Prerequisites
Description
When breaking the tests master...andrewbaldwin44:locust:bug/windows-action the Windows test action will not fail
@mquinnfd This should be poetry related, any idea?
Python version
3.12
Locust version
2.29
Operating system
Windows
The text was updated successfully, but these errors were encountered: