-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Incorrect test scope for linux #44
Comments
Does it make sense to run that test outside of the conda package build context? If so, yes, we need to capture that hash or rename that file. But I'm not sure if we need to run it outside of the build. (Please correct me b/c my use of libiconv is limited! I only package it so could satisfy some dependencies for other packages.) |
As far as I understand, conda-forge has never tested the package outside of the build. And I guess many users don't really care about testing. I would say that this is an individual problem for such products, which, like us, supplies many packages and tests them in one environment. After all, here we are talking exclusively about the problem of testing, and not the package itself. |
Sure. Let's see what we can do to fix this. As long as we don't add some extra complexity or break the package, it is worth a shot :-) |
When I try to replace:
with:
I get the following:
Probably the variable |
Solution to issue cannot be found in the documentation.
Issue
After installing libiconv-1.17-hd590300_2 package in a clean conda environment and trying to execute
I get the following error:
The reason for this problem is that in an already packaged package, the following test https://github.com/conda-forge/libiconv-feedstock/blob/main/recipe/meta.yaml#L61 looks like this:
That is, the variable
${PKG_BUILD_STRING}
has not been replaced with a hash, therefore, in fact, the test always tries to find filelibiconv-1.17-.json
instead oflibiconv-1.17-hd590300_2.json
.I'm not very good at solving such problems, but maybe it's just a syntax error and there should be something like:
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: