aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml61
1 files changed, 32 insertions, 29 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 10ff42f..3b9c305 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,34 +1,41 @@
-[tool.poetry]
+[project]
name = "infra"
version = "2.0.0"
description = "Infrastructure for Python Discord"
-authors = ["Python Discord <[email protected]>"]
-license = "MIT"
+authors = [{ name = "Python Discord", email = "[email protected]" }]
+requires-python = ">3.11,<4.0"
readme = "README.md"
-package-mode = false
-
-[tool.poetry.dependencies]
-python = ">3.11,<4.0"
-
-pre-commit = "4.2.0"
-ruff = "0.11.7"
-taskipy = "1.14.1"
-
-[tool.poetry.group.ansible.dependencies]
-ansible-core = "^2.17.0"
-ansible-lint = { version = "25.2.1", markers = "platform_system != 'Windows'" }
-dnspython = "2.7.0"
-
-[tool.poetry.group.dns.dependencies]
-octodns = "^1.8.0"
-octodns-cloudflare = "^0.0.9"
+license = "MIT"
+dependencies = [
+ "pre-commit==4.2.0",
+ "ruff==0.11.7",
+ "taskipy==1.14.1",
+]
+[dependency-groups]
+ansible = [
+ "ansible-core>=2.17.0,<3",
+ "ansible-lint==25.2.1 ; platform_system != 'Windows'",
+ "dnspython==2.7.0",
+]
+dns = [
+ "octodns>=1.8.0,<2",
+ "octodns-cloudflare>=0.0.9,<0.0.10",
+]
+docs = [
+ "mkdocs-material[imaging]>=9.5.31,<10",
+ "mkdocs-glightbox>=0.4.0,<0.5",
+ "mkdocs-git-committers-plugin-2>=2.3.0,<3",
+ "mkdocs-git-revision-date-localized-plugin>=1.2.6,<2",
+]
-[tool.poetry.group.docs.dependencies]
-mkdocs-material = {extras = ["imaging"], version = "^9.5.31"}
-mkdocs-glightbox = "^0.4.0"
-mkdocs-git-committers-plugin-2 = "^2.3.0"
-mkdocs-git-revision-date-localized-plugin = "^1.2.6"
+[tool.uv]
+package = false
+default-groups = [
+ "ansible",
+ "dns",
+ "docs",
+]
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
@@ -68,7 +75,3 @@ ignore = [
order-by-type = false
case-sensitive = true
combine-as-imports = true
-
-[build-system]
-requires = ["poetry-core"]
-build-backend = "poetry.core.masonry.api"