Skip to content

Commit ad6c775

Browse files
authored
CI: Versioneer not picking up version in 32-bit build
1 parent 578e918 commit ad6c775

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

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

2424
- name: Run 32-bit manylinux2014 Docker Build / Tests
2525
run: |
26+
# Without this, versioneer will not be able to run git commands 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
31+
git config --global --add safe.directory /io/numpy
2632
docker pull quay.io/pypa/manylinux2014_i686
2733
docker run --platform linux/386 -v $(pwd):/pandas quay.io/pypa/manylinux2014_i686 \
2834
/bin/bash -xc "cd pandas && \

0 commit comments

Comments
 (0)