Skip to content

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

Description

@shinstra-intranel

Cannot add label-studio-sdk to uv managed python environment due to missing version field in the pyproject.toml.

  × Failed to download and build `label-studio-sdk @ git+https://github.com/HumanSignal/label-studio-sdk.git`     
  ├─▶ Failed to parse:
  │   `C:\Users\XXXXXXX\AppData\Local\uv\cache\git-v0\checkouts\73f42ed57643abd9\5c58895\pyproject.toml`
  ╰─▶ TOML parse error at line 1, column 1
        |
      1 | [project]
        | ^^^^^^^^^
      `pyproject.toml` is using the `[project]` table, but the required `project.version` field is neither set    
      nor present in the `project.dynamic` list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions