google / google/deps.dev

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

Open
#231 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
443
Forks
54
Avg merge
1d 22h
Merged PRs (30d)
3

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.