Skip to content

Install from PyPI via uv fails with "invalid type" #178

@dynobo

Description

@dynobo

Thanks a lot for this nice tool!

Recently, I migrated a project to uv for dependency management, but when trying to install tbump with it, I get the error:

 error: Received some unexpected JSON from https://pypi.org/simple/tbump/
  Caused by: invalid type: string ">=\"3.5\"", expected a borrowed string at line 1 column 19557

Steps to reproduce:

  1. Install uv
  2. In an empty folder run uv init (to create a basic project skeleton)
  3. Then try uv add tbump to install tbump.

Any ideas, why this is happening? I'm using uv for quite a while now, but haven't seen such an error for other packages before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions