I’ve pinned numpy to 2.x in the host environment of my package, and am attempting to allow >=2, <=2.x in the run environment by adding the following to the list of run dependencies:
Once my package is built, I am unable to install anything except numpy 2.x into the same conda environment as my package. I spotted in the build logs that this is coming in and overriding my pin_compatible run contraint: pin_run_as_build='OrderedDict([('\''python'\'', {'\''min_pin'\'': '\''x.x'\'', '\''max_pin'\'': '\''x.x'\''}), ('\''r-base'\'', {'\''min_pin'\'': '\''x.x'\'', '\''max_pin'\'': '\''x.x'\''}), ('\''boost'\'', {'\''max_pin'\'': '\''x.x'\''}), ('\''numpy'\'', {'\''min_pin'\'': '\''x.x'\'', '\''max_pin'\'': '\''x.x'\''})])'
which appears to come from here:
I’m wondering if this is correct, given the run_export defined in the numpy recipe is so generous:
I know that I can define my own pin_run_as_build entry for numpy to avoid this, but should I have to do that?