On Fri, Oct 13 2023 at 08:15:39 AM +0200, Miroslav Suchý
<msuchy@xxxxxxxxxx> wrote:
Scancode-toolkit is not yet in Fedora, but you can instal it form
PyPI:
$ pip install scancode-toolkit
$ ~/.local/bin/scancode --license --html /tmp/spdx.html .
I attempted this, but unfortunately it depedns on intbitset which is
incompatible with python 3.12, so it won't work if you've upgraded to
Fedora 39. Example errors:
intbitset/intbitset.c: In function ‘__Pyx_Raise’:
intbitset/intbitset.c:15725:34: error: ‘PyThreadState’ {aka
‘struct _ts’} has no member named ‘curexc_traceback’
15725 | PyObject* tmp_tb = tstate->curexc_traceback;
| ^~
intbitset/intbitset.c:15728:19: error: ‘PyThreadState’ {aka
‘struct _ts’} has no member named ‘curexc_traceback’
15728 | tstate->curexc_traceback = tb;
| ^~
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue