Switch from poetry to uv
Django CI/CD / build-and-push (push) Has been cancelled
Django CI/CD / test (push) Has been cancelled

This commit is contained in:
2026-01-27 19:59:52 +01:00
parent 2bc2d98f88
commit 92d63393f9
6 changed files with 1192 additions and 1643 deletions
+48 -36
View File
@@ -1,46 +1,58 @@
[tool.poetry]
[project]
name = "timetracker"
version = "1.6.0"
description = "A simple time tracker."
authors = ["Lukáš Kucharczyk <lukas@kucharczyk.xyz>"]
license = "GPL"
authors = [{ name = "Lukáš Kucharczyk", email = "lukas@kucharczyk.xyz" }]
requires-python = ">=3.11,<4"
readme = "README.md"
packages = [{include = "timetracker"}]
license = "AGPL-3.0-or-later"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"django>=5.0.6,<6",
"gunicorn>=23.0.0,<24",
"uvicorn>=0.30.1,<0.31",
"graphene-django>=3.2.0,<4",
"django-htmx>=1.18.0,<2",
"django-template-partials>=24.2,<25",
"markdown>=3.6,<4",
"django-cotton>=1.2.1,<2",
"django-q2>=1.7.4,<2",
"croniter>=5.0.1,<6",
"requests>=2.32.3,<3",
"pyyaml>=6.0.2,<7",
"django-ninja>=1.3.0,<2",
]
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.1"
pyyaml = "^6.0.1"
pytest = "^8.2.2"
django-extensions = "^3.2.3"
djhtml = "^3.0.6"
djlint = "^1.34.1"
isort = "^5.13.2"
pre-commit = "^3.7.1"
django-debug-toolbar = "^4.4.2"
[project.scripts]
timetracker-import = "common.import_data:import_from_file"
[dependency-groups]
dev = [
"mypy>=1.10.1,<2",
"pyyaml>=6.0.1,<7",
"pytest>=8.2.2,<9",
"django-extensions>=3.2.3,<4",
"djhtml>=3.0.6,<4",
"djlint>=1.34.1,<2",
"isort>=5.13.2,<6",
"pre-commit>=3.7.1,<4",
"django-debug-toolbar>=4.4.2,<5",
]
[tool.poetry.dependencies]
python = "^3.11"
django = "^5.0.6"
gunicorn = "^23.0.0"
uvicorn = "^0.30.1"
graphene-django = "^3.2.0"
django-htmx = "^1.18.0"
django-template-partials = "^24.2"
markdown = "^3.6"
django-cotton = "^1.2.1"
[tool.uv]
django-q2 = "^1.7.4"
croniter = "^5.0.1"
requests = "^2.32.3"
pyyaml = "^6.0.2"
django-ninja = "^1.3.0"
[tool.isort]
profile = "black"
[tool.uv.build-backend]
module-name = ["timetracker"]
module-root = ""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
timetracker-import = "common.import_data:import_from_file"
requires = ["uv_build>=0.9.26,<0.10.0"]
build-backend = "uv_build"
[tool.isort]
profile = "black"