Skip to content

Commit 28b310b

Browse files
authored
fix?
1 parent 51f4803 commit 28b310b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/32-bit-linux.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323

2424
- name: Run 32-bit manylinux2014 Docker Build / Tests
2525
run: |
26+
# Without this (line 36), versioneer will not be able to determine the pandas version.
27+
# This is because of a security update to git that blocks it from reading the config folder if
28+
# it is not owned by the current user. We hit this since the "mounted" folder is not hit by the
29+
# Docker container.
30+
# xref https://github.com/pypa/manylinux/issues/1309
2631
docker pull quay.io/pypa/manylinux2014_i686
2732
docker run --platform linux/386 -v $(pwd):/pandas quay.io/pypa/manylinux2014_i686 \
2833
/bin/bash -xc "cd pandas && \
34+
git config --global --add safe.directory . && \
2935
/opt/python/cp38-cp38/bin/python -m venv ~/virtualenvs/pandas-dev && \
3036
. ~/virtualenvs/pandas-dev/bin/activate && \
31-
# Without this, versioneer will not be able to run git commands to determine the pandas version.
32-
# This is because of a security update to git that blocks it from reading the config folder if
33-
# it is not owned by the current user. We hit this since the "mounted" folder is not hit by the
34-
# Docker container.
35-
# xref https://github.com/pypa/manylinux/issues/1309
36-
git config --global --add safe.directory .
3737
python -m pip install --no-deps -U pip wheel 'setuptools<60.0.0' && \
3838
pip install cython numpy python-dateutil pytz pytest pytest-xdist pytest-asyncio>=0.17 hypothesis && \
3939
python setup.py build_ext -q -j2 && \

0 commit comments

Comments
 (0)