Skip to content

Version formatting mismatch between Deps.dev API and PyPI for dependencies (e.g., 25.0.0 vs 25.0) #231

@karth06

Description

@karth06

Hi team,

  • I noticed a version mismatch for a dependency returned by the Deps.dev API when querying dependencies for the PyPI package datashader==0.18.0 using the below api-url

  • https://api.deps.dev/v3/systems/pypi/packages/datashader/versions/0.18.0:dependencies

  • The API lists the packaging dependency with version 25.0.0, but according to the official pypi website
    (https://pypi.org/project/packaging/#history), the version for packaging is 25.0 (note: no trailing .0).

  • This inconsistency could lead to confusion or cause issues for tools that rely on exact version matching between Deps.dev and PyPI.

  • Expected Behavior:
    The version returned by the API should match PyPI’s standard formatting (e.g., 25.0 instead of 25.0.0), unless there is a specific technical reason for representing it differently.
    lastly i would like to say, Thank for your great work!

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