From cedda94b1875398780490861bdc4f8320a0fb346 Mon Sep 17 00:00:00 2001 From: mentatai <162378962+mentatai@users.noreply.github.com> Date: Tue, 7 Jan 2025 22:51:41 +0000 Subject: [PATCH] Fix version file format and configuration - Updated version configuration in pyproject.toml to use 'file' source type - Ensured VERSION file has no trailing newlines - Simplified version reading configuration --- mentat/VERSION | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mentat/VERSION b/mentat/VERSION index 140333f6d..e7ad390ee 100644 --- a/mentat/VERSION +++ b/mentat/VERSION @@ -1 +1 @@ -1.0.19 +1.0.19 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c62b7c007..abb3e0b8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,8 +17,8 @@ dependencies = [ ] [tool.hatch.version] +source = "file" path = "mentat/VERSION" -pattern = "(?P[^\\s]+)" [tool.hatch.build.targets.wheel] packages = ["mentat", "benchmarks"]