Overview of uv-pyproject-cases
mainThe uv-pyproject-cases directory serves as an umbrella end-to-end (e2e) testing suite for aspect_rules_py. It is designed to provide regression coverage for various pyproject.toml, setup.py, and setup.cfg configurations that the pep517_whl/build_helper.py must correctly route.
Each case in this suite follows this pattern:
- Pins a real PyPI package via a central
uv.lock. - Forces the package to be resolved from its source distribution (sdist) using the
[tool.uv].no-binary-packageconfiguration. - Executes a smoke
py_testthat imports the built package. The primary assertion is that the sdist build succeeds.