From dde12af85ed0b878486baa77d1180d512e33beda Mon Sep 17 00:00:00 2001 From: Harry Dempsey <101311642+H-Dempsey@users.noreply.github.com> Date: Wed, 13 Dec 2023 14:02:02 +1100 Subject: [PATCH 1/2] Update pyproject.toml There is a breaking change with hatchling>=1.19.0 (https://github.com/pypa/hatch/issues/1130). This commit keeps hatchling at 1.18.0. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 26855c1..622073f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling==1.18.0"] build-backend = "hatchling.build" [tool.hatch.metadata] From 2fe60f2186409e901f6687e1624169727ba25fcb Mon Sep 17 00:00:00 2001 From: Harry Dempsey <101311642+H-Dempsey@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:07:39 +1100 Subject: [PATCH 2/2] Update pyproject.toml This allows the latest version of hatchling to work on this project. An error is raised is there are no file selection options. I have added in the file selection options. https://github.com/pypa/hatch/releases/tag/hatchling-v1.19.0 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 622073f..a72f233 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling==1.18.0"] +requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.metadata] @@ -47,6 +47,8 @@ dependencies = [ 'pyqtdarktheme', ] +[tool.hatch.build.targets.wheel] +packages = ["cutie"] [project.urls] "Homepage" = "https://github.com/hkchengrex/Cutie"