dnscms: migrate to uv, remove wagtail-wordpress-import dependency

This commit is contained in:
2025-07-21 03:52:30 +02:00
parent 90f658a77e
commit a7bbc0730d
13 changed files with 695 additions and 1272 deletions

View File

@@ -1,23 +1,29 @@
[tool.poetry]
[project]
name = "dnscms"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
authors = [{ name = "EDB", email = "edb@neuf.no" }]
requires-python = ">=3.12, <3.13"
readme = "README.md"
package-mode = false
dependencies = [
"wagtail>=6.1.3,<7",
"django>=5.0.7,<6",
"wagtail-grapple>=0.26.0,<0.27",
"psycopg2-binary>=2.9.10,<3",
"django-extensions>=3.2.3,<4",
"whitenoise>=6.7.0,<7",
"gunicorn>=23.0.0",
]
[tool.poetry.dependencies]
python = "^3.12"
wagtail = "^6.1.3"
django = "^5.0.7"
wagtail-grapple = "^0.26.0"
psycopg2-binary = "^2.9.9"
django-extensions = "^3.2.3"
wagtail-wordpress-import = { git = "https://github.com/ponas/wagtail-wordpress-import.git", branch = "make-it-work" }
whitenoise = "^6.7.0"
[dependency-groups]
dev = ["ruff"]
[tool.poetry.group.dev.dependencies]
ruff = "*"
[tool.uv]
package = false
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 99
@@ -26,7 +32,3 @@ line-length = 99
select = ["F", "E", "W", "Q", "UP", "DJ"]
ignore = []
exclude = ["**/migrations/*.py"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"