3 ms·
Hi! I wrote this library / tool. Basically we needed a way to test arbitrary packaging situations and, instead of manually constructing packages or finding rep
by zanie 2y ago
Hi!
I wrote this library / tool. Basically we needed a way to test arbitrary packaging situations and, instead of manually constructing packages or finding representative situations on PyPI, we wrote a tool that could construct them automatically and host the required dependency trees.
We use these scenarios in uv's test suite[1] (our package manager).
There was an initial attempt to use these scenarios for testing in pip itself, but we'd need to invest a bit more into the tool for it to be feasible since resolver behavior can be different but still "correct" based on implementation details.
[1]: https://github.com/astral-sh/uv/blob/main/crates/uv/tests/pip_install_scenarios.rs https://github.com/astral-sh/uv/blob/main/crates/uv/tests/pi...
- odie5533 2y agoMight be good to include in the top of the README why the tool exists and possible use cases that people might use it for. It appears to be a way to check that a package being published has proper and expected dependency trees?