We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1d1171 + 1a3b35d commit c9f03faCopy full SHA for c9f03fa
1 file changed
.github/workflows/release.yml
@@ -108,6 +108,14 @@ jobs:
108
ref: ${{ needs.verify-version.outputs.tag }}
109
fetch-depth: 0 # setuptools-scm needs full history + tags
110
111
+ # Inside the manylinux container the workspace is owned by a different
112
+ # UID than root, so git refuses to read it ("dubious ownership") and
113
+ # setuptools-scm version resolution fails during pip install.
114
+ - name: Mark workspace as safe for git (container)
115
+ if: matrix.container != ''
116
+ shell: bash
117
+ run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
118
+
119
# manylinux images ship multiple Pythons under /opt/python; expose one.
120
- name: Configure Python (manylinux container)
121
if: matrix.container != ''
0 commit comments