Repository navigation
Replies: 1 comment
|
For this hierarchy, list all the extra dependencies needed by the final environment: [tool.hatch.envs.experimental]
template = "dev-base"
extra-dependencies = ["dep3", "dep4", "dep5"]That preserves the two dependencies inherited from |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This question is related to #153, but with the extra-dependencies in case you use another level of templates:
I once used a tool (yocto, but the config files are actually just python files, but the idea can be applied here) and they provided the suffix
appendandprependfor (some) configuration fields. They were non-destructive and did what they say, the appended or prepended what you defined to the field. This would also have solved #153:So
dependencies-appenddoes not overwritedependencies, but they also do not overwritedependencies-appenddefined somewhere else. If you usedependencies =, it overwrites the dependencies defined by its template.All reactions