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 Makefule rules "setup-virtualenv" and "check-program" within invocation of "make setup" #19
Conversation
Thanks for providing this fix to the sandbox infrastructure. However, we are not able to spot the specific change yet ;].
This might be related to newline issues. You might want to check your editor settings or investigate the diff more thoroughly to find out what might have gone wrong.
No worries. We will try to cherry-pick the change you described at [1]:
and after that, this PR should be moot, right? [1] https://community.hiveeyes.org/t/setup-der-terkin-datenlogger-sandbox-schlagt-fehl/2501/13 |
Nope. Theres also this:
because
must fail because .venv2 doesn't exist, yet. It is created with:
after the test. I've deleted the test because its IMHO superfluous. If python2 wouldn't exist virtualenv would fail anyway. Same reason for python3 of course. |
Dear @poesel, thanks for clarifying that. We have been aware that we got these checks wrong and will be happy to merge an appropriate pull request fixing that. However, we still haven't been able to dedicate ourselves to this topic. As we are currently traveling, we would only be able to merge pull requests which don't require any specific attention. So, we are humbly asking if you could amend this pull request which yields a more distinctive diff between the current master and these fixes. You will be able to push to the same branch and you might want to use Otherwise, please let us know if we should take that job. Then, we will try to catch some time on this. With kind regards, |
Now its smaller. Don't know why it did what it did. |
Thanks for compressing the diff. I will merge these patches as well but would like to mention that the update to the rule # Works
make check-program program=yes
# Croaks
make check-program program=hotzenplotz
ERROR: "hotzenplotz" program not installed.
HINT:
make: *** [check-program] Error 1 |
directories .venv2 & .venv3 do not exist yet when they are tested
since we install python & virtualenv during the build of the image its save to assume they exist
sorry for having the other changes in here, too. I'm still new to git :)
I also don't know why the diff is so big. The actual difference is just two lines.