You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh resolution: We have a set of requirements, but no lockfile. We need to figure a resolution without any prior context. These are continuously tested by resolve_warm_airflow, resolve_warm_jupyter and resolve_warm_jupyter_universal.
Incremental resolution: We have a lockfile that gives us preferences for versions (and help prefetching), but it's incompatible or incomplete with the requirements. This happens in a lot of cases, e.g. when pyproject.toml changed due to a version upgrade, with uv lock --upgrade-package or when using uv run --with. Our goal is to resolve versions that preserve most of the existing lockfile.
We run uv lock and the lockfile matches: We only need to check against package.metadata.requires-dist.
While we have good coverage for the first case and the last case is fast beyond the need for optimization (<20ms even for transformers with all extras), we don't have good coverage for the middle case. We should add a scenario to codspeed, with a universal resolution where the requirements changes so that they don't match uv.lock anymore.
The text was updated successfully, but these errors were encountered:
There are three scenarios for the uv resolver:
resolve_warm_airflow
,resolve_warm_jupyter
andresolve_warm_jupyter_universal
.pyproject.toml
changed due to a version upgrade, withuv lock --upgrade-package
or when usinguv run --with
. Our goal is to resolve versions that preserve most of the existing lockfile.uv lock
and the lockfile matches: We only need to check againstpackage.metadata.requires-dist
.While we have good coverage for the first case and the last case is fast beyond the need for optimization (<20ms even for transformers with all extras), we don't have good coverage for the middle case. We should add a scenario to codspeed, with a universal resolution where the requirements changes so that they don't match
uv.lock
anymore.The text was updated successfully, but these errors were encountered: