You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short, since several months, running conda-smithy rerender randomly skips .ci-support files which shouldn't be skipped. It took me several hours with the debugger to get an idea about what's going on.
To reproduce:
Clone conda-forge/pytensor-suite-feedstock
Run conda-smithy rerender
Run git status and check for deleted files under .ci_support/
Repeat, and observe files appearing and disappearing from .ci_support/ at random.
My rough understanding is that conda-smithy calls conda-build in order to determine whether to render a group like osx-arm64. Associated to this group is a set of Python versions ranging from 3.8 to 3.11. The recipe contains skip: true # [py<39]. In evaluating whether or not to skip osx-arm64, a Python version is selected at random. Whenever 3.8 comes up, it skips osx-arm64 and causes the corresponding .ci-support files to go missing.
Installed packages
conda-build 3.25.0, conda-smithy 3.26.2, and conda-forge-pinning 2023.10.07.18.27.00
Environment info
N/A
The text was updated successfully, but these errors were encountered:
Hi @maresb,
the conda-smithy part of this issue is likely fixed via gh-1815 in a future conda-smithy release.
Another part of the issue which makes it much more likely to occur for pytensor-suite-feedstock is due to its usage of the py selector in the top-level skip line of the recipe in combination with python being only used for the outputs.
I've suggested a change to better handle this case in conda-build via conda/conda-build#5139 .
See that pull request's description for more details on why it happens and also how you could work around it for now in the recipe.
Solution to issue cannot be found in the documentation.
Issue
See conda-forge/pytensor-suite-feedstock#54 for technical details of my debugging attempts.
In short, since several months, running
conda-smithy rerender
randomly skips.ci-support
files which shouldn't be skipped. It took me several hours with the debugger to get an idea about what's going on.To reproduce:
conda-smithy rerender
git status
and check for deleted files under.ci_support/
.ci_support/
at random.My rough understanding is that conda-smithy calls conda-build in order to determine whether to render a group like osx-arm64. Associated to this group is a set of Python versions ranging from 3.8 to 3.11. The recipe contains
skip: true # [py<39]
. In evaluating whether or not to skiposx-arm64
, a Python version is selected at random. Whenever 3.8 comes up, it skipsosx-arm64
and causes the corresponding.ci-support
files to go missing.Installed packages
Environment info
The text was updated successfully, but these errors were encountered: