chore(deps): 为Windows专有依赖添加平台标记

- pywin32/pymem 增加 sys_platform == 'win32' marker,避免非Windows环境安装失败

- 同步更新 uv.lock
This commit is contained in:
2977094657
2025-12-17 16:59:10 +08:00
parent dc974b1752
commit 1583c28ebe
2 changed files with 6 additions and 6 deletions

View File

@@ -12,13 +12,13 @@ dependencies = [
"aiofiles>=23.2.1", "aiofiles>=23.2.1",
"pathlib>=1.0.1", "pathlib>=1.0.1",
"typing-extensions>=4.8.0", "typing-extensions>=4.8.0",
"pywin32>=310", "pywin32>=310; sys_platform == 'win32'",
"psutil>=7.0.0", "psutil>=7.0.0",
"pycryptodome>=3.23.0", "pycryptodome>=3.23.0",
"requests>=2.32.4", "requests>=2.32.4",
"loguru>=0.7.0", "loguru>=0.7.0",
"zstandard>=0.23.0", "zstandard>=0.23.0",
"pymem>=1.14.0", "pymem>=1.14.0; sys_platform == 'win32'",
"yara-python>=4.5.4", "yara-python>=4.5.4",
"pilk>=0.2.4", "pilk>=0.2.4",
] ]

8
uv.lock generated
View File

@@ -760,9 +760,9 @@ dependencies = [
{ name = "pilk" }, { name = "pilk" },
{ name = "psutil" }, { name = "psutil" },
{ name = "pycryptodome" }, { name = "pycryptodome" },
{ name = "pymem" }, { name = "pymem", marker = "sys_platform == 'win32'" },
{ name = "python-multipart" }, { name = "python-multipart" },
{ name = "pywin32" }, { name = "pywin32", marker = "sys_platform == 'win32'" },
{ name = "requests" }, { name = "requests" },
{ name = "typing-extensions" }, { name = "typing-extensions" },
{ name = "uvicorn", extra = ["standard"] }, { name = "uvicorn", extra = ["standard"] },
@@ -780,9 +780,9 @@ requires-dist = [
{ name = "pilk", specifier = ">=0.2.4" }, { name = "pilk", specifier = ">=0.2.4" },
{ name = "psutil", specifier = ">=7.0.0" }, { name = "psutil", specifier = ">=7.0.0" },
{ name = "pycryptodome", specifier = ">=3.23.0" }, { name = "pycryptodome", specifier = ">=3.23.0" },
{ name = "pymem", specifier = ">=1.14.0" }, { name = "pymem", marker = "sys_platform == 'win32'", specifier = ">=1.14.0" },
{ name = "python-multipart", specifier = ">=0.0.6" }, { name = "python-multipart", specifier = ">=0.0.6" },
{ name = "pywin32", specifier = ">=310" }, { name = "pywin32", marker = "sys_platform == 'win32'", specifier = ">=310" },
{ name = "requests", specifier = ">=2.32.4" }, { name = "requests", specifier = ">=2.32.4" },
{ name = "typing-extensions", specifier = ">=4.8.0" }, { name = "typing-extensions", specifier = ">=4.8.0" },
{ name = "uvicorn", extras = ["standard"], specifier = ">=0.24.0" }, { name = "uvicorn", extras = ["standard"], specifier = ">=0.24.0" },