Files
mustafa/pyproject.toml
T
leanderandClaude Opus 5.5 4ba0bbfbdc update pillow to 13 to fix the dependabot alerts
moviepy 2.2.1 still caps pillow below 12, so override that constraint with uv until a moviepy release drops it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:17:01 +01:00

54 lines
1.2 KiB
TOML

[project]
name = "mustafa"
version = "0.1.0"
description = "UiO Gaming Discord Bot"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiohttp==3.14.*",
"dateparser==1.4.*",
"discord.py==2.7.*",
"graphviz==0.21.*",
"Japanera==2.1.*",
"mcrcon==0.7.*",
"moviepy==2.2.*",
"nltk==3.10.*",
"numpy==2.5.*",
"opencv-python==5.0.*",
"pillow==13.0.*",
"psutil==7.2.*",
"psycopg-pool==3.3.*",
"psycopg[binary]==3.3.*",
"pypandoc==1.17.*",
"pyyaml==6.0.*",
"tzdata", # This only needed if run on windows. I haven't set a version either to ensure it's up to date.
"wordcloud==1.9.*",
"yt-dlp==2026.10.21",
]
[dependency-groups]
dev = [
"pre-commit==4.7.*",
]
[tool.uv]
# moviepy 2.2.1 (latest release) caps pillow below 12, but every version below 13 has known vulnerabilities.
# moviepy's main branch has already dropped the cap, so this can be removed once a release includes it
override-dependencies = ["pillow>=13.0"]
[tool.black]
line-length = 120
[tool.isort]
atomic = true
profile = "black"
line_length = 120
force_single_line = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# Keep the rule set ruff used before v0.17 expanded its defaults
select = ["E4", "E7", "E9", "F"]