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

Python cataloging fails to remove some non-version characters from version string #1360

Closed
robcresswell opened this issue Nov 21, 2022 · 0 comments · Fixed by #1361
Closed
Assignees
Labels
bug Something isn't working

Comments

@robcresswell
Copy link
Contributor

robcresswell commented Nov 21, 2022

  1. Create a requirements.txt with the following content:

    argh==0.26.2 \
      --hash=sha256:a9b3aaa1904eeb78e32394cd46c6f37ac0fb4af6dc488daa58971bdc7d7fcaf3 \
      --hash=sha256:e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65
  2. Run syft requirements.txt. Note the version is 0.26.2 \, where it should be 0.26.2

syft version output:

$ syft version
Application:        syft
Version:            0.62.0
JsonSchemaVersion:  6.0.0
BuildDate:          2022-11-18T19:09:50Z
GitCommit:          da4b2df57640e03f273a2e7e9b04eca40555e139
GitDescription:     v0.62.0
Platform:           darwin/amd64
GoVersion:          go1.18.7
Compiler:           gc
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
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants