Skip to content

fix: add dynamic version to pyproject.toml for PEP 621 and uv compliance#692

Open
tom21100227 wants to merge 1 commit intoHumanSignal:masterfrom
tom21100227:fix/pyproject-dynamic-version
Open

fix: add dynamic version to pyproject.toml for PEP 621 and uv compliance#692
tom21100227 wants to merge 1 commit intoHumanSignal:masterfrom
tom21100227:fix/pyproject-dynamic-version

Conversation

@tom21100227
Copy link

closes #663

When using uv to install label-studio-ml-backends, it would give an error:

$ git clone https://github.com/HumanSignal/label-studio-ml-backend.git
$ cd label-studio-ml-backend/
$ uv venv # create an uv env
$ uv pip install -e .
...error message...
`pyproject.toml` is using the `[project]` table, but the required
  `project.version` field is neither set nor present in the
  `project.dynamic` list

With the addition in this PR it

  1. Ensures PEP compliance
  2. People can use uv with label-studio-ml-backends.

@github-actions github-actions bot added the fix label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyproject.toml missing project.version -> causes error adding to uv managed environments.

1 participant