Closed Kuan-Lun closed 2 months ago
感谢你留意到这个关于python版本兼容性的问题。 pillow版本 官方文档 中对此进行了详细的说明:
而 python status 为:
目前版本python 3.10+ pillow 9.2.0这个组合的确过于局限了。
我认为应该扩大兼容范围,提升pillow版本到 >=10.1 来兼容 python 3.10-3.13
個人是建議使用 setuptools 的 step.py 撰寫相依套件,這可以做比較細節的環境處理。
setup.py只是一种传统的使用python代码来定义python项目依赖构建的方式,和目前这个项目在用的 *.toml配置并没有太本质的区别。
暂时不会花太多精力来处理这个依赖更新的问题。目前仅更新pillow到 >=10.1
bs4==0.0.1
demjson3==3.0.5
EbookLib==0.17.1
fake-useragent==1.1.1
requests==2.28.1
rich==12.5.1
uuid==1.30
pillow==10.1.0 <---------------
inquirer==3.1.2
aiofiles==23.1.0
aiohttp==3.8.4
dynaconf==3.2.3
brotli==1.1.0
lxml==4.9.2
tabulate==0.9.0
DrissionPage==4.0.4.5
selenium==4.17.2
esprima==4.0.1
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 0 days.
This issue was closed because it has been stalled for 0 days with no activity.
Describe the bug(描述这个BUG) A clear and concise description of what the bug is. 如目前要求使用的 pillow 版本 9.2.0 並不運作於 Python 3.12,需要使用 10 以上版本。 (還有 lxml 等套件也有同樣的問題)
Expected behavior(期望的行为) A clear and concise description of what you expected to happen.
於說明文件添加 Python 版本的限制,或將 requirements.txt 內的 == 改為 >=。
個人是建議使用 setuptools 的 step.py 撰寫相依套件,這可以做比較細節的環境處理。