On Fri, Oct 13 2023 at 08:15:39 AM +0200, Miroslav Suchý <msu...@redhat.com> 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to