-
Notifications
You must be signed in to change notification settings - Fork 89
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: adding 'version=2' makes license checks start failing. #628
Comments
I found a string that works: I'm still puzzled why the behavior changed when I added |
This is documented. As are the annoyances with GPLish licenses. |
I have read that documentation, and I'm afraid I don't understand which part of the |
Copyleft licenses are warn by default before setting version = 2 |
Thanks for the clarification. I was going back through my output when I figured out part of my problem: I was confused because license My naive expectation is that a license warning and a license error would look similar, but one would fail the check and the other wouldn't. A license warning says |
That was one of the issues that this deprecation is addressing. |
Describe the bug
I upgraded my
deny.toml
to useversion = 2
in the[licenses]
section.After making that change, a new failure appears, due to the license string
"LGPL-2.1-or-later WITH GCC-exception-2.0"
in thesystemd
crate:I have tried allowing
LGPL-2.1
, and that fails with the same message. I also triedLGPL-2.1-or-later WITH GCC-exception-2.0
,LGPL-2.1-or-later
,LGPL-2.1+
, but those appear to be the wrong syntax.I have read through #606 and #611, and I wasn't able to figure out why this behavior changed.
To reproduce
A small project that shows the problem:
deny.toml
Cargo.toml
cargo-deny version
cargo-deny 0.14.16
What OS were you running cargo-deny on?
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: