More uv things
I found out about uv self upgrade which took me from 0.5 to 0.8, read the CHANGELOGs etc. and many neat things exist.
- Upgrading packages:
- .. is confusing: Add option to upgrade all packages in the environment, e.g.,
upgrade --all· Issue #1419 · astral-sh/uv - change uv.lock only, not pyproject.toml
uv add -U pydanticone packageuv lock --upgradeall of them?
- .. is confusing: Add option to upgrade all packages in the environment, e.g.,
- Testing packages not yet on pypi/…:
uv buildpackage you want to use- in the other project:
uv add ../other/dist/package-2.4.0-py3-none-any.whl - when doen, just delete from pyproject lines like:
[tool.uv.sources] coral-ucf = { path = "../other/dist/package-2.4.0-py3-none-any.whl" } - (see also: 250804-1444 Using a private gitlab repository with uv)
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus