Adopt MIT for DSH packages

This commit is contained in:
Tianyi Cui
2026-08-13 13:07:24 +08:00
parent e5819569f4
commit c905c4694e
237 changed files with 414 additions and 258 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ version = "0.0.0.dev0"
description = "Pinned DeepSeek Harness runtime for the Python SDK"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
license = "MIT"
authors = [{ name = "DeepSeek" }]
[project.urls]
+1 -1
View File
@@ -8,7 +8,7 @@ version = "0.0.0.dev0"
description = "Python SDK for DeepSeek Harness"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
license = "MIT"
authors = [{ name = "DeepSeek" }]
dependencies = [
"pydantic>=2.12,<3",
+2
View File
@@ -77,6 +77,7 @@ def test_stage_sdk_keeps_distribution_module_and_runtime_pin_distinct(tmp_path:
pyproject = (destination / "pyproject.toml").read_text()
assert 'name = "deepseek-harness-sdk"' in pyproject
assert 'version = "1.2.3"' in pyproject
assert 'license = "MIT"' in pyproject
assert '"deepseek-harness-runtime-bin==1.2.3"' in pyproject
assert 'license-files = ["LICENSE"]' in pyproject
assert (destination / "LICENSE").read_bytes() == (ROOT / "LICENSE").read_bytes()
@@ -103,6 +104,7 @@ def test_stage_runtime_copies_platform_payload(
runtime_dir = destination / "src" / "deepseek_harness_runtime" / "runtime"
assert {path.name: path.read_bytes() for path in runtime_dir.glob("dsh-jsonrpc-agent-pkg-*")} == expected
pyproject = (destination / "pyproject.toml").read_text()
assert 'license = "MIT"' in pyproject
assert 'license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md"]' in pyproject
assert (destination / "platforms.json").read_bytes() == (
ROOT / "python" / "sdk-runtime" / "platforms.json"