diff --git a/test/test_license.py b/test/test_license.py index e54247e9af37..e7eb0459d3aa 100644 --- a/test/test_license.py +++ b/test/test_license.py @@ -15,7 +15,7 @@ except ImportError: create_bundled = None license_file = "third_party/LICENSES_BUNDLED.txt" -starting_txt = "The Pytorch repository and source distributions bundle" +starting_txt = "The PyTorch repository and source distributions bundle" site_packages = os.path.dirname(os.path.dirname(torch.__file__)) distinfo = glob.glob(os.path.join(site_packages, "torch-*dist-info")) diff --git a/third_party/LICENSES_BUNDLED.txt b/third_party/LICENSES_BUNDLED.txt index 1bc4247d27a4..768584ab5226 100644 --- a/third_party/LICENSES_BUNDLED.txt +++ b/third_party/LICENSES_BUNDLED.txt @@ -1,4 +1,4 @@ -The Pytorch repository and source distributions bundle several libraries that are +The PyTorch repository and source distributions bundle several libraries that are compatibly licensed. We list these here. Name: DCGM @@ -78,6 +78,11 @@ License: BSD-3-Clause Files: third_party/kineto/libkineto/third_party/dynolog/third_party/DCGM/testing/python3/libs_3rdparty/colorama For details, see: third_party/kineto/libkineto/third_party/dynolog/third_party/DCGM/testing/python3/libs_3rdparty/colorama/LICENSE.txt +Name: cpp-httplib +License: MIT +Files: third_party/cpp-httplib + For details, see: third_party/cpp-httplib/LICENSE + Name: cpplint License: BSD-3-Clause Files: third_party/kineto/libkineto/third_party/dynolog/third_party/json/third_party/cpplint, @@ -168,12 +173,12 @@ Files: third_party/flatbuffers Name: fmt License: MIT with exception -Files: third_party/fmt, - third_party/kineto/libkineto/third_party/dynolog/third_party/fmt, - third_party/kineto/libkineto/third_party/fmt - For details, see: third_party/fmt/LICENSE, - third_party/kineto/libkineto/third_party/dynolog/third_party/fmt/LICENSE.rst, - third_party/kineto/libkineto/third_party/fmt/LICENSE.rst +Files: third_party/kineto/libkineto/third_party/dynolog/third_party/fmt, + third_party/kineto/libkineto/third_party/fmt, + third_party/fmt + For details, see: third_party/kineto/libkineto/third_party/dynolog/third_party/fmt/LICENSE.rst, + third_party/kineto/libkineto/third_party/fmt/LICENSE.rst, + third_party/fmt/LICENSE Name: foxi License: MIT @@ -259,7 +264,7 @@ Files: third_party/fbgemm/third_party/hipify_torch For details, see: third_party/fbgemm/third_party/hipify_torch/LICENSE.txt Name: hungarian -License: Apache-2.0 +License: Permissive (free to use) Files: third_party/opentelemetry-cpp/tools/vcpkg/ports/hungarian For details, see: third_party/opentelemetry-cpp/tools/vcpkg/ports/hungarian/LICENSE.txt @@ -359,7 +364,7 @@ Files: third_party/opentelemetry-cpp/third_party/opentracing-cpp For details, see: third_party/opentelemetry-cpp/third_party/opentracing-cpp/LICENSE Name: pdcurses -License: Apache-2.0 +License: Public Domain for core Files: third_party/opentelemetry-cpp/tools/vcpkg/ports/pdcurses For details, see: third_party/opentelemetry-cpp/tools/vcpkg/ports/pdcurses/LICENSE diff --git a/third_party/build_bundled.py b/third_party/build_bundled.py index 8c90afe8249f..1569447ffb0c 100644 --- a/third_party/build_bundled.py +++ b/third_party/build_bundled.py @@ -41,7 +41,7 @@ def create_bundled(d, outstream, include_files=False): """Write the information to an open outstream""" collected = collect_license(d) sorted_keys = sorted(collected.keys()) - outstream.write('The Pytorch repository and source distributions bundle ' + outstream.write('The PyTorch repository and source distributions bundle ' 'several libraries that are \n') outstream.write('compatibly licensed. We list these here.') files_to_include = [] @@ -107,10 +107,10 @@ def identify_license(f, exception=''): return 'Apache-2.0' elif 'libhungarian' in txt: # Used in opentelemetry-cpp/tools/vcpkg/ports/hungarian - return 'Apache-2.0' + return 'Permissive (free to use)' elif 'PDCurses' in txt: # Used in opentelemetry-cpp/tools/vcpkg/ports/pdcurses - return 'Apache-2.0' + return 'Public Domain for core' elif 'Copyright1999UniversityofNorthCarolina' in txt: # Used in opentelemetry-cpp/tools/vcpkg/ports/pqp return 'Apache-2.0'