nox-uv 0.1.1.dev0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/PKG-INFO +1 -1
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/pyproject.toml +1 -1
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/src/nox_uv/__init__.py +1 -6
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/uv.lock +1 -1
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/.editorconfig +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/.github/workflows/ci.yml +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/.gitignore +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/.python-version +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/LICENSE.txt +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/README.md +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/noxfile.py +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/src/nox_uv/py.typed +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/tests/__init__.py +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/tests/subnoxfile.py +0 -0
- {nox_uv-0.1.1.dev0 → nox_uv-0.2.0}/tests/test_lib.py +0 -0
|
@@ -57,11 +57,6 @@ def session(
|
|
|
57
57
|
|
|
58
58
|
[function] = args
|
|
59
59
|
|
|
60
|
-
if venv_backend is None:
|
|
61
|
-
venv_backend = nox.options.default_venv_backend
|
|
62
|
-
|
|
63
|
-
is_uv = venv_backend == "uv"
|
|
64
|
-
|
|
65
60
|
# Create the `uv sync` command
|
|
66
61
|
sync_cmd = ["uv", "sync", "--no-default-groups"]
|
|
67
62
|
|
|
@@ -81,7 +76,7 @@ def session(
|
|
|
81
76
|
|
|
82
77
|
@functools.wraps(function)
|
|
83
78
|
def wrapper(s: nox.Session, *_args: Any, **_kwargs: Any) -> None:
|
|
84
|
-
if
|
|
79
|
+
if s.venv_backend == "uv":
|
|
85
80
|
env: dict[str, Any] = {"UV_PROJECT_ENVIRONMENT": s.virtualenv.location}
|
|
86
81
|
|
|
87
82
|
# UV called from Nox does not respect the Python version set in the Nox session.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|