From: Edward Betts <edward@4angle.com>
Date: Tue, 25 Feb 2025 15:43:10 -0500
Subject: Replace versioningit with generated file

During the build process, we do not have the version information from
the git repository available. Use version number from debian/changelog
instead.
---
 pyproject.toml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 8603fe3..e1fbb11 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
 [build-system]
-requires = ["hatchling", "versioningit"]
+requires = ["hatchling"]
 build-backend = "hatchling.build"
 
 [project]
@@ -40,7 +40,8 @@ exclude = [
 ]
 
 [tool.hatch.version]
-source = "versioningit"
+path = "debian/changelog"
+pattern = "^\\S+\\s+\\((?P<version>[^-]+)-\\d+\\)"
 
 [tool.isort]
 profile = "black"
