I'm trying to build micropip from it's source micropip
python -m build
works as expected, but produces a file with a version string like 0.6.1.dev1+g84a5035.d20240305. The .dev1+... part causes problems downstream as pyodide does not accept this as a proper version.
I can't quite figure out why, where, and how that addition to the version is made during the build process and how to get rid off it. Any hint would be most welcome!
C, U.
Just for reference, as pointed out by Mike: In pyproject.toml, the version is set as a dynamic variable. This can be commented out and replaced with
version = "0.6.1".Obviously, there might be a more elaborate way as suggested by wim, to checkout a specific tag. In a first test, that didn't work, but is probably the proper way.