@@ -175,20 +175,43 @@ jobs:
175175 PIP_EXTRA_INDEX_URL : " "
176176 PIP_NO_CACHE_DIR : " 1"
177177 run : |
178+ uv run python -V
178179 uv run python -m pip config debug
180+ uv run python -m pip --version
181+ uv run python -m pip debug --verbose | sed -n '1,120p'
179182 uv run python -m pip index versions PySide6 -i https://pypi.org/simple
183+ uv run python -m pip download --no-deps "pyside6==6.11.0" -i https://pypi.org/simple -d /tmp/pyside6-test
184+ ls -la /tmp/pyside6-test
180185 env | sort | grep '^PIP_' || true
181186
187+ - name : Debug constraints file (macOS)
188+ run : |
189+ ls -la constraints-briefcase.txt
190+ sed -n '1,120p' constraints-briefcase.txt
191+ rg '^pyside6' constraints-briefcase.txt || true
192+
182193 - name : Briefcase create / build / package (dmg)
183194 env :
184195 QT_QPA_PLATFORM : offscreen
185196 PIP_INDEX_URL : https://pypi.org/simple
186197 PIP_EXTRA_INDEX_URL : " "
187198 PIP_NO_CACHE_DIR : " 1"
188199 run : |
189- uv run briefcase create macOS app
190- uv run briefcase build macOS app
191- uv run briefcase package macOS -p dmg
200+ set -euo pipefail
201+ uv run briefcase -v create macOS app || {
202+ status=$?
203+ echo "Briefcase create failed; dumping saved create log if present..."
204+ ls -la logs || true
205+ latest_log=$(ls -1t logs/briefcase.*.create.log 2>/dev/null | head -n 1 || true)
206+ if [ -n "${latest_log}" ]; then
207+ echo "---- Begin ${latest_log} ----"
208+ sed -n '1,260p' "${latest_log}" || true
209+ echo "---- End ${latest_log} ----"
210+ fi
211+ exit "${status}"
212+ }
213+ uv run briefcase -v build macOS app
214+ uv run briefcase -v package macOS -p dmg
192215
193216 - name : Validate macOS signing secrets (optional gate)
194217 if : ${{ github.event_name == 'workflow_dispatch' && inputs.sign_artifacts }}
0 commit comments