conda-forge / conda-forge.github.io

The conda-forge website.
https://conda-forge.org
BSD 3-Clause "New" or "Revised" License
132 stars 279 forks source link

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

Open jan-janssen opened 5 months ago

jan-janssen commented 5 months ago

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.

jaimergp commented 4 months ago

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