-
Is there a way to set a variable somewhere in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I found a simple workaround for anyone who finds their way here. I defined a special environment called [tool.hatch.envs.base]
template = "base"
python = "3.11"
[tool.hatch.envs.default]
template = "base"
# ...
[tool.hatch.envs.deploy]
template = "base"
# ...
[tool.hatch.envs.training]
template = "base"
# ... This does not provide general variables for other uses, but this solved my original problem. |
Beta Was this translation helpful? Give feedback.
I found a simple workaround for anyone who finds their way here. I defined a special environment called
base
where I put the python version to be shared.This does not provide general variables for other uses, but this solved my original problem.