Skip to content

Commit 27fa753

Browse files
committed
Fix: CI エラーを修正
1 parent 29bed35 commit 27fa753

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/generate_licenses.py

+4
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ def generate_licenses() -> list[License]:
128128
elif package_name == "pyproject_hooks":
129129
text_url = "https://raw.githubusercontent.com/pypa/pyproject-hooks/v1.1.0/LICENSE" # noqa: B950
130130
license_json["LicenseText"] = get_license_text(text_url)
131+
elif package_name == "pywin32":
132+
continue # ライセンスファイルがリポジトリにない
131133
elif package_name == "safetensors":
132134
text_url = "https://raw.githubusercontent.com/huggingface/safetensors/v0.4.3/LICENSE" # noqa: B950
133135
license_json["LicenseText"] = get_license_text(text_url)
@@ -146,6 +148,8 @@ def generate_licenses() -> list[License]:
146148
elif package_name == "types-pyyaml":
147149
text_url = "https://raw.githubusercontent.com/python/typeshed/57f3dcac8dbed008479b251512975901a0206deb/LICENSE" # noqa: B950
148150
license_json["LicenseText"] = get_license_text(text_url)
151+
elif package_name == "wmi":
152+
continue # ライセンスファイルがリポジトリにない
149153
else:
150154
# ライセンスがpypiに無い
151155
raise Exception(f"No License info provided for {package_name}")

0 commit comments

Comments
 (0)