-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
getting python build matrix when python not in host #2156
Comments
Where you just need python, you should be able to use build:
ignore_run_exports_from:
- python will suffice to get smithy to think there's a python dependence. One workaround I found (except for the build:
ignore_run_exports_from:
# keep smithy from thinking it needs multiple jobs
- {{ "python" }} |
Above should work fine |
Any idea what changed recently in the dependency detection to add these false positives? This is happening in recent rerenders of recipes with no changes. Probably somewhere in the |
No, it's something in newer conda-build. |
Interestingly I'm observing the same problem with a
doesn't fix the problem of unnecessary rendering of Python variants when |
Solution to issue cannot be found in the documentation.
Issue
I have some recipes where python is either in
build
as a build tool ortest.requires
for some test scripting, and I've started (this week?) to get build matrices for Python versions where I didn't before.Pinning the Python version works, but presumably the python version matrix should only happen when Python is in
host
, not anywhere elseHappening right now in scotch (Python only in test.requires) but also happened this week in staged-recipes in conda-forge/staged-recipes#28225 (Python in build)
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: