From 23eaa9039ef598a763b7cc92dcdb55457bd5c882 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 11 Oct 2024 15:13:42 +0200 Subject: fix pyproject.toml so project builds, and update deps --- pyproject.toml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8c3700d..0f376ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,20 +10,20 @@ readme = "README.md" requires-python = ">=3.9" dependencies = [ - "DateTime~=5.2", - "litequeue~=0.7", + "DateTime~=5.5", + "litequeue~=0.9", "paho-mqtt~=1.6", - "psycopg~=3.1", - "python-dateutil~=2.8", - "requests~=2.31", + "psycopg~=3.2", + "python-dateutil~=2.9", + "requests~=2.32", "tzlocal~=5.2", - "urllib3<=2", # urllib3 >v2 warns about not using openssl. See https://github.com/urllib3/urllib3/issues/3020 - "xmltodict~=0.13", + "urllib3~=2.2", # urllib3 >v2 warns about not using openssl. See https://github.com/urllib3/urllib3/issues/3020 + "xmltodict~=0.14", ] [project.optional-dependencies] dev = [ - "ruff~=0.1", + "ruff~=0.6", ] esphome = [ # aioesphome requires "cryptography" "aioesphomeapi~=18.2", @@ -37,7 +37,11 @@ neohub = [ "Homepage" = "https://git.dnns.no/energyscripts/" [tool.hatch.build.targets.sdist] -include = [] +ignore-vcs = true + +[tool.hatch.build.targets.wheel] +ignore-vcs = true +only-include = [""] [tool.ruff] # https://docs.astral.sh/ruff/rules/ -- cgit v1.2.3