-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
[BUG] Multi constraint poetry dependency leads to error #727
Comments
@flozzone to be able to reproduce your example, could you provide the according poetry lock file? |
@jkowalleck Sure, I've also added the lock file to the repro description on top: [poetry.lock.txt]. (https://github.com/CycloneDX/cyclonedx-python/files/15107162/poetry.lock.txt) Please remove the |
tried to reproduce and fix via #728 but actually, I was unable to reproduce the issue, but generated valid SBOMs instead, |
@flozzone was unable to reproduce, could you elaborate on all of that? |
did additional testing and found, that all is good, when using there appears to be a bug in cling this issue here, as it is caused by something else downstream, not caused in this tool |
the I still might drop a release that excludes this library version from being used... |
add regression test for #727 fixes #727 --------- Signed-off-by: Jan Kowalleck <[email protected]>
Describe the bug
Using multi-constraint poetry dependencies leads to an error.
To Reproduce
Steps to reproduce the behavior
poetry new test
Adapt the
pyproject.toml
to include a multi-constraint dependency:Lock dependencies
This is how the
poetry.lock
file should look like after locking: poetry.lock.txtAnd run cyclonedx-py on it
Expected behavior
Successfully parsed multi-constraint dependency
Screenshots or output-paste
Pasting verbose output of the same command.
Environment
Additional context
Add any other context about the problem here.
Multi-constraint dependencies have been introduced by #660
The text was updated successfully, but these errors were encountered: