Before You Begin
Before proceeding, please make sure to follow these steps:
Issue Details
Licensecheck is suddenly failing for one of our requirements.txt files, with:
AttributeError: 'LicenseWithExceptionSymbol' object has no attribute 'key'
We have neither updated this file or licensecheck itself recently.
Description
This has just suddenly started happening. We have neither updated this file or licensecheck itself recently.
This error is resolved when we comment out the following libraries:
shap, particles, numba, llvmlite
These libraries have existed in the requirements.txt for many months.
Possible issue (from ChatGPT):
One (or more) of these packages has an SPDX-style license with a WITH exception in its metadata (or something else that makes license-expression return a LicenseWithExceptionSymbol).
licensecheck is assuming every symbol has a .key attribute, which is not true for LicenseWithExceptionSymbol, so it dies.
Before You Begin
Before proceeding, please make sure to follow these steps:
before.
Issue Details
Licensecheck is suddenly failing for one of our requirements.txt files, with:
AttributeError: 'LicenseWithExceptionSymbol' object has no attribute 'key'We have neither updated this file or licensecheck itself recently.
Description
This has just suddenly started happening. We have neither updated this file or licensecheck itself recently.
This error is resolved when we comment out the following libraries:
shap, particles, numba, llvmlite
These libraries have existed in the requirements.txt for many months.
Possible issue (from ChatGPT):
One (or more) of these packages has an SPDX-style license with a WITH exception in its metadata (or something else that makes license-expression return a LicenseWithExceptionSymbol).
licensecheck is assuming every symbol has a .key attribute, which is not true for LicenseWithExceptionSymbol, so it dies.