-
Notifications
You must be signed in to change notification settings - Fork 387
Open
Description
Problem description
pyproject.toml allows to specify a dynamic version, which I use with hatch-vcs build backend (see my pyproject.toml here). I have encountered two complications:
- It seems that in order for this to work well in the docker image, all environments containing the package must also have git, otherwise getting the version fails.
- I have
git = "*"specified inbuild-dependencies, but that doesn't seem to avoid failures. I tried moving this tohost-dependencies, and the problem went away, however it is not at all clear to me whetherbuild-dependenciesorhost-dependenciesare guaranteed to be present when installingpypi-dependencieswith{ path = ".", editable = true } - A cleaner way to integrate this with pixi would be by using pixi build, but as far as I can tell, it does not support dynamic version yet. (And no editable builds I assume?)
Altogether, at this point I am unsure what is the best way to use a package with a dynamic version with pixi, and I would appreciate a clarification or improvement of the available tools.
theavey, VeckoTheGecko, MatusGasparik and munechika-koyo
Metadata
Metadata
Assignees
Labels
No labels