From 983fecd121033c4ecfca51344b137f33f44f17b3 Mon Sep 17 00:00:00 2001 From: Derek Date: Mon, 9 Nov 2026 15:21:03 +1100 Subject: [PATCH] fix(licences): ship loguru's licence text The loguru wheel carries no licence file, so the licence gate warned on every run. culvert now carries upstream's MIT text for version 0.7.3 in third_party/. Its override points at that file. --- .hyperi-ci.yaml | 4 ++++ third_party/loguru-0.7.3-LICENSE | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 third_party/loguru-0.7.3-LICENSE diff --git a/.hyperi-ci.yaml b/.hyperi-ci.yaml index 783e6ee..f8171c2 100644 --- a/.hyperi-ci.yaml +++ b/.hyperi-ci.yaml @@ -13,6 +13,10 @@ classification: oss quality: enabled: true + dep_licenses: + # This wheel ships no licence file. The text is upstream's, taken at the same version. + overrides: + - {name: loguru, version: "0.7.3", licence: MIT, reason: "Q118 A: upstream LICENSE at tag 0.7.3", licence_file: third_party/loguru-0.7.3-LICENSE} ignore: - tool: semgrep ids: diff --git a/third_party/loguru-0.7.3-LICENSE b/third_party/loguru-0.7.3-LICENSE new file mode 100644 index 0000000..5285f42 --- /dev/null +++ b/third_party/loguru-0.7.3-LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +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.