conda-forge.github.io icon indicating copy to clipboard operation
conda-forge.github.io copied to clipboard

The newline character in patches are converted from \r\n to \n when recipes are transferred from staged-recipes to feedstocks

Open jan-janssen opened this issue 1 year ago • 1 comments

Conda-forge documentation

  • [X] I could not solve my problem using the conda-forge documentation.

Issue

The recipe for playwright-python worked in staged-recipes: https://github.com/conda-forge/staged-recipes/pull/26597 After it was merged to main and the recipe was converted to a feedstock the build failed. I was able to fix it by reverting to the patches originally submitted to staged-recipes: https://github.com/conda-forge/playwright-python-feedstock/pull/1 I do not like the \r\n vs. \n stufff but these are commonly found in packages from Microsoft so it would be great if these patches were supported by conda-forge.

jan-janssen avatar Jun 09 '24 14:06 jan-janssen

I thought we had a gitattributes file for that? Do we need it in staged-recipes too?

jaimergp avatar Jul 19 '24 10:07 jaimergp