Updating the sigslot license to Public Domain (#128085)

It seems that Sigslot's license is Public Domain, not Apache 2. https://sigslot.sourceforge.net

Pull Request resolved: https://github.com/pytorch/pytorch/pull/128085
Approved by: https://github.com/janeyx99
This commit is contained in:
JJ Asghar
2024-06-13 18:13:52 +00:00
committed by PyTorch MergeBot
parent 8733c4f4be
commit de9a072ac4
2 changed files with 3 additions and 3 deletions

4
third_party/LICENSES_BUNDLED.txt generated vendored
View File

@ -420,7 +420,7 @@ Files: third_party/python-peachpy
For details, see: third_party/python-peachpy/LICENSE.rst
Name: sigslot
License: Apache-2.0
License: Public Domain
Files: third_party/opentelemetry-cpp/tools/vcpkg/ports/sigslot
For details, see: third_party/opentelemetry-cpp/tools/vcpkg/ports/sigslot/LICENSE
@ -477,4 +477,4 @@ Files: third_party/opentelemetry-cpp/tools/vcpkg/ports/vulkan
Name: zstd
License: BSD-3-Clause
Files: third_party/zstd
For details, see: third_party/zstd/LICENSE
For details, see: third_party/zstd/LICENSE

View File

@ -116,7 +116,7 @@ def identify_license(f, exception=''):
return 'Apache-2.0'
elif 'sigslot' in txt:
# Used in opentelemetry-cpp/tools/vcpkg/ports/sigslot
return 'Apache-2.0'
return 'Public Domain'
elif squeeze("Clarified Artistic License") in txt:
return 'Clarified Artistic License'
elif all([squeeze(m) in txt.lower() for m in bsd3_txt]):