Installing the package using uv pip mode (instead of plain pip) fails with:
$ uv --version
uv 0.10.3
$ uv pip install cmsis-pack-manager
Using Python 3.12.12 environment at: .
Resolved 5 packages in 184ms
x Failed to download and build `cmsis-pack-manager==0.6.0`
|-> Failed to parse: `/root/.cache/uv/sdists-v9/pypi/cmsis-pack-manager/0.6.0/DmjuoGecpqC99vetrzJI5/src/pyproject.toml`
`-> TOML parse error at line 8, column 1
|
8 | [project]
| ^^^^^^^^^
`pyproject.toml` is using the `[project]` table, but the required `project.version` field is neither set nor present in the `project.dynamic` list
In versions of uv older than 0.9.26, the command works. This type of metadata check has been present in uv since before 0.5.10 though (when a nicer error message was added via astral-sh/uv@48c9196) - it just didn't trigger in uv pip mode apparently.
As mentioned in the Python Packaging Guide, the field is indeed required. So it would be nice if it could be added.
Installing the package using
uvpip mode (instead of plainpip) fails with:In versions of
uvolder than0.9.26, the command works. This type of metadata check has been present inuvsince before 0.5.10 though (when a nicer error message was added via astral-sh/uv@48c9196) - it just didn't trigger inuv pipmode apparently.As mentioned in the Python Packaging Guide, the field is indeed required. So it would be nice if it could be added.