mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
![]() See #9686 ``` ❯ uv run python -c "import uv; uv.build_sdist" Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/zb/workspace/uv/python/uv/__init__.py", line 45, in __getattr__ raise AttributeError(err) AttributeError: Using `uv.build_sdist` is not allowed. The uv build backend requires preview mode to be enabled, e.g., via the `UV_PREVIEW=1` environment variable. ❯ uv run python -c "import uv; uv.foo" Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/zb/workspace/uv/python/uv/__init__.py", line 48, in __getattr__ raise AttributeError(err) AttributeError: module 'uv' has no attribute 'foo' ❯ uv run python -c "import uv; uv.find_uv_bin" ``` |
||
---|---|---|
.. | ||
uv |