diff --git a/LICENSE-bundled-js b/LICENSE-bundled-js new file mode 100644 index 000000000..b4a722a28 --- /dev/null +++ b/LICENSE-bundled-js @@ -0,0 +1,110 @@ +/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * @remix-run/router v1.15.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */ + +/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */ + +/** + * React Router DOM v6.22.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */ + +/** + * React Router v6.22.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */ + +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ diff --git a/LICENSE-wheel b/LICENSE-wheel index b1c8c03b0..141655a6b 100644 --- a/LICENSE-wheel +++ b/LICENSE-wheel @@ -226,3 +226,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------- + +Third-party JavaScript license notices for the bundled Burr UI are included +in ``LICENSE-bundled-js``. diff --git a/pyproject.toml b/pyproject.toml index 6a17ee988..2a934d01f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,12 @@ maintainers = [ ] description = "Apache Burr (incubating) makes it easy to develop applications that make decisions (chatbots, agents, simulations, etc...) from simple python building blocks." readme = "README.md" -license-files = ["LICENSE-wheel", "NOTICE", "DISCLAIMER"] +license-files = [ + "LICENSE-wheel", + "LICENSE-bundled-js", + "NOTICE", + "DISCLAIMER", +] keywords = ["mlops", "data", "state-machine", "llmops"] classifiers = [ "Development Status :: 4 - Beta", @@ -267,6 +272,7 @@ include = [ "NOTICE", "DISCLAIMER", "LICENSE-wheel", + "LICENSE-bundled-js", "scripts/**", "telemetry/ui/**", "examples/__init__.py", diff --git a/scripts/verify_apache_artifacts.py b/scripts/verify_apache_artifacts.py index 17b29f240..fc7226ac6 100755 --- a/scripts/verify_apache_artifacts.py +++ b/scripts/verify_apache_artifacts.py @@ -60,7 +60,7 @@ # Configuration PROJECT_SHORT_NAME = "burr" REQUIRED_TEXT_FILES = ("LICENSE", "NOTICE", "DISCLAIMER") -WHEEL_LICENSE_FILES = ("LICENSE-wheel",) +WHEEL_LICENSE_FILES = ("LICENSE-wheel", "LICENSE-bundled-js") WHEEL_REQUIRED_TEXT_FILES = ("NOTICE", "DISCLAIMER") + WHEEL_LICENSE_FILES PASS = "PASS" FAIL = "FAIL" diff --git a/tests/test_verify_apache_artifacts.py b/tests/test_verify_apache_artifacts.py index c8f15f362..36837cd07 100644 --- a/tests/test_verify_apache_artifacts.py +++ b/tests/test_verify_apache_artifacts.py @@ -86,6 +86,9 @@ def test_verify_artifact_contents_passes_for_tarball_and_wheel(): "apache_burr-0.41.0.dist-info/licenses/LICENSE-wheel": _reference_text( "LICENSE-wheel" ), + "apache_burr-0.41.0.dist-info/licenses/LICENSE-bundled-js": _reference_text( + "LICENSE-bundled-js" + ), }, )