From b66eb8220193a2ad9532dabb0454733298810d21 Mon Sep 17 00:00:00 2001 From: mentatai <162378962+mentatai@users.noreply.github.com> Date: Tue, 7 Jan 2025 22:47:48 +0000 Subject: [PATCH] Fix version reading in hatch configuration Updated the hatch version configuration to use 'raw' source type instead of the default 'regex' source type. This should fix the error when trying to read the version from mentat/VERSION. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c605153e..11579548 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ dependencies = [ [tool.hatch.version] path = "mentat/VERSION" +source = "raw" [tool.hatch.build.targets.wheel] packages = ["mentat", "benchmarks"]