BUG: docker build on windows fails; need eol=lf in .gitattributes #59000
Labels
Bug
Build
Library building on various platforms
Closing Candidate
May be closeable, needs more eyeballs
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
I followed Option 3 Using Docker instructions to set up a pandas build environment. When I ran the pip install command in my container on a windows host, the build failed because
generate_version.py
has CRLF line endings. (I checked, my~/.gitconfig
and it has autocrlf=false.) But CRLF line endings are not allowed in a shebang script. When I addedeol=lf
to line 1 of.gitattributes
the problem went away. So, I think line 1 of .gitattributes should beExpected Behavior
For
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
to succeed.Installed Versions
2.2.2
The text was updated successfully, but these errors were encountered: