Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pypi API change causing missing dependencies #3008

Open
2 tasks done
DanBeard opened this issue Oct 3, 2022 · 0 comments
Open
2 tasks done

Pypi API change causing missing dependencies #3008

DanBeard opened this issue Oct 3, 2022 · 0 comments

Comments

@DanBeard
Copy link

DanBeard commented Oct 3, 2022

Thanks for taking the time to raise an issue. This template should guide you through the process of submitting a bug, enhancement or feature request. Please erase any part of this template that is not relevant to your issue.

Bugs

Before submitting a bug report:

  • Double-check that the bug is persistent,
  • Double-check the bug hasn't already been reported on our issue tracker, they should be labelled bug or bugsnag.

Description:

Pypi recently removed "releases" from their JSON API. The libraries.io pypi repository model is trying to log this value and throwing an exception (that gets eaten without logging in it's parent class base.rb). This causes all new projects to be shown with no dependencies.

Steps to reproduce:

  1. View a new pypi project release on libraries.io, via browser or JSON API
  2. Observe there are no dependencies listed. Compare response from Pypi JSON api.

Random Example chosen for no particular reason besides it's a new Pypi project with dependencies:

  1. View https://libraries.io/pypi/arduino-exporter/0.2.0
  2. Compare to https://pypi.org/pypi/arduino-exporter/0.2.0/json ( dependencies are listed in $["info"]["requires_dist"] )
@DanBeard DanBeard changed the title Pypi API change causing missing depndencies Pypi API change causing missing dependencies Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant