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

Normalize PyPI package names before calling Trusty #4547

Open
eleftherias opened this issue Sep 19, 2024 · 0 comments
Open

Normalize PyPI package names before calling Trusty #4547

eleftherias opened this issue Sep 19, 2024 · 0 comments

Comments

@eleftherias
Copy link
Contributor

The PyPI specification states that python package names should be normalized https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization.
The package names that we parse from requirements.txt do not necessarily adhere to the normalization rules.

We should normalize the package name before sending it to Trusty.

I think we already do this before calling OSV.

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