diff options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 88 |
1 files changed, 43 insertions, 45 deletions
diff --git a/pyproject.toml b/pyproject.toml index 4c32ae488..082f4cf66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,52 +1,50 @@ -[tool.poetry] +[project] +authors = [ + {name = "Python Discord", email = "[email protected]"}, +] +license = {text = "MIT"} +requires-python = "==3.13.*" +dependencies = [ + "pydis-core[all]==11.6.1", + "aiohttp==3.12.14", + "arrow==1.3.0", + "beautifulsoup4==4.12.3", + "colorama==0.4.6; sys_platform == \"win32\"", + "coloredlogs==15.0.1", + "deepdiff==8.5.0", + "emoji==2.14.1", + "feedparser==6.0.11", + "lxml==6.0.0", + "markdownify==1.1.0", + "pydantic==2.10.6", + "pydantic-settings==2.8.1", + "python-dateutil==2.9.0.post0", + "python-frontmatter==1.1.0", + "rapidfuzz==3.12.1", + "regex==2024.11.6", + "sentry-sdk==2.22.0", + "tenacity==9.0.0", + "tldextract==5.1.3", +] name = "bot" version = "1.0.1" description = "The community bot for the Python Discord community." -authors = ["Python Discord <[email protected]>"] -license = "MIT" - -[tool.poetry.dependencies] -python = "3.12.*" - -# See https://bot-core.pythondiscord.com/ for docs. -pydis_core = { version = "11.6.0", extras = ["all"] } -aiohttp = "3.11.13" -arrow = "1.3.0" -beautifulsoup4 = "4.12.3" -colorama = { version = "0.4.6", markers = "sys_platform == 'win32'" } -coloredlogs = "15.0.1" -deepdiff = "8.5.0" -emoji = "2.14.1" -feedparser = "6.0.11" -lxml = "5.3.1" -markdownify = "1.1.0" -pydantic = "2.10.6" -pydantic-settings = "2.8.1" -python-dateutil = "2.9.0.post0" -python-frontmatter = "1.1.0" -rapidfuzz = "3.12.1" -regex = "2024.11.6" -sentry-sdk = "2.22.0" -tenacity = "9.0.0" -tldextract = "5.1.3" +[tool.uv] +prerelease = "allow" -[tool.poetry.group.dev.dependencies] -coverage = "7.6.12" -httpx = "0.28.1" -pip-licenses = "5.0.0" -pre-commit = "4.1.0" -pytest = "8.3.4" -pytest-cov = "6.0.0" -pytest-subtests = "0.14.1" -pytest-xdist = "3.6.1" -ruff = "0.9.9" -taskipy = "1.14.1" - - -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +[dependency-groups] +dev = [ + "coverage==7.6.12", + "httpx==0.28.1", + "pre-commit==4.1.0", + "pytest==8.3.4", + "pytest-cov==6.0.0", + "pytest-subtests==0.14.1", + "pytest-xdist==3.6.1", + "ruff==0.9.9", + "taskipy==1.14.1", +] [tool.taskipy.tasks] start = "python -m bot" @@ -67,7 +65,7 @@ source_pkgs = ["bot"] source = ["tests"] [tool.ruff] -target-version = "py312" +target-version = "py313" extend-exclude = [".cache"] line-length = 120 output-format = "concise" |