-
Notifications
You must be signed in to change notification settings - Fork 3k
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
scancode: broken today due to a python error an unexpected keyword argument 'update_min_steps #15033
Comments
If you patch the scancode, what about adding a filter |
That's unrelated. I should create a new issue to fix that SPDX checking , I'll do it today. |
I am not able to reproduce locally. My setup:
I executed scancode on mbed-os/cmsis folder
|
The only similar reference I was able to found: aboutcode-org/scancode-toolkit#636 (comment) The error comes from sys.exit() in scancode.. Is this related rather to Docker and env there? Or is it the latest python 3.8.12 release (released 30.8, so 2 days ago, about the time it started being red). |
Seems it is because of the click module :
after update click scancode works |
This would fix the GHA CI: #15043 |
Fixed now on master |
Description of defect
Few PRs are red today due to breakage in scancode, see : https://github.com/ARMmbed/mbed-os/pull/15022/checks?check_run_id=3445020605
The error is:
scancode-toolkit recent release is 5th of August, so it must be somewhere in its dependencies. Although their requirements are locked to specific versions https://github.com/nexB/scancode-toolkit/blob/develop/requirements.txt
Target(s) affected by this defect ?
all
Toolchain(s) (name and version) displaying this defect ?
all
What version of Mbed-os are you using (tag or sha) ?
mbed-os-6.14
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
not relevant
How is this defect reproduced ?
Create a new pull request and it will become red with this failure.
cc @ARMmbed/mbed-os-test
The text was updated successfully, but these errors were encountered: