Skip to content

Commit 1ead52b

Browse files
committed
Ignore global uv config
1 parent 7138db2 commit 1ead52b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pythonx/uv.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ defmodule Pythonx.Uv do
2828
File.write!(Path.join(project_dir, "pyproject.toml"), pyproject_toml)
2929

3030
# We always use uv-managed Python, so the paths are predictable.
31-
if run!(["sync", "--python-preference", "only-managed"],
31+
if run!(["sync", "--managed-python", "--no-config"],
3232
cd: project_dir,
3333
env: %{"UV_PYTHON_INSTALL_DIR" => python_install_dir},
3434
uv_version: opts[:uv_version]

0 commit comments

Comments
 (0)