uv
uv copied to clipboard
There are some issues when using other indexes
Summary
create a new project
uv init demo
install flask with default
cd demo
uv add flask
uv.lock like as
it used default PyPI, it's ok
Then i want to install a package from private index, i add index to pyproject.toml
install package
uv add
issue 1:
in
uv.lock , all packages source have been replaced by private index, Does this mean that all packages are installed from a private index?
then i search from uv documentation
do it! remove package and index first
uv remove configserver-python
issue 2:
all packages source in
uv.lock still my private index
uv lock? do it
uv lock
nothing happened, still private index
uv lock --refresh?
uv lock --refresh
still private index.
ok, remove it . redo all.
uv add flask configserver-python
Platform
Ubuntu24.04
Version
uv 0.7.3
Python version
Python 3.12.3