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

failed to parse constraint of GHSA-rp8m-h266-53jh #2281

Closed
tomersein opened this issue Nov 25, 2024 · 3 comments
Closed

failed to parse constraint of GHSA-rp8m-h266-53jh #2281

tomersein opened this issue Nov 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tomersein
Copy link
Contributor

What happened:
the parsing of the constraint is failing
output:

[0002] ERROR failed to inflate vulnerability record: failed to parse constraint='<0.8.3ubuntu7.5' format='Python': unable to parse pep440 constrain p
[0002] ERROR failed to inflate vulnerability record: failed to parse constraint='>=0.9.0,<0.9.3.5ubuntu3' format='Python': unable to parse pep440 con
[0002] ERROR failed to inflate vulnerability record: failed to parse constraint='>=1.2.0,<1.6.5ubuntu0.1' format='Python': unable to parse pep440 con
[0002] ERROR failed to inflate vulnerability record: failed to parse constraint='>=1.7.0,<1.9.0ubuntu1.2' format='Python': unable to parse pep440 con
ID                   PACKAGE NAME  NAMESPACE               VERSION CONSTRAINT
GHSA-rp8m-h266-53jh  python-apt    github:language:python  >=1.0.0,<1.1.0 (python)

What you expected to happen:
be able to pass the constraint
How to reproduce it (as minimally and precisely as possible):
grype db search GHSA-rp8m-h266-53jh

Anything else we need to know?:

Environment:

  • Output of grype version: 0.85.0
  • OS (e.g: cat /etc/os-release or similar): mac
@tomersein tomersein added the bug Something isn't working label Nov 25, 2024
@popey
Copy link
Contributor

popey commented Nov 25, 2024

Hi @tomersein - thanks for the issue. Is this perhaps related to, or a duplicate of issue #2229 ?

@tomersein
Copy link
Contributor Author

hi! @popey , yes, it looks like the same issue

@willmurphyscode
Copy link
Contributor

Thanks for the report @tomersein! This seems to be an exact duplicate of #2229, so I'm closing in favor of that issue. Please follow that issue for updates.

@willmurphyscode willmurphyscode closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2024
@github-project-automation github-project-automation bot moved this to Done in OSS Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants