Open jdblischak opened 1 month ago
I ran into this same error again today with conda-smithy 3.43.0 when trying to locally run register-ci
on the feedstock jdblischak/cellxgene-census-feedstock. Again I worked around it by downgrading to conda-smithy 3.37.2.
I'm still confused why this error started between 3.37.2 and 3.38.0. The functions _legacy_compatibility_checks
, remove_file_or_dir
, and remove_file
haven't been touched in over a year. See below for links to git blame
https://github.com/conda-forge/conda-smithy/blame/52af540b1e3d9781893498ec5ce90f58c4c0d8e6/conda_smithy/configure_feedstock.py#L2275 https://github.com/conda-forge/conda-smithy/blame/52af540b1e3d9781893498ec5ce90f58c4c0d8e6/conda_smithy/feedstock_io.py#L65 https://github.com/conda-forge/conda-smithy/blame/52af540b1e3d9781893498ec5ce90f58c4c0d8e6/conda_smithy/feedstock_io.py#L75
Solution to issue cannot be found in the documentation.
Issue
I often use
register-ci
locally to activate Azure builds for my feedstock forks. Today this surprisingly failed. I got the same error with both 3.39.1 and 3.38.0. Once I downgraded to 3.37.2, it worked as expected. Looking at the diff between 3.38.0 and 3.37.2, I don't see why theregister-ci
behavior should have changed.Here is how I discovered the error:
With conda-smithy 3.37.2, it worked as expected:
Installed packages
Environment info