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

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

Closed
shreekarSS opened this issue Jul 26, 2022 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. sig/devsecops Categorizes an issue or PR as relevant to SIG DevSecOps. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@shreekarSS
Copy link
Member

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

@shreekarSS shreekarSS added the kind/bug Categorizes issue or PR as related to a bug. label Jul 26, 2022
@goern
Copy link
Member

goern commented Aug 9, 2022

This seems to require an integration test, right?

/sig devsecops
/priority critical-urgent
/triage accepted

@sesheta sesheta added sig/devsecops Categorizes an issue or PR as relevant to SIG DevSecOps. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Aug 9, 2022
@harshad16
Copy link
Member

suggestion shared here: #1784 (comment)
would resolve this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. sig/devsecops Categorizes an issue or PR as relevant to SIG DevSecOps. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

4 participants