You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running grayskull on a GitHub repo or sdist for a package using setuptools-scm (not sure this is only due to that), licenses under .eggs are detected and added to the meta.yaml.
Expected behavior
Only the license of the package should be detected. .eggs should be excluded.
Outputs
Recovering license info from spdx.org ...
Matching license file with database from Grayskull...
Match percentage of the license is 99%. Low match percentage could mean that the license was modified.
Matching license file with database from Grayskull...
Match percentage of the license is 64%. Low match percentage could mean that the license was modified.
Matching license file with database from Grayskull...
Match percentage of the license is 98%. Low match percentage could mean that the license was modified.
License type: LGPL-3.0
License file: ['LICENSE.txt']
License type: Apache-2.0
License file: ['LICENSE.txt', '.eggs/typing_extensions-4.4.0-py3.9.egg/EGG-INFO/LICENSE']
License type: MIT
License file: ['LICENSE.txt', '.eggs/typing_extensions-4.4.0-py3.9.egg/EGG-INFO/LICENSE', '.eggs/setuptools_scm-7.0.5-py3.9.egg/EGG-INFO/LICENSE']
Multiple licenses detected! Please, be sure to check them.
about:
home: https://github.com/MaxIV-KitsControls/lib-maxiv-pandaboxlibsummary: Library for communication with PandABox.This communication is based in TCP/IP sockets.license: Apache-2.0 & MIT & LGPL-3.0license_file:
- LICENSE.txt
- .eggs/typing_extensions-4.4.0-py3.9.egg/EGG-INFO/LICENSE
- .eggs/setuptools_scm-7.0.5-py3.9.egg/EGG-INFO/LICENSE
When searching for licenses, files in hidden directories (like .eggs/LICENSE) were
excluded but not the directories under (.eggs/foo/)..
Don't just hope over hidden directories but remove them from the list
of directories to search.
Fixconda#398
* Ignore licenses in hidden directories
When searching for licenses, files in hidden directories (like .eggs/LICENSE) were
excluded but not the directories under (.eggs/foo/)..
Don't just hope over hidden directories but remove them from the list
of directories to search.
Fix#398
* Fix typing
Co-authored-by: Marcelo Duarte Trevisani <marcelotrevisani@users.noreply.github.com>
Co-authored-by: Marcelo Duarte Trevisani <marcelotrevisani@users.noreply.github.com>
Describe the bug
When running grayskull on a GitHub repo or sdist for a package using setuptools-scm (not sure this is only due to that), licenses under
.eggs
are detected and added to themeta.yaml
.To Reproduce
Steps to reproduce the behavior:
or:
Expected behavior
Only the license of the package should be detected.
.eggs
should be excluded.Outputs
Environment:
The text was updated successfully, but these errors were encountered: