Adopt MIT for DSH packages
This commit is contained in:
1 parent
e5819569f4
commit
c905c4694e
237 files changed
+414
-258
No files matched your search
@@ -234,9 +234,9 @@ def verify_wheel(
|
||||
raise RuntimeError(
|
||||
f"{wheel} has distribution name {metadata.get('Name')}, expected {expected_distribution}"
|
||||
)
|
||||
if metadata.get("License-Expression") != "BSD-3-Clause":
|
||||
if metadata.get("License-Expression") != "MIT":
|
||||
raise RuntimeError(
|
||||
f"{wheel} has license expression {metadata.get('License-Expression')}, expected BSD-3-Clause"
|
||||
f"{wheel} has license expression {metadata.get('License-Expression')}, expected MIT"
|
||||
)
|
||||
expected_license_files = ["LICENSE"] if package == "sdk" else ["LICENSE", "THIRD_PARTY_NOTICES.md"]
|
||||
license_files = [Path(name).name for name in metadata.get_all("License-File") or []]
|
||||
|
||||
Reference in new issue
Block a user