Skip to content

Commit

Permalink
fix: add /auditwheel_src to git safe directories (#378)
Browse files Browse the repository at this point in the history
The volume bound to the manylinux/musllinux for `/auditwheel_src` uses the host uid for file ownership which is different from the uid used inside the containers.

git now checks uid to allow/deny actions.

This adds `/auditwheel_src` to git safe directories to allow setuptools_scm to infer auditwheel version inside the containers.
  • Loading branch information
mayeut authored May 1, 2022
1 parent 46a7274 commit 756580b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ def any_manylinux_img(self, request):
with tmp_docker_image(
base,
[
'git config --global --add safe.directory "/auditwheel_src"',
"pip install -U pip setuptools pytest-cov",
"pip install -U -e /auditwheel_src",
],
Expand Down Expand Up @@ -935,6 +936,7 @@ def any_manylinux_img(self, request):
with tmp_docker_image(
base,
[
'git config --global --add safe.directory "/auditwheel_src"',
"pip install -U pip setuptools pytest-cov",
"pip install -U -e /auditwheel_src",
],
Expand Down

0 comments on commit 756580b

Please sign in to comment.