-
I have a c++ conda package (https://github.com/conda-forge/tip-feedstock) which does not have strict build time version requirements on dependency libraries. Therefore, dependencies in req/host section are defined without any version logic. Runtime dependency libraries must have the same file name as those established during build time and I can't find an obvious way to communicate this in req/run. I can see two failures modes with the dependency declarations that I've read about in the documentation for req/run:
So how do I say "Whatever req/host dependencies are used, require the exact same for req/run"? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There is a keyword argument "exact" for the pinning expressions.
However, exact pinning includes the build string which is unique to conda-forge and has nothing to do with upstream versioning. https://docs.conda.io/projects/conda-build/en/latest/resources/variants.html#extra-jinja2-functions |
Beta Was this translation helpful? Give feedback.
There is a keyword argument "exact" for the pinning expressions.
However, exact pinning includes the build string which is unique to conda-forge and has nothing to do with upstream versioning.
max_pin='x.x.x'
should be sufficient because the ABI should not change between multiple conda-forge builds of the same version of a package.https://docs.conda.io/projects/conda-build/en/latest/resources/variants.html#extra-jinja2-functions
https://github.com/conda/conda-build/blob/c752fc43b88928321eb7632a9840476b1b93abd0/conda_build/jinja_context.py#L206