tools/test-windows-install-fails.sh
raw| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | # Simple check that installing on windows fails as expected. |
| 6 | uv build --no-build-logs |
| 7 | docker run --rm -v "$(pwd)":/workdir -t tobix/pywine:3.10 bash -c 'wine pip install /workdir/dist/*.whl' \ |
| 8 | | tee /dev/stderr \ |
| 9 | | grep -q 'UnsupportedPython: One or more packages do not support' |
| 10 | |
| 11 | echo '✅ Windows installation test passed: installation failed as expected!' |