-
Notifications
You must be signed in to change notification settings - Fork 133
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: success check does not consider pkg_dir #836 #838
base: master
Are you sure you want to change the base?
Conversation
@bgruening @daler Ready to review. Somehow I cannot request it from the normal UI. |
@jpfeuffer just to clarify, is OpenMS is using bioconda-utils for internal builds? |
Hey @daler |
Ah, ok. Can you point to where (and how) you are calling it then? I bet if it's not exactly how we call it in bioconda-recipes then that might introduce behavior that we don't otherwise test for. |
Sure! Yes, you might not be using the # output must be a valid conda "channel" (otherwise I think I encountered problems)
mkdir -p output/noarch
touch output/noarch/repodata.json
conda activate bioconda
mamba update -y bioconda-utils
conda index output
git clone https://github.com/bioconda/bioconda-recipes && cd bioconda-recipes # we usually use our own fork with ntly changes
bioconda-utils build --docker --pkg_dir $WORKSPACE/output --packages openms-meta # feel free to choose any pkg
bioconda-utils build --docker --pkg_dir $WORKSPACE/output --packages pyopenms Note: you cannot run them together because of #751 |
So the default behavior is for Does it work if you remove the |
Yes, I think it works without |
I think it would be ok to merge as-is since we don't use Can you write a test for this in the |
@daler Ready. I am 90% sure it will fail on master. |
@daler Do you need anything else? |
Hi, has there been any progress with this PR? |
bioconda_utils/build.py
Outdated
platform = os.environ.get('OSTYPE', sys.platform) | ||
if platform.startswith("darwin"): | ||
platform = 'osx' | ||
elif platform == "linux-gnu": | ||
platform = "linux" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The platform can be inferred from RepoData().native_platform()
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, make sure that you indent only with 4 spaces.
|
Sorry, I don't know what that means. I merely added the review suggestion. I guess this error is also why the suggested code was not used in the place where I copied it from 🤷. |
any update here? |
@johanneskoester @daler any updates on this? |
@johanneskoester @daler any updates? |
completely untested but it is an obvious bug.
If you want to change the package dirs earlier in the code somewhere, please suggest changes