-
Notifications
You must be signed in to change notification settings - Fork 7
Description
🔍 Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
🐞 Description of the bug
License checker should be checking the packages installed on a customer's machine, not pinned development only dependencies, unless the license terms of those packages specifically prohibit commercial use etc.
In the case of PyMaterials Manager the action is complaining about several dependencies being LGPL and friends, for example astroid which is a transitive dependency of sphinx-automodapi. This is used only to generate the documentation, and is not installed on a customer's environment.
Simply checking the lock file, or the environment when poetry install has been used is not the way to determine license compliance, realistically for locked environments we ought to install only the project, excluding any extras or other groups before running the reporting tool.
📝 Steps to reproduce
https://github.com/ansys/pymaterials-manager/actions/runs/19696138640/job/56421521678
💻 Which operating system are you using?
Linux
📀 Which ANSYS version are you using?
No response
🐍 Which Python version are you using?
3.12
📦 Installed packages
n/a