thoth-station / user-api

Web Service exposing Thoth functions to the RESTful worlds
https://thoth-station.github.io/
GNU General Public License v3.0
8 stars 18 forks source link

GET ​/python​/package​/dependencies Get direct dependencies of Python libraries: 404 Error #1783

Closed shreekarSS closed 2 years ago

shreekarSS commented 2 years ago

Describe the bug Get api gives 404 Error with default input values { "error": "No record found for package 'tensorflow' in version '2.8.0' from index 'https://pypi.org/simple' for 'ubi' in version '9' using Python version '3.9'", "parameters": { "index": "https://pypi.org/simple", "marker_evaluation_result": null, "name": "tensorflow", "os_name": "ubi", "os_version": "9", "python_version": "3.9", "version": "2.8.0" } }

To Reproduce Steps to reproduce the behavior:

  1. Try https://khemenu.thoth-station.ninja/api/v1/ui/#/PythonPackages/get_python_package_dependencies

Expected behavior API should give 200 response with package info

goern commented 2 years ago

This seems to require an integration test, right?

/sig devsecops /priority critical-urgent /triage accepted

harshad16 commented 2 years ago

suggestion shared here: https://github.com/thoth-station/user-api/issues/1784#issuecomment-1220282271 would resolve this issue as well.