-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Builds don't run because of setup.py - issue is happening suddenly #3296
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
Comments
i am having same issue. |
Same here. Something appears to be broken. |
Hi guys, This is bad. The last three builds ended like that.
cc: @projectgus |
Hi, The whole thing is done with volunteering work, so please keep patience. |
Came here to report this. Strange things is, I actually have to RTD pages both pointing to the same Repo, once builds the other stopped building (same settings on both) Build (failed) Build(works) |
@gtalarico one of your build is failing because you have the "Install project" marked and your project doesn't have a In the build that it's passing, you don't have that option marked (the |
🤦♂️ |
Many thanks @humitos ! The build is working now. I am not sure if all these days that setup.py option was selected or not. So, Im closing this issue. |
Thanks, works fine for me too (used to work before with the virtualenv option although there was no setup.py)! |
This was discussed in #3095: #3095 (comment) We don't have a pattern for warning on a particular command failure yet, but ultimately should raise a more helpful error here. Disabling setup.py installation is the correct fix. |
@humitos this fixed my issue, without changing advanced settings it would still try to run the setup.... good work tho~! |
You would have had to enable this option in the past, it's not on by default. The previous behavior was to silently pass even if there was no setup.py, so you wouldn't have noticed this if you did turn it on |
That makes sense |
Thank your for checking this issue and clarification. The build failure is now gone and this is a great news! Why original builds below were reported as "Passesd" or "Build completed" (green) while actually they failed? |
Sounds good. I am happy to see you have it already in the pipeline. Will these PRs also cover a case when a build is stuck in "Building" state for several hours? |
Don't think so. If something bad happened and the build didn't update its status, I think it will never do it, ha. I'm not sure anyway (maybe there is a task or something that I'm not familiar with). Those PR won't make that happen again "in theory". |
@Tareque16 go to the admin panel of your project, and then to advanced settings. |
redacted. The observed behavior, though confusing, is arguably correct. I forgot that my repo had a formats:
- none
python:
version: 3
pip_install: true # <- triggers search for setup.py, set to false So even though on my advanced admin page I did not have the "Install your project ..." checked, I needed to indicate this action in Sorry for the noise, but maybe this will help somebody one day. |
Details
Expected Result
Build should pass
A description of what you wanted to happen
Build should run and pass for some time.
Actual Result
python setup.py install --force
python: can't open file 'setup.py': [Errno 2] No such file or directory
A description of what actually happened
Only for the last 20-24 hours, we are getting the above error that python can't open file setup.py.
Before the last 1 day, all builds ran fine. We did not do any change in there. I am not sure what the actual cause of this problem is. Can anyone please help us out? Thanks in Advance.
The text was updated successfully, but these errors were encountered: