diff options
author | 2025-03-02 15:53:01 +0000 | |
---|---|---|
committer | 2025-03-02 15:53:01 +0000 | |
commit | 013802e21d35b4c8bcc763594127f4c1201ec478 (patch) | |
tree | 5d6b90054b4f01cc80b5ef12b82903fd38bbeed6 /pyproject.toml | |
parent | Rename King Arthur to King Arthur The Terrible (diff) |
Migrate to uv for dependency management
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 69 |
1 files changed, 33 insertions, 36 deletions
diff --git a/pyproject.toml b/pyproject.toml index c281c37..6852238 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,40 +1,41 @@ -[tool.poetry] +[project] +authors = [ + {name = "Joe Banks", email = "[email protected]"}, + {name = "Chris Lovering", email = "[email protected]"}, +] +license = {text = "MIT"} +requires-python = "~=3.13.0" +dependencies = [ + "pydis-core==11.6.0", + "audioop-lts==0.2.1", + "beautifulsoup4==4.13.3", + "humanize==4.12.1", + "jishaku==2.6.0", + "kubernetes-asyncio==32.0.0", + "loguru==0.7.3", + "pydantic==2.10.6", + "pydantic-settings==2.8.0", + "python-freeipa==1.0.9", + "python-keycloak==5.3.1", + "sentry-sdk==2.22.0", + "tabulate[widechars]==0.9.0", + "wand==0.6.13", +] name = "king-arthur" version = "1.0.0" description = "King Arthur is a helper for the Python Discord DevOps team." -authors = ["Joe Banks <[email protected]>", "Chris Lovering <[email protected]>"] -license = "MIT" -package-mode = false - -[tool.poetry.dependencies] -python = "~=3.13.0" - -# See https://bot-core.pythondiscord.com/ for docs. -pydis-core = "11.6.0" -audioop-lts = "0.2.1" -beautifulsoup4 = "4.13.3" -humanize = "4.12.1" -jishaku = "2.6.0" -kubernetes_asyncio = "32.0.0" -loguru = "0.7.3" -pydantic = "2.10.6" -pydantic-settings = "2.8.0" -python-freeipa = "1.0.9" -python-keycloak = "5.3.1" -sentry-sdk = "2.22.0" -tabulate = { extras = ["widechars"], version = "0.9.0" } -wand = "0.6.13" - -[tool.poetry.dev-dependencies] -pre-commit = "4.1.0" -ruff = "0.9.6" -taskipy = "1.14.1" +[dependency-groups] +dev = [ + "pre-commit==4.1.0", + "ruff==0.9.6", + "taskipy==1.14.1", +] -[tool.poetry.group.ldap] -optional = true -[tool.poetry.group.ldap.dependencies] -bonsai = "^1.5.3" +[project.optional-dependencies] +ldap = [ + "bonsai<2.0.0,>=1.5.3", +] [tool.taskipy.tasks] start = "python -m arthur" @@ -42,10 +43,6 @@ lint = "pre-commit run --all-files" format = "ruff format arthur" precommit = "pre-commit install" -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" - [tool.ruff] target-version = "py313" extend-exclude = [".cache"] |