hatch icon indicating copy to clipboard operation
hatch copied to clipboard

Context Formatting: system environment variables python and dev path not expanding

Open dwsmith1983 opened this issue 6 months ago • 0 comments

I currently using Hatch v1.14.1 with the follow system env variables:

  • echo $VENV_PYTHON -> /Users/<me>/.venvs/hatch-uv/python
  • echo $PYTON_DEV -> /Users/<me>/.venvs/dev
[tool.hatch.envs.dev]
path = "{env:PYTHON_DEV}"
python = "{env:VENV_PYTHON}"

However, these are treated as strings and not expanded.

dwsmith1983 avatar Jul 10 '25 05:07 dwsmith1983