mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00

At a high level, this PR adds a smattering of new tests that effectively snapshot the output of `uv lock` for a selection of "ecosystem" projects. That is, real Python projects for which we expect `uv` to work well with. The main idea with these tests is to get a better idea of how changes in `uv` impact the lock files of real world projects. For example, we're hoping that these tests will help give us data for how #5733 differs from #5887. This has already revealed some bugs. Namely, re-running `uv lock` for a second time will produce a different lock file for some projects. So to prioritize getting the tests added, for those projects, we don't do the deterministic checking.
12 lines
339 B
Python
12 lines
339 B
Python
import tomli
|
|
from setuptools import build_meta as _orig
|
|
from setuptools.build_meta import *
|
|
|
|
|
|
def get_requires_for_build_wheel(config_settings=None):
|
|
with open("pyproject.toml", "rb") as f:
|
|
p = tomli.load(f)
|
|
return [
|
|
*_orig.get_requires_for_build_wheel(config_settings),
|
|
*p['project']['dependencies']
|
|
]
|