pre-commit-uv 4.0.2__tar.gz → 4.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pre-commit-uv
3
- Version: 4.0.2
3
+ Version: 4.0.3
4
4
  Summary: Run pre-commit with uv
5
5
  Project-URL: Bug Tracker, https://github.com/tox-dev/pre-commit-uv/issues
6
6
  Project-URL: Changelog, https://github.com/tox-dev/pre-commit-uv/releases
@@ -54,7 +54,9 @@ def _new_main(argv: list[str] | None = None) -> int:
54
54
  py = python.norm_version(version)
55
55
  if py is not None:
56
56
  venv_cmd.extend(("-p", py))
57
- cmd_output_b(*venv_cmd, cwd="/")
57
+ env = os.environ.copy()
58
+ env["UV_INTERNAL__PARENT_INTERPRETER"] = sys.executable
59
+ cmd_output_b(*venv_cmd, cwd="/", env=env)
58
60
 
59
61
  with python.in_env(prefix, version):
60
62
  setup_cmd(prefix, (uv, "pip", "install", ".", *additional_dependencies))
File without changes
File without changes
File without changes
File without changes