feat: remove uvloop and winloop requirements

This commit is contained in:
世界观察日志
2025-10-19 11:53:30 +08:00
parent 3945eff709
commit 6c8e1086da
2 changed files with 8 additions and 24 deletions

10
main.py
View File

@@ -1,17 +1,7 @@
import asyncio
import logging
import sys
from creart import add_creator
if sys.platform in ('win32', 'cygwin', 'cli'):
import winloop
winloop.install()
else:
import uvloop
uvloop.install()
loop = asyncio.new_event_loop()
from src.logger import LoggerCreator

View File

@@ -9,29 +9,23 @@ package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
httpx = "^0.28.1"
regex = "^2025.7.34"
pydantic = "^2.7.0"
regex = "^2025.9.18"
pydantic = "^2.12.3"
loguru = "^0.7.2"
six = "^1.16.0"
lxml = "^6.0.0"
beautifulsoup4 = "^4.13.5"
lxml = "^6.0.2"
beautifulsoup4 = "^4.14.2"
m3u8 = "^6.0.0"
tenacity = "^9.1.2"
prompt-toolkit = "^3.0.43"
winloop = { version = "^0.2.1", platform = "win32" }
uvloop = [
{ version = "^0.21.0", platform = "linux" },
{ version = "^0.21.0", platform = "darwin" },
{ version = "^0.21.0", platform = "android" }
]
prompt-toolkit = "^3.0.52"
prettytable = "^3.10.0"
pyventus = "^0.7.0"
grpcio = "^1.74.0"
grpcio-tools = "^1.74.0"
grpcio = "^1.75.1"
grpcio-tools = "^1.75.1"
pywidevine = {git = "https://github.com/WorldObservationLog/pywidevine"}
creart = "^0.3.0"
mutagen = "^1.47.0"
hishel = "^0.1.3"
hishel = "^0.1.5"
async-lru = "^2.0.5"
[build-system]